Classes | Static Public Member Functions | List of all members
SpeakerMappings Struct Reference

Structure for VST speaker mappings. More...

Inheritance diagram for SpeakerMappings:

Classes

struct  Mapping
 Structure describing a mapping. More...
 
class  VstSpeakerConfigurationHolder
 Class to hold a speaker configuration. More...
 

Static Public Member Functions

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

Detailed Description

Structure for VST speaker mappings.

Member Function Documentation

◆ vstArrangementTypeToChannelSet() [1/2]

static AudioChannelSet SpeakerMappings::vstArrangementTypeToChannelSet ( int32  arr,
int  fallbackNumChannels 
)
static

◆ vstArrangementTypeToChannelSet() [2/2]

static AudioChannelSet SpeakerMappings::vstArrangementTypeToChannelSet ( const VstSpeakerConfiguration arr)
static

◆ channelSetToVstArrangementType()

static int32 SpeakerMappings::channelSetToVstArrangementType ( AudioChannelSet  channels)
static

◆ getMappings()

static const Mapping* SpeakerMappings::getMappings ( )
staticnoexcept

References AudioChannelSet::centre, AudioChannelSet::left, AudioChannelSet::leftCentre, AudioChannelSet::leftSurround, AudioChannelSet::leftSurroundRear, AudioChannelSet::LFE, AudioChannelSet::LFE2, AudioChannelSet::right, AudioChannelSet::rightCentre, AudioChannelSet::rightSurround, AudioChannelSet::rightSurroundRear, AudioChannelSet::surround, AudioChannelSet::topFrontCentre, AudioChannelSet::topFrontLeft, AudioChannelSet::topFrontRight, AudioChannelSet::topRearLeft, AudioChannelSet::topRearRight, AudioChannelSet::unknown, vstSpeakerConfigTypeCLfe, vstSpeakerConfigTypeEmpty, vstSpeakerConfigTypeLcRc, vstSpeakerConfigTypeLR, vstSpeakerConfigTypeLRC, vstSpeakerConfigTypeLRCLfe, vstSpeakerConfigTypeLRCLfeLsRs, vstSpeakerConfigTypeLRCLfeLsRsCs, vstSpeakerConfigTypeLRCLfeLsRsCsSlSr, vstSpeakerConfigTypeLRCLfeLsRsLcRc, vstSpeakerConfigTypeLRCLfeLsRsLcRcCs, vstSpeakerConfigTypeLRCLfeLsRsSlSr, vstSpeakerConfigTypeLRCLfeLsRsTflTfcTfrTrlTrrLfe2, vstSpeakerConfigTypeLRCLfeS, vstSpeakerConfigTypeLRCLsRs, vstSpeakerConfigTypeLRCLsRsCs, vstSpeakerConfigTypeLRCLsRsCsSlSr, vstSpeakerConfigTypeLRCLsRsLcRc, vstSpeakerConfigTypeLRCLsRsLcRcCs, vstSpeakerConfigTypeLRCLsRsSlSr, vstSpeakerConfigTypeLRCS, vstSpeakerConfigTypeLRLfeLsRs, vstSpeakerConfigTypeLRLfeLsRsSlSr, vstSpeakerConfigTypeLRLfeS, vstSpeakerConfigTypeLRLsRs, vstSpeakerConfigTypeLRLsRsSlSr, vstSpeakerConfigTypeLRS, vstSpeakerConfigTypeLsRs, vstSpeakerConfigTypeMono, and vstSpeakerConfigTypeSlSr.

Referenced by channelSetToVstArrangementType(), and vstArrangementTypeToChannelSet().

◆ getSpeakerType()

static int32 SpeakerMappings::getSpeakerType ( AudioChannelSet::ChannelType  type)
staticnoexcept

◆ getChannelType()

static AudioChannelSet::ChannelType SpeakerMappings::getChannelType ( int32  type)
staticnoexcept

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