Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAudioFormatMBS class.

AVAudioFormatMBS.channelCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of channels of audio data.

(Read only property)

AVAudioFormatMBS.channelLayout as AVAudioChannelLayoutMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The underlying audio channel layout.

The value is the underlying AVAudioChannelLayout instance.
(Read only property)

AVAudioFormatMBS.commonFormat as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the common format identifier.

(Read only property)

AVAudioFormatMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVAudioFormatMBS.Interleaved as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Describes whether the samples are interleaved.

For non-PCM formats, this value is undefined.
(Read only property)

Some examples using this property:

AVAudioFormatMBS.sampleRate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The audio format sampling rate in hertz.

(Read only property)

AVAudioFormatMBS.settings as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The format represented as a dictionary with keys from AVAudioSettings.

Not all formats representable by an AudioStreamBasicDescription struct (the underlying implementation) can be represented in a settings dictionary; in that case, nil is returned.
(Read only property)

AVAudioFormatMBS.Standard as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Describes whether the format is deinterleaved native-endian float.

True if the format is deinterleaved native-endian float (AVAudioPCMFormatFloat32), otherwise false.
(Read only property)

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


The biggest plugin in space...