Various audio port hints.
- See also
- AudioPort::hints
◆ kAudioPortIsCV
constexpr const uint32_t kAudioPortIsCV = 0x1 |
|
staticconstexpr |
Audio port can be used as control voltage (LV2 and JACK standalone only).
◆ kAudioPortIsSidechain
constexpr const uint32_t kAudioPortIsSidechain = 0x2 |
|
staticconstexpr |
Audio port should be used as sidechan (LV2 and VST3 only). This hint should not be used with CV style ports.
- Note
- non-sidechain audio ports must exist in the plugin if this flag is set.
◆ kCVPortHasBipolarRange
constexpr const uint32_t kCVPortHasBipolarRange = 0x10 |
|
staticconstexpr |
CV port has bipolar range (-1 to +1, or -5 to +5 if scaled). This is merely a hint to tell the host what value range to expect.
◆ kCVPortHasNegativeUnipolarRange
constexpr const uint32_t kCVPortHasNegativeUnipolarRange = 0x20 |
|
staticconstexpr |
CV port has negative unipolar range (-1 to 0, or -10 to 0 if scaled). This is merely a hint to tell the host what value range to expect.
◆ kCVPortHasPositiveUnipolarRange
constexpr const uint32_t kCVPortHasPositiveUnipolarRange = 0x40 |
|
staticconstexpr |
CV port has positive unipolar range (0 to +1, or 0 to +10 if scaled). This is merely a hint to tell the host what value range to expect.
◆ kCVPortHasScaledRange
constexpr const uint32_t kCVPortHasScaledRange = 0x80 |
|
staticconstexpr |
CV port has scaled range to match real values (-5 to +5v bipolar, +/-10 to 0v unipolar). One other range flag is required if this flag is set.
When enabled, this makes the port a mod:CVPort, compatible with the MOD Devices platform.
◆ kCVPortIsOptional
constexpr const uint32_t kCVPortIsOptional = 0x100 |
|
staticconstexpr |
CV port is optional, allowing hosts that do no CV ports to load the plugin. When loaded in hosts that don't support CV, the float* buffer for this port will be null.