JUCE
|
Public Types | |
enum | { coreAudioHOASN3DLayoutTag = (190U<<16) | 0 } |
Static Public Member Functions | |
static AudioChannelSet | fromCoreAudio (const AudioChannelLayout &layout) |
Convert CoreAudio's native AudioChannelLayout to JUCE's AudioChannelSet. More... | |
static AudioChannelSet | fromCoreAudio (AudioChannelLayoutTag layoutTag) |
Convert CoreAudio's native AudioChannelLayoutTag to JUCE's AudioChannelSet. More... | |
static AudioChannelLayoutTag | toCoreAudio (const AudioChannelSet &set) |
Convert JUCE's AudioChannelSet to CoreAudio's AudioChannelLayoutTag. More... | |
static const Array< AudioChannelLayoutTag > & | getKnownCoreAudioTags () |
static Array< AudioChannelSet::ChannelType > | getCoreAudioLayoutChannels (const AudioChannelLayout &layout) |
Convert CoreAudio's native AudioChannelLayout to an array of JUCE ChannelTypes. More... | |
static Array< AudioChannelSet::ChannelType > | getSpeakerLayoutForCoreAudioTag (AudioChannelLayoutTag tag) |
|
static |
Convert CoreAudio's native AudioChannelLayout to JUCE's AudioChannelSet.
Note that this method cannot preserve the order of channels.
References juce::AudioChannelSet::channelSetWithChannels(), and getCoreAudioLayoutChannels().
|
static |
Convert CoreAudio's native AudioChannelLayoutTag to JUCE's AudioChannelSet.
Note that this method cannot preserve the order of channels.
References juce::AudioChannelSet::channelSetWithChannels(), and getSpeakerLayoutForCoreAudioTag().
|
static |
Convert JUCE's AudioChannelSet to CoreAudio's AudioChannelLayoutTag.
Note that this method cannot preserve the order of channels.
References juce::AudioChannelSet::addChannel(), coreAudioHOASN3DLayoutTag, juce::numElementsInArray(), and juce::AudioChannelSet::unknown.
Referenced by juce::AudioUnitHelpers::ChannelRemapper::get().
|
static |
|
static |
Convert CoreAudio's native AudioChannelLayout to an array of JUCE ChannelTypes.
References juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::addIfNotAlreadyThere(), juce::AudioChannelSet::discreteChannel0, juce::AudioChannelSet::discreteChannels(), juce::AudioChannelSet::fromWaveChannelMask(), juce::AudioChannelSet::getChannelTypes(), getSpeakerLayoutForCoreAudioTag(), and juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::size().
Referenced by fromCoreAudio(), and juce::AudioUnitHelpers::ChannelRemapper::get().
|
static |
References juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::add(), juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::addIfNotAlreadyThere(), juce::AudioChannelSet::ambisonic(), juce::AudioChannelSet::ambisonicW, juce::AudioChannelSet::ambisonicX, juce::AudioChannelSet::ambisonicY, juce::AudioChannelSet::ambisonicZ, juce::AudioChannelSet::centre, coreAudioHOASN3DLayoutTag, juce::AudioChannelSet::discreteChannel0, juce::AudioChannelSet::getChannelTypes(), jassert, juce::jmax(), juce::AudioChannelSet::left, juce::AudioChannelSet::leftCentre, juce::AudioChannelSet::leftSurround, juce::AudioChannelSet::leftSurroundRear, juce::AudioChannelSet::leftSurroundSide, juce::AudioChannelSet::LFE, juce::AudioChannelSet::LFE2, juce::numElementsInArray(), juce::AudioChannelSet::right, juce::AudioChannelSet::rightCentre, juce::AudioChannelSet::rightSurround, juce::AudioChannelSet::rightSurroundRear, juce::AudioChannelSet::rightSurroundSide, juce::AudioChannelSet::surround, juce::AudioChannelSet::topFrontCentre, juce::AudioChannelSet::topFrontLeft, juce::AudioChannelSet::topFrontRight, juce::AudioChannelSet::topMiddle, juce::AudioChannelSet::topRearCentre, juce::AudioChannelSet::topRearLeft, juce::AudioChannelSet::topRearRight, juce::AudioChannelSet::unknown, juce::AudioChannelSet::wideLeft, and juce::AudioChannelSet::wideRight.
Referenced by fromCoreAudio(), and getCoreAudioLayoutChannels().