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 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 AudioChannelSet::channelSetWithChannels(), and getSpeakerLayoutForCoreAudioTag().
|
static |
Convert JUCE's AudioChannelSet to CoreAudio's AudioChannelLayoutTag.
Note that this method cannot preserve the order of channels.
References AudioChannelSet::addChannel(), coreAudioHOASN3DLayoutTag, numElementsInArray(), and AudioChannelSet::unknown.
|
static |
|
static |
Convert CoreAudio's native AudioChannelLayout to an array of JUCE ChannelTypes.
References Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::addIfNotAlreadyThere(), AudioChannelSet::discreteChannel0, AudioChannelSet::discreteChannels(), AudioChannelSet::fromWaveChannelMask(), AudioChannelSet::getChannelTypes(), getSpeakerLayoutForCoreAudioTag(), and Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::size().
Referenced by fromCoreAudio().
|
static |
References Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::add(), Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::addIfNotAlreadyThere(), AudioChannelSet::ambisonic(), AudioChannelSet::ambisonicW, AudioChannelSet::ambisonicX, AudioChannelSet::ambisonicY, AudioChannelSet::ambisonicZ, AudioChannelSet::centre, coreAudioHOASN3DLayoutTag, AudioChannelSet::discreteChannel0, AudioChannelSet::getChannelTypes(), jassert, jmax(), AudioChannelSet::left, AudioChannelSet::leftCentre, AudioChannelSet::leftSurround, AudioChannelSet::leftSurroundRear, AudioChannelSet::leftSurroundSide, AudioChannelSet::LFE, AudioChannelSet::LFE2, numElementsInArray(), AudioChannelSet::right, AudioChannelSet::rightCentre, AudioChannelSet::rightSurround, AudioChannelSet::rightSurroundRear, AudioChannelSet::rightSurroundSide, AudioChannelSet::surround, AudioChannelSet::topFrontCentre, AudioChannelSet::topFrontLeft, AudioChannelSet::topFrontRight, AudioChannelSet::topMiddle, AudioChannelSet::topRearCentre, AudioChannelSet::topRearLeft, AudioChannelSet::topRearRight, AudioChannelSet::unknown, AudioChannelSet::wideLeft, and AudioChannelSet::wideRight.
Referenced by fromCoreAudio(), and getCoreAudioLayoutChannels().