JUCE
Public Types | Static Public Member Functions | List of all members
juce::CoreAudioLayouts Struct Reference

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
coreAudioHOASN3DLayoutTag 

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 juce::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 juce::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 juce::AudioChannelSet::addChannel(), coreAudioHOASN3DLayoutTag, juce::numElementsInArray(), and juce::AudioChannelSet::unknown.

Referenced by juce::AudioUnitHelpers::ChannelRemapper::get().

◆ getKnownCoreAudioTags()

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

◆ getCoreAudioLayoutChannels()

static Array<AudioChannelSet::ChannelType> juce::CoreAudioLayouts::getCoreAudioLayoutChannels ( const AudioChannelLayout &  layout)
static

◆ getSpeakerLayoutForCoreAudioTag()

static Array<AudioChannelSet::ChannelType> juce::CoreAudioLayouts::getSpeakerLayoutForCoreAudioTag ( AudioChannelLayoutTag  tag)
static

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