AVAudioChannelLayoutMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem