JUCE
Loading...
Searching...
No Matches
SpeakerMappings Struct Reference

Structure for VST speaker mappings. More...

#include <juce_VSTCommon.h>

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 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

Detailed Description

Structure for VST speaker mappings.

Member Function Documentation

◆ vstArrangementTypeToChannelSet() [1/2]

◆ vstArrangementTypeToChannelSet() [2/2]

◆ channelSetToVstArrangementType()

◆ channelSetToVstArrangement()

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

◆ getMappings()

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, 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 SpeakerMappings::getSpeakerType ( AudioChannelSet::ChannelType type)
staticnoexcept

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