Platforms to show: All Mac Windows Linux Cross-Platform
AVAudioPCMBufferMBS class
Super class: AVAudioBufferMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes:
The PCM buffer class also provides methods useful for manipulating buffers of audio in PCM format.
Subclass of the AVAudioBufferMBS class.
- 6 properties
- property floatChannelData as Ptr
- property frameCapacity as Integer
- property frameLength as Integer
- property int16ChannelData as Ptr
- property int32ChannelData as Ptr
- property stride as Integer
- 8 methods
- method Constructor(format as AVAudioFormatMBS, frameCapacity as Integer)
- method floatChannelDataCopy(ChannelIndex as Integer) as Memoryblock
- method int16ChannelDataCopy(ChannelIndex as Integer) as Memoryblock
- method int32ChannelDataCopy(ChannelIndex as Integer) as Memoryblock
- method level(ChannelIndex as Integer) as Double
- method setFloatChannelData(ChannelIndex as Integer, Data as Memoryblock) as boolean
- method setInt16ChannelData(ChannelIndex as Integer, Data as Memoryblock) as boolean
- method setInt32ChannelData(ChannelIndex as Integer, Data as Memoryblock) as boolean
Super class AVAudioBufferMBS
- 4 properties
- property byteCapacity as UInt32
- property byteLength as UInt32
- property format as AVAudioFormatMBS
- property Handle as Integer
- 3 methods
- method Constructor Private
- method copy as AVAudioBufferMBS
- method mutableCopy as AVAudioBufferMBS
- shared method available as boolean
This class has no sub classes.
Some methods using this class:
- AVAudioEngineMBS.renderOffline(numberOfFrames as UInt32, buffer as AVAudioPCMBufferMBS, byref error as NSErrorMBS) as Integer
- AVAudioFileMBS.readIntoBuffer(buffer as AVAudioPCMBufferMBS, byref error as NSErrorMBS) as Boolean
- AVAudioFileMBS.readIntoBuffer(buffer as AVAudioPCMBufferMBS, frameCount as Integer, byref error as NSErrorMBS) as Boolean
- AVAudioFileMBS.writeFromBuffer(buffer as AVAudioPCMBufferMBS, byref error as NSErrorMBS) as Boolean
- AVAudioPlayerNodeMBS.scheduleBuffer(buffer as AVAudioPCMBufferMBS, tag as Variant = nil)
- AVAudioPlayerNodeMBS.scheduleBuffer(buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, options as Integer, tag as Variant = nil)
- AVAudioPlayerNodeMBS.scheduleBuffer(callbackType as Integer, buffer as AVAudioPCMBufferMBS, tag as Variant = nil)
- AVAudioPlayerNodeMBS.scheduleBuffer(callbackType as Integer, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, options as Integer, tag as Variant = nil)
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)
- AVAudioPlayerNodeMBS.scheduleBufferCompleted(callbackType as Integer, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, options as Integer, tag as Variant)
Some examples using this class:
- /AVFoundation/AVAudioEngine manual rendering
- /AVFoundation/AVAudioEngine/Player
- /AVFoundation/AVAudioEngine/Show Samples
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVAudioOutputNodeMBS - AVAudioPlayerMBS
