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

Detailed Description

Structure for VST speaker mappings.


The documentation for this struct was generated from the following file:
Inheritance diagram for juce::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 Vst2::VstSpeakerConfiguration &arr)
static int32 channelSetToVstArrangementType (AudioChannelSet channels)
static void channelSetToVstArrangement (const AudioChannelSet &channels, Vst2::VstSpeakerConfiguration &result)
static const Mapping * getMappings () noexcept
static int32 getSpeakerType (AudioChannelSet::ChannelType type) noexcept

Member Functions

◆ vstArrangementTypeToChannelSet() [1/2]

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

References juce::AudioChannelSet::addChannel(), juce::AudioChannelSet::AudioChannelSet(), juce::AudioChannelSet::create5point0(), juce::AudioChannelSet::create5point1(), juce::AudioChannelSet::create6point0(), juce::AudioChannelSet::create6point0Music(), juce::AudioChannelSet::create6point1(), juce::AudioChannelSet::create6point1Music(), juce::AudioChannelSet::create7point0(), juce::AudioChannelSet::create7point0SDDS(), juce::AudioChannelSet::create7point1(), juce::AudioChannelSet::create7point1SDDS(), juce::AudioChannelSet::createLCR(), juce::AudioChannelSet::createLCRS(), juce::AudioChannelSet::createLRS(), juce::AudioChannelSet::disabled(), juce::AudioChannelSet::discreteChannels(), getMappings(), juce::AudioChannelSet::mono(), juce::AudioChannelSet::quadraphonic(), juce::AudioChannelSet::stereo(), juce::SpeakerMappings::Mapping::vst2, Vst2::vstSpeakerConfigTypeEmpty, Vst2::vstSpeakerConfigTypeLR, Vst2::vstSpeakerConfigTypeLRC, Vst2::vstSpeakerConfigTypeLRCLfeLsRs, Vst2::vstSpeakerConfigTypeLRCLfeLsRsCs, Vst2::vstSpeakerConfigTypeLRCLfeLsRsLcRc, Vst2::vstSpeakerConfigTypeLRCLfeLsRsSlSr, Vst2::vstSpeakerConfigTypeLRCLsRs, Vst2::vstSpeakerConfigTypeLRCLsRsCs, Vst2::vstSpeakerConfigTypeLRCLsRsLcRc, Vst2::vstSpeakerConfigTypeLRCLsRsSlSr, Vst2::vstSpeakerConfigTypeLRCS, Vst2::vstSpeakerConfigTypeLRLfeLsRsSlSr, Vst2::vstSpeakerConfigTypeLRLsRs, Vst2::vstSpeakerConfigTypeLRLsRsSlSr, Vst2::vstSpeakerConfigTypeLRS, and Vst2::vstSpeakerConfigTypeMono.

Referenced by vstArrangementTypeToChannelSet().

◆ vstArrangementTypeToChannelSet() [2/2]

◆ channelSetToVstArrangementType()

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

References juce::AudioChannelSet::AudioChannelSet(), juce::AudioChannelSet::create5point0(), juce::AudioChannelSet::create5point1(), juce::AudioChannelSet::create6point0(), juce::AudioChannelSet::create6point0Music(), juce::AudioChannelSet::create6point1(), juce::AudioChannelSet::create6point1Music(), juce::AudioChannelSet::create7point0(), juce::AudioChannelSet::create7point0SDDS(), juce::AudioChannelSet::create7point1(), juce::AudioChannelSet::create7point1SDDS(), juce::AudioChannelSet::createLCR(), juce::AudioChannelSet::createLCRS(), juce::AudioChannelSet::createLRS(), juce::AudioChannelSet::disabled(), getMappings(), juce::AudioChannelSet::mono(), juce::AudioChannelSet::quadraphonic(), juce::AudioChannelSet::stereo(), juce::SpeakerMappings::Mapping::vst2, Vst2::vstSpeakerConfigTypeEmpty, Vst2::vstSpeakerConfigTypeLR, Vst2::vstSpeakerConfigTypeLRC, Vst2::vstSpeakerConfigTypeLRCLfeLsRs, Vst2::vstSpeakerConfigTypeLRCLfeLsRsCs, Vst2::vstSpeakerConfigTypeLRCLfeLsRsLcRc, Vst2::vstSpeakerConfigTypeLRCLfeLsRsSlSr, Vst2::vstSpeakerConfigTypeLRCLsRs, Vst2::vstSpeakerConfigTypeLRCLsRsCs, Vst2::vstSpeakerConfigTypeLRCLsRsLcRc, Vst2::vstSpeakerConfigTypeLRCLsRsSlSr, Vst2::vstSpeakerConfigTypeLRCS, Vst2::vstSpeakerConfigTypeLRLfeLsRsSlSr, Vst2::vstSpeakerConfigTypeLRLsRs, Vst2::vstSpeakerConfigTypeLRLsRsSlSr, Vst2::vstSpeakerConfigTypeLRS, Vst2::vstSpeakerConfigTypeMono, and Vst2::vstSpeakerConfigTypeUser.

Referenced by channelSetToVstArrangement(), and juce::SpeakerMappings::VstSpeakerConfigurationHolder::VstSpeakerConfigurationHolder().

◆ channelSetToVstArrangement()

◆ getMappings()

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

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

Referenced by channelSetToVstArrangementType(), and vstArrangementTypeToChannelSet().

◆ getSpeakerType()

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

References juce::AudioChannelSet::centre, juce::AudioChannelSet::left, juce::AudioChannelSet::leftCentre, juce::AudioChannelSet::leftSurround, juce::AudioChannelSet::leftSurroundRear, juce::AudioChannelSet::LFE, juce::AudioChannelSet::LFE2, juce::AudioChannelSet::right, juce::AudioChannelSet::rightCentre, juce::AudioChannelSet::rightSurround, juce::AudioChannelSet::rightSurroundRear, juce::AudioChannelSet::surround, juce::AudioChannelSet::topFrontCentre, juce::AudioChannelSet::topFrontLeft, juce::AudioChannelSet::topFrontRight, juce::AudioChannelSet::topMiddle, juce::AudioChannelSet::topRearCentre, juce::AudioChannelSet::topRearLeft, juce::AudioChannelSet::topRearRight, Vst2::vstIndividualSpeakerTypeCentre, Vst2::vstIndividualSpeakerTypeLeft, Vst2::vstIndividualSpeakerTypeLeftCentre, Vst2::vstIndividualSpeakerTypeLeftRearSurround, Vst2::vstIndividualSpeakerTypeLeftSurround, Vst2::vstIndividualSpeakerTypeLFE, Vst2::vstIndividualSpeakerTypeLFE2, Vst2::vstIndividualSpeakerTypeRight, Vst2::vstIndividualSpeakerTypeRightCentre, Vst2::vstIndividualSpeakerTypeRightRearSurround, Vst2::vstIndividualSpeakerTypeRightSurround, Vst2::vstIndividualSpeakerTypeSurround, Vst2::vstIndividualSpeakerTypeTopFrontCentre, Vst2::vstIndividualSpeakerTypeTopFrontLeft, Vst2::vstIndividualSpeakerTypeTopFrontRight, Vst2::vstIndividualSpeakerTypeTopMiddle, Vst2::vstIndividualSpeakerTypeTopRearCentre, Vst2::vstIndividualSpeakerTypeTopRearLeft, and Vst2::vstIndividualSpeakerTypeTopRearRight.

Referenced by channelSetToVstArrangement(), and juce::SpeakerMappings::VstSpeakerConfigurationHolder::VstSpeakerConfigurationHolder().