AVAudioChannelLayoutMBS methods

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

Back to AVAudioChannelLayoutMBS class.

AVAudioChannelLayoutMBS.Constructor(Layout as QTAudioChannelLayoutMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Initialize an audio channel layout object using an existing one.
Example
Function StereoFormat() As AVAudioFormatMBS
// stereo format with standard layout tag
dim qlayout as new QTAudioChannelLayoutMBS

qlayout.ChannelLayoutTag = QTAudioChannelLayoutMBS.kAudioChannelLayoutTag_Stereo

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

Return pf
End Function

If the provided audio channel layout object’s tag is kAudioChannelLayoutTag_UseChannelDescriptions, this initializer attempts to convert it to a more specific tag.

See also:

AVAudioChannelLayoutMBS.Constructor(LayoutTag as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Initialize an audio channel layout object using a layout tag.
Example
Function StereoFormat() As AVAudioFormatMBS
// stereo format with standard layout tag

dim layout as new AVAudioChannelLayoutMBS(QTAudioChannelLayoutMBS.kAudioChannelLayoutTag_Stereo)
dim pf as new AVAudioFormatMBS(44100, layout)

Return pf
End Function

See QTAudioChannelLayoutMBS class for constants.

See also:

AVAudioChannelLayoutMBS.isEqual(other as AVAudioChannelLayoutMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Determines whether another audio channel layout is exactly equal to this layout.

other: The AVAudioChannelLayout object to compare against.

Returns true if they are equal; otherwise false.

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


💬 Ask a question or report a problem