Platforms to show: All Mac Windows Linux Cross-Platform

PortAudioStreamBaseMBS.Abort as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Terminates audio processing immediately without waiting for pending buffers to complete.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.AsioSetStreamSampleRate(sampleRate as double) as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 20.0 Yes Yes Yes Yes No
Function: Set the sample rate of an open ASIO stream.
Notes:
sampleRate: The new sample rate.

Note that this function may fail if the stream is alredy running and the ASIO driver does not support switching the sample rate of a running stream.

Returns kErrorIncompatibleStreamHostApi if stream is not a paASIO stream.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.Close as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Closes an audio stream.
Notes: If the audio stream is active it discards any pending buffers as if Abort() had been called.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.HostError as PortAudioHostErrorInfoMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Return information about the last host error encountered.
Notes:
This function is provided as a last resort, primarily to enhance debugging by providing clients with access to all available error information.

Returns an object constaining information about the host error. The values in this structure will only be valid if a PortAudio function has previously returned the paUnanticipatedHostError.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.Info as PortAudioStreamInfoMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Retrieve a PortAudioStreamInfoMBS object containing information about the specified stream.
Notes: If the stream parameter invalid, or an error is encountered, the function returns nil.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.Start as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Commences audio processing.
Notes:
Returns an error code.
(0 for success, -1 for no stream)

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.Stop as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Terminates audio processing.
Notes: It waits until all pending audio buffers have been played before it returns.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.UseSafeThreading as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Audio MBS Audio Plugin 7.4 Yes Yes Yes Yes No
Function: Enables or disables thread safe event handling.
Notes:
Xojo works normally only on one preemptive thread as the framework is not reentrant and not in general preemptive thread safe.
Still newer Xojo versions get better so you can switch it off and get a better performance.
For most usages you need to turn it off. See the examples. A lot of pragma lines are needed to disable everything which can slow down processing. Also you are limited in a preemptive thread to do only math and no object creating/deleting.
(Read and Write computed property)

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.WinMMEStreamInputHandle(index as Integer) as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 20.0 Yes Yes Yes Yes No
Function: Retrieve a wave in handle used by a PortAudio WinMME stream.
Notes:
handleIndex: The zero based index of the wave in handle to retrieve. This should be in the range [0, WinMMEStreamInputHandleCount-1].

Returns a valid wave in handle, or nil if an error occurred.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.WinMMEStreamInputHandleCount as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 20.0 Yes Yes Yes Yes No
Function: Retrieve the number of wave in handles used by a PortAudio WinMME stream.
Notes:
Returns zero if the stream is output only.

A non-negative value indicating the number of wave in handles or, an error code (which are always negative) if PortAudio is not initialized or an error is encountered.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.WinMMEStreamOutputHandle(index as Integer) as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 20.0 Yes Yes Yes Yes No
Function: Retrieve a wave out handle used by a PortAudio WinMME stream.
Notes:
handleIndex: The zero based index of the wave out handle to retrieve.
This should be in the range [0, WinMMEStreamOutputHandleCount - 1].

Returns a valid wave out handle, or nil if an error occurred.

Feedback, Comments & Corrections

PortAudioStreamBaseMBS.WinMMEStreamOutputHandleCount as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Audio MBS Audio Plugin 20.0 Yes Yes Yes Yes No
Function: Retrieve the number of wave out handles used by a PortAudio WinMME stream.
Notes:
Returns zero if the stream is input only.

A non-negative value indicating the number of wave out handles or, a PaErrorCode (which are always negative) if PortAudio is not initialized or an error is encountered.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Plugins