19#ifndef VTestA_channelformats_h
20#define VTestA_channelformats_h
22#include "pluginterfaces/vst/vsttypes.h"
44{SpeakerArr::kEmpty, SpeakerArr::kMono, SpeakerArr::kStereo, SpeakerArr::k30Cine,
45 SpeakerArr::k31Cine, SpeakerArr::k40Music, SpeakerArr::k50, SpeakerArr::k51,
46 SpeakerArr::k60Music, SpeakerArr::k61Music, SpeakerArr::k70Cine, SpeakerArr::k70Music,
47 SpeakerArr::k71Cine, SpeakerArr::k71Music, SpeakerArr::k71Proximity};
89 case SpeakerArr::kEmpty: {
92 case SpeakerArr::kMono: {
95 case SpeakerArr::kStereo: {
98 case SpeakerArr::k30Cine: {
101 case SpeakerArr::k31Cine: {
104 case SpeakerArr::k40Music: {
107 case SpeakerArr::k50: {
110 case SpeakerArr::k51: {
113 case SpeakerArr::k60Music: {
116 case SpeakerArr::k61Music: {
119 case SpeakerArr::k70Cine: {
122 case SpeakerArr::k70Music: {
125 case SpeakerArr::k71Cine: {
128 case SpeakerArr::k71Music: {
131 case SpeakerArr::k71Proximity: {
132 return kCF7p1Proximity; }
SpeakerArrangement getSupportedSpeakerArrangement(uint32_t index)
implements n-order Lagrange Interpolation
Definition: channelformats.h:67
uint32_t getChannelFormatForSpkrArrangement(SpeakerArrangement arr)
implements n-order Lagrange Interpolation
Definition: channelformats.h:85
uint32_t getNumSupportedChannelFormats()
returns number of supported channel I/O combinations
Definition: channelformats.h:55
SpeakerArrangement speakerArrangements[NUM_SUPPORTED_CHANNEL_FORMATS]
fixed array of supported VST3 speaker arrangements you can add more here if you want to support more ...
Definition: channelformats.h:43
const unsigned int NUM_SUPPORTED_CHANNEL_FORMATS
number of supported channel I/O combinations
Definition: channelformats.h:30