Platforms to show: All Mac Windows Linux Cross-Platform

Back to PortAudioStreamParametersMBS class.

PortAudioStreamParametersMBS.ASIOChannelSelectors(Index as Integer) 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 opening only specific channels of an ASIO device.

If the kAsioUseChannelSelectors flag is set, channelSelectors is a pointer to an array of integers specifying the device channels to use.
When used, the length of the channelSelectors array must match the corresponding channelCount parameter to OpenStream() otherwise a crash may result.
The values in the selectors array must specify channels within the range of supported channels for the device or kErrorInvalidChannelCount will result.
(Read and Write computed property)

PortAudioStreamParametersMBS.MacCoreAudioChannelMap(Index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No All
Channel map size for HAL channel mapping.
Example
Dim pasp As New PortAudioStreamParametersMBS
pasp.ChannelCount = 1 // we produce one channel
pasp.MacCoreAudioChannelMap(0) = 0 // put our mono channel on Left
pasp.MacCoreAudioChannelMap(1) = 0 // put our mono channel on Right
pasp.MacCoreAudioChannelMapSize = 2

This property is used to map input channels from an input (source) to a destination. The number of channels represented in the channel map is the number of channels of the destination. The channel map entries contain a channel number of the source that should be mapped to that destination channel. If -1 is specified, then that destination channel will not contain any channel from the source (so it will be silent)

Please set MacCoreAudioChannelMapSize to make this map to have effect.
(Read and Write computed property)

PortAudioStreamParametersMBS.WinMMEDevicesChannelCount(Index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No All
Multiple devices per direction support.

If flags contains the PaWinMmeUseMultipleDevices flag, this functionality will be used, otherwise the device parameter to OpenStream() will be used instead.
If devices are specified here, the corresponding device parameter to OpenStream() should be set to kUseHostApiSpecificDeviceSpecification, otherwise an kErrorInvalidDevice error will result.
The total number of channels accross all specified devices must agree with the corresponding channelCount parameter to OpenStream() otherwise a kErrorInvalidChannelCount error will result.

Please always set WinMMEDevicesChannelCount and WinMMEDevicesDevice together.
(Read and Write computed property)

PortAudioStreamParametersMBS.WinMMEDevicesDevice(Index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS Audio Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No All
Multiple devices per direction support.

If flags contains the PaWinMmeUseMultipleDevices flag, this functionality will be used, otherwise the device parameter to OpenStream() will be used instead.
If devices are specified here, the corresponding device parameter to OpenStream() should be set to kUseHostApiSpecificDeviceSpecification, otherwise an kErrorInvalidDevice error will result.
The total number of channels accross all specified devices must agree with the corresponding channelCount parameter to OpenStream() otherwise a kErrorInvalidChannelCount error will result.

Please always set WinMMEDevicesChannelCount and WinMMEDevicesDevice together.
(Read and Write computed property)

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


The biggest plugin in space...