Platforms to show: All Mac Windows Linux Cross-Platform

Back to CoreAudioPlayerMBS class.

CoreAudioPlayerMBS.HadUnderflow as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
A flag set if a data underflow was found while NoUnderflow is true.

You may want to set this to false after your application recovered from a data underflow.
(Read and Write property)

CoreAudioPlayerMBS.IsRunning as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the class is playing something.

Returns true while playing.
(Read only property)

CoreAudioPlayerMBS.NoUnderflow as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether underflows should be prevented.

If no audio data is there and NoUnderflow=true, the flag HadUnderflow is set to true and 0 values (Silence) is played.

Switching from sound to no sound and back may add some noise.
(Read and Write property)

CoreAudioPlayerMBS.NumberOfChannels as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of output channels.

Currently only 1 (default) and 2 are supported.
(Read and Write property)

CoreAudioPlayerMBS.OutputDeviceID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 5.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The output device to use.

0 for the default output device.
If you set this property to a bad value you risk a crash.
(Read and Write property)

CoreAudioPlayerMBS.OutputPosition as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The current position in the playing stream.

May point between samples.
(Read only property)

CoreAudioPlayerMBS.OutputPositionRelative as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The current position in the playing buffer.

May point between samples.
Will reset to 0 when a new buffer is used.
(Read only property)

CoreAudioPlayerMBS.SampleRate as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The sample rate to use.

You can use any value between 4000 and 100000.
Default is 44100 Hz.
(Read and Write property)

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


The biggest plugin in space...