Platforms to show: All Mac Windows Linux Cross-Platform
Back to PortAudioStreamParametersMBS class.
PortAudioStreamParametersMBS.ASIOFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Can include kAsioUseChannelSelectors constant.
(Read and Write property)
PortAudioStreamParametersMBS.ChannelCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
The number of channels of sound to be delivered to the stream callback or accessed by Read() or Write(). It can range from 1 to the value of maxInputChannels in the DeviceInfo object for the device specified by the device parameter.
(Read and Write property)
PortAudioStreamParametersMBS.Device as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
A valid device index in the range 0 to (PortAudioMBS.CountDevices-1) specifying the device to be used or the special constant paUseHostApiSpecificDeviceSpecification which indicates that the actual device(s) to use are specified in hostApiSpecificStreamInfo.
This field must not be set to paNoDevice (-1).
(Read and Write property)
PortAudioStreamParametersMBS.MacCoreAudioChannelMapSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Should be number of values.
(Read and Write property)
PortAudioStreamParametersMBS.MacCoreAudioFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
PortAudioStreamParametersMBS.SampleFormat as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Constants for sample format:
const paFloat32 | = 1 |
const paInt32 | = 2 |
const paInt24 | = 4 |
const paInt16 | = 8 |
const paInt8 | = 16 |
const paUInt8 | = 32 |
const paCustomFormat | = 65536 |
const paNonInterleaved | = negative sign |
The standard formats paFloat32, paInt16, paInt32, paInt24, paInt8 and aUInt8 are usually implemented by all implementations.
The floating point representation (paFloat32) uses +1.0 and -1.0 as the maximum and minimum respectively.
paUInt8 is an unsigned 8 bit format where 128 is considered "ground"
The paNonInterleaved flag indicates that a multichannel buffer is passed as a set of non-interleaved pointers.
(Read and Write property)
PortAudioStreamParametersMBS.SuggestedLatency as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Where practical, implementations should configure their latency based on these parameters, otherwise they may choose the closest viable latency instead. Unless the suggested latency is greater than the absolute upper limit for the device implementations should round the suggestedLatency up to the next practial value - ie to provide an equal or higher latency than suggestedLatency wherever possibe.
Actual latency values for an open stream may be retrieved using the inputLatency and outputLatency fields of the PortAudioStreamInfoMBS object returned by PortAudioStreamMBS.Info().
(Read and Write property)
Some examples using this property:
PortAudioStreamParametersMBS.WASChannelMask as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
If flags contains kWinWasapiUseChannelMask this allows you to specify which speakers to address in a multichannel stream. Will be used only if kWinWasapiUseChannelMask flag is specified.
See kWinChannelMask* constants.
(Read and Write property)
PortAudioStreamParametersMBS.WASFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Can be e.g. kWinWasapiUseChannelMask to use channel mask.
(Read and Write property)
PortAudioStreamParametersMBS.WASStreamCategory as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
See constants.
(Read and Write property)
PortAudioStreamParametersMBS.WASStreamOption as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
See constants.
(Read and Write property)
PortAudioStreamParametersMBS.WASThreadPriority as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Please note, if Input/Output streams are opened simultaniously (Full-Duplex mode) you shall specify same value for threadPriority or othervise one of the values will be used to setup thread priority.
(Read and Write property)
PortAudioStreamParametersMBS.WinDirectSoundChannelMask as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
support for WAVEFORMATEXTENSIBLE channel masks. If flags contains kWinDirectSoundUseChannelMask this allows you to specify which speakers to address in a multichannel stream.
See kWinChannelMask* constants.
(Read and Write property)
PortAudioStreamParametersMBS.WinDirectSoundFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Enable other features of this parameters.
(Read and Write property)
PortAudioStreamParametersMBS.WinDirectSoundFramesPerBuffer as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Sets the size of the DirectSound host buffer.
When flags contains the kWinDirectSoundUseLowLevelLatencyParameters this size will be used instead of interpreting the generic latency parameters to Pa_OpenStream(). If the flag is not set this value is ignored.
If the stream is a full duplex stream the implementation requires that the values of framesPerBuffer for input and output match (if both are specified).
(Read and Write property)
PortAudioStreamParametersMBS.WinMMEBufferCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
PortAudioStreamParametersMBS.WinMMEChannelMask as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Support for WAVEFORMATEXTENSIBLE channel masks. If flags contains kWinMmeUseChannelMask this allows you to specify which speakers to address in a multichannel stream.
See kWinChannelMask* constants.
(Read and Write property)
PortAudioStreamParametersMBS.WinMMEDeviceCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
PortAudioStreamParametersMBS.WinMMEFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
PortAudioStreamParametersMBS.WinMMEFramesPerBuffer as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
These settings control the number and size of host buffers in order to set latency. They will be used instead of the generic parameters to OpenStream() if flags contains the kWinMmeUseLowLevelLatencyParameters flag.
If PortAudioStreamParametersMBS object with kWinMmeUseLowLevelLatencyParameters are supplied for both input and output in a full duplex stream, then the input and output framesPerBuffer must be the same, or the larger of the two must be a multiple of the smaller, otherwise a kErrorIncompatibleHostApiSpecificStreamInfo error will be returned from OpenStream().
(Read and Write property)
PortAudioStreamParametersMBS.WinWDMKSChannelMask as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
If kWinWDMKSUseGivenChannelMask bit is set in flags, use this as channelMask instead of default.
See kWinChannelMask* constants.
(Read and Write property)
PortAudioStreamParametersMBS.WinWDMKSFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
PortAudioStreamParametersMBS.WinWDMKSNoOfPackets as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS Audio Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Set to zero for default value of 2.
(Read and Write property)
The items on this page are in the following plugins: MBS Audio Plugin.