juce::CoreAudioLayouts Struct Reference

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::ChannelTypegetCoreAudioLayoutChannels (const AudioChannelLayout &layout)
 Convert CoreAudio's native AudioChannelLayout to an array of JUCE ChannelTypes. More...
 
static Array< AudioChannelSet::ChannelTypegetSpeakerLayoutForCoreAudioTag (AudioChannelLayoutTag tag)
 

Member Function Documentation

◆ fromCoreAudio() [1/2]

static AudioChannelSet juce::CoreAudioLayouts::fromCoreAudio ( const AudioChannelLayout &  layout)
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().

◆ fromCoreAudio() [2/2]

static AudioChannelSet juce::CoreAudioLayouts::fromCoreAudio ( AudioChannelLayoutTag  layoutTag)
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().

◆ toCoreAudio()

static AudioChannelLayoutTag juce::CoreAudioLayouts::toCoreAudio ( const AudioChannelSet set)
static

Convert JUCE's AudioChannelSet to CoreAudio's AudioChannelLayoutTag.

Note that this method cannot preserve the order of channels.

References AudioChannelSet::addChannel(), numElementsInArray(), and AudioChannelSet::unknown.

◆ getKnownCoreAudioTags()

static const Array<AudioChannelLayoutTag>& juce::CoreAudioLayouts::getKnownCoreAudioTags ( )
static

◆ getCoreAudioLayoutChannels()

◆ getSpeakerLayoutForCoreAudioTag()


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