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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.