Speaker properties.
More...
#include <vst.h>
|
| 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.
|
| |
| char | name [VST_BUFFER_SIZE_SPEAKER_NAME] |
| | Human readable name for this speaker.
|
| |
| int32_t | type |
| | The type of the speaker.
|
| |
Speaker properties.
Definition at line 639 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 652 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 645 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 659 of file vst.h.
◆ 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 669 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 678 of file vst.h.
The documentation for this struct was generated from the following file: