Platforms to show: All Mac Windows Linux Cross-Platform

Back to AudioPlayThruMBS class.

AudioPlayThruMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The constructor.
Example
dim a as AudioPlayThruMBS
a=new AudioPlayThruMBS

Does nothing.
Only useful if you want to create an object, set the buffersize and call Init after that.

See also:

AudioPlayThruMBS.Constructor(InputDeviceID as Integer, OutputDeviceID as Integer, BufferSizeWish as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The constructor.
Example
dim InputDeviceID,OutputDeviceID as Integer
// get device IDs
dim a as AudioPlayThruMBS

a=new AudioPlayThruMBS(InputDeviceID, OutputDeviceID)

Calls Init method behind scenes with default buffer size.
Lasterror is set.
Device IDs are the IDs you get in the CoreAudio classes.
BufferSizeWish is the buffer size you prefer to use. If value is too small the default value will be used.

See also:

AudioPlayThruMBS.Init(InputDeviceID as Integer, OutputDeviceID as Integer, BufferSizeWish as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Initializes the engine behind this class.
Example
dim InputDeviceID as Integer
dim OutputDeviceID as Integer
// get device IDs

dim a as AudioPlayThruMBS
a=new AudioPlayThruMBS
a.Init(InputDeviceID, OutputDeviceID)

Lasterror is set.
Device IDs are the IDs you get in the CoreAudio classes.
Can be used to set the buffersize before calling this method.

AudioPlayThruMBS.IsRunning as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether playthrough is active.

AudioPlayThruMBS.SetInputDeviceAsCurrent(DeviceID as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets input device.

Device IDs are the IDs you get in the CoreAudio classes.

AudioPlayThruMBS.SetOutputDeviceAsCurrent(DeviceID as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets output device.

Lasterror is set.
Device IDs are the IDs you get in the CoreAudio classes.

AudioPlayThruMBS.Start

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Starts playing.

Lasterror is set.

AudioPlayThruMBS.Stop

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreAudio MBS MacOSX Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Stops playing.

Lasterror is set.

AudioPlayThruMBS.Volume as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreAudio MBS MacOSX Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Get or set the volume of the output audio unit.

Lasterror is set.
Range is from 0.0 to 1.0.
(Read and Write computed property)

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


The biggest plugin in space...