LMMS
Loading...
Searching...
No Matches
juce::SpeakerMappings Struct Reference

#include <juce_VSTCommon.h>

Inheritance diagram for juce::SpeakerMappings:
juce::AudioChannelSet

Classes

struct  Mapping
class  VstSpeakerConfigurationHolder

Static Public Member Functions

static AudioChannelSet vstArrangementTypeToChannelSet (int32 arr, int fallbackNumChannels)
static AudioChannelSet vstArrangementTypeToChannelSet (const Vst2::VstSpeakerConfiguration &arr)
static int32 channelSetToVstArrangementType (AudioChannelSet channels)
static void channelSetToVstArrangement (const AudioChannelSet &channels, Vst2::VstSpeakerConfiguration &result)
static const MappinggetMappings () noexcept
static int32 getSpeakerType (AudioChannelSet::ChannelType type) noexcept

Additional Inherited Members

Private Types inherited from juce::AudioChannelSet
enum  ChannelType {
  unknown = 0 , left = 1 , right = 2 , centre = 3 ,
  LFE = 4 , leftSurround = 5 , rightSurround = 6 , leftCentre = 7 ,
  rightCentre = 8 , centreSurround = 9 , surround = centreSurround , leftSurroundSide = 10 ,
  rightSurroundSide = 11 , topMiddle = 12 , topFrontLeft = 13 , topFrontCentre = 14 ,
  topFrontRight = 15 , topRearLeft = 16 , topRearCentre = 17 , topRearRight = 18 ,
  LFE2 = 19 , leftSurroundRear = 20 , rightSurroundRear = 21 , wideLeft = 22 ,
  wideRight = 23 , topSideLeft = 28 , topSideRight = 29 , ambisonicACN0 = 24 ,
  ambisonicACN1 = 25 , ambisonicACN2 = 26 , ambisonicACN3 = 27 , ambisonicACN4 = 30 ,
  ambisonicACN5 = 31 , ambisonicACN6 = 32 , ambisonicACN7 = 33 , ambisonicACN8 = 34 ,
  ambisonicACN9 = 35 , ambisonicACN10 = 36 , ambisonicACN11 = 37 , ambisonicACN12 = 38 ,
  ambisonicACN13 = 39 , ambisonicACN14 = 40 , ambisonicACN15 = 41 , ambisonicACN16 = 42 ,
  ambisonicACN17 = 43 , ambisonicACN18 = 44 , ambisonicACN19 = 45 , ambisonicACN20 = 46 ,
  ambisonicACN21 = 47 , ambisonicACN22 = 48 , ambisonicACN23 = 49 , ambisonicACN24 = 50 ,
  ambisonicACN25 = 51 , ambisonicACN26 = 52 , ambisonicACN27 = 53 , ambisonicACN28 = 54 ,
  ambisonicACN29 = 55 , ambisonicACN30 = 56 , ambisonicACN31 = 57 , ambisonicACN32 = 58 ,
  ambisonicACN33 = 59 , ambisonicACN34 = 60 , ambisonicACN35 = 61 , ambisonicW = ambisonicACN0 ,
  ambisonicX = ambisonicACN3 , ambisonicY = ambisonicACN1 , ambisonicZ = ambisonicACN2 , bottomFrontLeft = 62 ,
  bottomFrontCentre = 63 , bottomFrontRight = 64 , proximityLeft = 65 , proximityRight = 66 ,
  bottomSideLeft = 67 , bottomSideRight = 68 , bottomRearLeft = 69 , bottomRearCentre = 70 ,
  bottomRearRight = 71 , discreteChannel0 = 128
}
enum  { maxChannelsOfNamedLayout = 36 }
Private Member Functions inherited from juce::AudioChannelSet
 AudioChannelSet ()=default
