VST2SDK
A recreation of the popular Steinberg VST 2.x SDK.
Loading...
Searching...
No Matches
vst_speaker_properties_t Struct Reference

#include <vst.h>

Data Fields

float azimuth
 Azimuth in Radians Range: -PI (Left) through 0.0 (Right) to PI (Left)
 
float altitude
 Altitude in Radians Range: -PI/2 (Bottom) to PI/2 (Top)
 
float distance
 Distance in Meters range: 0 to +-Infinity.
 
float _unknown_00
 
char name [VST_BUFFER_SIZE_SPEAKER_NAME]
 Human readable name for this speaker.
 
int32_t type
 The type of the speaker.
 
uint8_t _reserved [28]
 

Detailed Description

Definition at line 391 of file vst.h.

Field Documentation

◆ _reserved

uint8_t vst_speaker_properties_t::_reserved[28]

Definition at line 431 of file vst.h.

◆ _unknown_00

float vst_speaker_properties_t::_unknown_00

Definition at line 413 of file vst.h.

◆ altitude

float vst_speaker_properties_t::altitude

Altitude in Radians Range: -PI/2 (Bottom) to PI/2 (Top)

Note
Must be 10.0 if this is a LFE.

Definition at line 404 of file vst.h.

◆ azimuth

float vst_speaker_properties_t::azimuth

Azimuth in Radians Range: -PI (Left) through 0.0 (Right) to PI (Left)

Note
Must be 10.0 if this is a LFE.

Definition at line 397 of file vst.h.

◆ distance

float vst_speaker_properties_t::distance

Distance in Meters range: 0 to +-Infinity.

Note
Must be 0.0 if this is a LFE.

Definition at line 411 of file vst.h.

◆ name

char vst_speaker_properties_t::name[VST_BUFFER_SIZE_SPEAKER_NAME]

Human readable name for this speaker.

Some hosts will behave weird if you use "L", "R", "C", "Ls", "Rs", "Lc", "Rc", "LFE", "Lfe", "Sl", "Sr", "Cs", and other 2 to 3 letter short codes. Best not to use those if you like your plug-in in a not-crashy state.

Definition at line 420 of file vst.h.

◆ type

int32_t vst_speaker_properties_t::type

The type of the speaker.

See VST_SPEAKER_TYPE

If the above is one of those short codes some host seems to overwrite this with their own. Memory safety is optional apparently.

Definition at line 429 of file vst.h.


The documentation for this struct was generated from the following file: