Platforms to show: All Mac Windows Linux Cross-Platform
AVAudioFormatMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Instances of this class are immutable.
- 8 properties
- property channelCount as Integer
- property channelLayout as AVAudioChannelLayoutMBS
- property commonFormat as Integer
- property Handle as Integer
- property Interleaved as Boolean
- property sampleRate as Double
- property settings as Dictionary
- property Standard as Boolean
- 6 methods
- method Constructor(format as Integer, sampleRate as Double, channels as Integer, interleaved as Boolean)
- method Constructor(format as Integer, sampleRate as Double, interleaved as Boolean, layout as AVAudioChannelLayoutMBS)
- method Constructor(sampleRate as Double, channels as Integer)
- method Constructor(sampleRate as Double, layout as AVAudioChannelLayoutMBS)
- method Constructor(Settings as Dictionary)
- method isEqual(other as AVAudioFormatMBS) as boolean
- shared method available as boolean
- 5 constants
Common audio formats
Constant | Value | Description |
---|---|---|
AVAudioOtherFormat | 0 |
A format which is not 16/32bit integer or 32/64bit float. |
AVAudioPCMFormatFloat32 | 1 |
Native-endian floats. This is the standard format. |
AVAudioPCMFormatFloat64 | 2 |
Native-endian doubles. |
AVAudioPCMFormatInt16 | 3 |
Signed 16-bit native-endian integers. |
AVAudioPCMFormatInt32 | 4 |
Signed 32-bit native-endian integers. |
This class has no sub classes.
Some methods using this class:
- AVAudioEngineMBS.connect(node1 as AVAudioNodeMBS, node2 as AVAudioNodeMBS, bus1 as Integer, bus2 as Integer, format as AVAudioFormatMBS)
- AVAudioEngineMBS.connect(node1 as AVAudioNodeMBS, node2 as AVAudioNodeMBS, format as AVAudioFormatMBS)
- AVAudioEngineMBS.enableManualRenderingMode(mode as Integer, pcmFormat as AVAudioFormatMBS, maximumFrameCount as UInt32, byref error as NSErrorMBS) as Boolean
- AVAudioNodeMBS.inputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- AVAudioNodeMBS.installTapOnBus(busIndex as Integer, bufferSize as UInt32 = 0, format as AVAudioFormatMBS = nil, tag as Variant = nil)
- AVAudioNodeMBS.outputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- AVAudioPCMBufferMBS.Constructor(format as AVAudioFormatMBS, frameCapacity as Integer)
Some properties using for this class:
- AVAudioBufferMBS.format as AVAudioFormatMBS
- AVAudioEngineMBS.manualRenderingFormat as AVAudioFormatMBS
- AVAudioFileMBS.fileFormat as AVAudioFormatMBS
- AVAudioFileMBS.processingFormat as AVAudioFormatMBS
Some events using this class:
- AVAudioNodeMBS.Tap(bus as Integer, bufferSize as UInt32, format as AVAudioFormatMBS, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, tag as Variant)
Some examples using this class:
- /AVFoundation/AVAudioEngine manual rendering
- /AVFoundation/AVAudioEngine/Player
- /AVFoundation/AVAudioEngine/Player with AudioUnit for Level Meter
- /AVFoundation/AVAudioEngine/Show Samples
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVAudioFileMBS - AVAudioInputNodeMBS