Platforms to show: All Mac Windows Linux Cross-Platform

AVAudioChannelLayoutMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The AVAudioChannelLayout class describes the roles of a set of audio channels.
Example
Function StereoLeftFormat() As AVAudioFormatMBS
// stereo format, left channel only

dim qlayout as new QTAudioChannelLayoutMBS

dim d1 as new QTAudioChannelDescriptionMBS
dim d2 as new QTAudioChannelDescriptionMBS

d1.ChannelFlags = QTAudioChannelDescriptionMBS.kAudioChannelFlags_AllOff
d1.ChannelLabel = QTAudioChannelDescriptionMBS.kAudioChannelLabel_Discrete_3

d2.ChannelFlags = QTAudioChannelDescriptionMBS.kAudioChannelFlags_AllOff
d2.ChannelLabel = QTAudioChannelDescriptionMBS.kAudioChannelLabel_Unused

qlayout.ChannelLayoutTag = QTAudioChannelLayoutMBS.kAudioChannelLayoutTag_UseChannelDescriptions

qlayout.NumberChannelDescriptions=2
qlayout.ChannelDescriptions(0)=d1
qlayout.ChannelDescriptions(1)=d2

dim layout as new AVAudioChannelLayoutMBS(qlayout)
dim pf as new AVAudioFormatMBS(44100, layout)

Return pf
End Function

This object is a thin wrapper for the AudioChannelLayout structure.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:


The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVAudioBufferMBS   -   AVAudioComponentDescriptionMBS


The biggest plugin in space...