Platforms to show: All Mac Windows Linux Cross-Platform

Back to PortAudioStreamRecorderMBS class.

PortAudioStreamRecorderMBS.Buffer as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ❌ No All
Returns a memoryblock which points to the ring buffer used in the recorder object.

This memoryblock has no size.
It is only for debugging and only valid as long as the PortAudioStreamRecorderMBS object is living.
(Read only property)

PortAudioStreamRecorderMBS.BufferReadIndex as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ❌ No All
The read index inside the ring buffer.

Only for debugging.
(Read only property)

PortAudioStreamRecorderMBS.BufferSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ❌ No All
The size of the ring buffer in bytes.

(Read only property)

PortAudioStreamRecorderMBS.BufferWriteIndex as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ❌ No All
The write index inside the ring buffer.

Only for debugging.
(Read only property)

PortAudioStreamRecorderMBS.FramesAvailable as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 9.1 ✅ Yes ✅ Yes ✅ Yes ❌ No All
The number of frames available in the buffer.

FramesAvailable uses a mutex to access share data, so this call is expensive. Do not call it to decide whether to call ReadFrames. ReadFrames calls FramesAvailable itself.
(Read only property)

Some examples using this property:

PortAudioStreamRecorderMBS.NumInputChannels as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 9.1 ✅ Yes ✅ Yes ✅ Yes ❌ No All
The number of input channels used with the OpenStream function.

(Read only property)

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


The biggest plugin in space...