int getAmbisonicOrder () const
void addChannel (ChannelType newChannelType)
void removeChannel (ChannelType newChannelType)
int size () const noexcept
bool isDisabled () const noexcept
Array< ChannelTypegetChannelTypes () const
ChannelType getTypeOfChannel (int channelIndex) const noexcept
int getChannelIndexForType (ChannelType type) const noexcept
String getSpeakerArrangementAsString () const
String getDescription () const
bool isDiscreteLayout () const noexcept
void intersect (const AudioChannelSet &other)
int32 getWaveChannelMask () const noexcept
bool operator== (const AudioChannelSet &) const noexcept
bool operator!= (const AudioChannelSet &) const noexcept
bool operator< (const AudioChannelSet &) const noexcept
Static Private Member Functions inherited from juce::AudioChannelSet
static AudioChannelSet JUCE_CALLTYPE disabled ()
static AudioChannelSet JUCE_CALLTYPE mono ()
static AudioChannelSet JUCE_CALLTYPE stereo ()
static AudioChannelSet JUCE_CALLTYPE createLCR ()
static AudioChannelSet JUCE_CALLTYPE createLRS ()
static AudioChannelSet JUCE_CALLTYPE createLCRS ()
static AudioChannelSet JUCE_CALLTYPE create5point0 ()
static AudioChannelSet JUCE_CALLTYPE create5point1 ()
static AudioChannelSet JUCE_CALLTYPE create6point0 ()
static AudioChannelSet JUCE_CALLTYPE create6point1 ()
static AudioChannelSet JUCE_CALLTYPE create6point0Music ()
static AudioChannelSet JUCE_CALLTYPE create6point1Music ()
static AudioChannelSet JUCE_CALLTYPE create7point0 ()
static AudioChannelSet JUCE_CALLTYPE create7point0SDDS ()
static AudioChannelSet JUCE_CALLTYPE create7point1 ()
static AudioChannelSet JUCE_CALLTYPE create7point1SDDS ()
static AudioChannelSet JUCE_CALLTYPE create5point1point2 ()
static AudioChannelSet JUCE_CALLTYPE create5point1point4 ()
static AudioChannelSet JUCE_CALLTYPE create7point0point2 ()
static AudioChannelSet JUCE_CALLTYPE create7point1point2 ()
static AudioChannelSet JUCE_CALLTYPE create7point0point4 ()
static AudioChannelSet JUCE_CALLTYPE create7point1point4 ()
static AudioChannelSet JUCE_CALLTYPE create7point1point6 ()
static AudioChannelSet JUCE_CALLTYPE create9point1point6 ()
static AudioChannelSet JUCE_CALLTYPE quadraphonic ()
static AudioChannelSet JUCE_CALLTYPE pentagonal ()
static AudioChannelSet JUCE_CALLTYPE hexagonal ()
static AudioChannelSet JUCE_CALLTYPE octagonal ()
static AudioChannelSet JUCE_CALLTYPE ambisonic (int order=1)
static AudioChannelSet JUCE_CALLTYPE discreteChannels (int numChannels)
static AudioChannelSet JUCE_CALLTYPE canonicalChannelSet (int numChannels)
static AudioChannelSet JUCE_CALLTYPE namedChannelSet (int numChannels)
static Array< AudioChannelSet > JUCE_CALLTYPE channelSetsWithNumberOfChannels (int numChannels)
static String JUCE_CALLTYPE getChannelTypeName (ChannelType)
static String JUCE_CALLTYPE getAbbreviatedChannelTypeName (ChannelType)
static ChannelType JUCE_CALLTYPE getChannelTypeFromAbbreviation (const String &abbreviation)
static AudioChannelSet fromAbbreviatedString (const String &set)
static AudioChannelSet JUCE_CALLTYPE channelSetWithChannels (const Array< ChannelType > &)
static AudioChannelSet JUCE_CALLTYPE fromWaveChannelMask (int32 dwChannelMask)

Detailed Description

Structure for VST speaker mappings

@tags{Audio}

Member Function Documentation

◆ channelSetToVstArrangement()

void juce::SpeakerMappings::channelSetToVstArrangement ( const AudioChannelSet & channels,
Vst2::VstSpeakerConfiguration & result )
inlinestatic

◆ channelSetToVstArrangementType()

int32 juce::SpeakerMappings::channelSetToVstArrangementType ( AudioChannelSet channels)
inlinestatic

◆ getMappings()

const Mapping * juce::SpeakerMappings::getMappings ( )
inlinestaticnoexcept

◆ getSpeakerType()

int32 juce::SpeakerMappings::getSpeakerType ( AudioChannelSet::ChannelType type)
inlinestaticnoexcept

◆ vstArrangementTypeToChannelSet() [1/2]

AudioChannelSet juce::SpeakerMappings::vstArrangementTypeToChannelSet ( const Vst2::VstSpeakerConfiguration & arr)
inlinestatic

◆ vstArrangementTypeToChannelSet() [2/2]

AudioChannelSet juce::SpeakerMappings::vstArrangementTypeToChannelSet ( int32 arr,
int fallbackNumChannels )
inlinestatic

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