Platforms to show: All Mac Windows Linux Cross-Platform

Back to CoreAudioMBS class.

Previous items

CoreAudioMBS.kAudioDevicePropertyLatency as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyMute as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyNominalSampleRate as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyPlayThru as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyPlugIn as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyPreferredChannelsForStereo as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyRegisterBufferList as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySafetyOffset as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyStreamConfiguration as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyStreamFormat as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)

Some examples using this property:

CoreAudioMBS.kAudioDevicePropertyStreamFormatMatch as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyStreamFormats as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyStreamFormatSupported as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyStreams as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySubMute as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySubVolumeDecibels as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySubVolumeDecibelsToScalar as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySubVolumeRangeDecibels as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySubVolumeScalar as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySubVolumeScalarToDecibels as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertySupportsMixing as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyTransportType as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyUsesVariableBufferFrameSizes as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyVolumeDecibels as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyVolumeDecibelsToScalar as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyVolumeRangeDecibels as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyVolumeScalar as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Example:

Dim c As New CoreAudioMBS

Dim DefaultOutputDeviceMem As MemoryBlock = c.AudioHardwareGetPropertyMemory(c.kAudioHardwarePropertyDefaultOutputDevice)
Dim DefaultOutputDeviceID As Integer = DefaultOutputDeviceMem.Long(0)

Dim mem1 As MemoryBlock = c.AudioDeviceGetPropertyMemory(DefaultOutputDeviceID, 0, False, c.kAudioDevicePropertyVolumeScalar)
Dim VolumeScalar As Single = mem1.SingleValue(0)

// set volume to 50%
Dim VolumeScalar2 As Single = 0.5
Dim mem2 As New MemoryBlock(4)
mem2.SingleValue(0) = VolumeScalar2

c.AudioDeviceSetPropertyMemory(DefaultOutputDeviceID, Nil, 0, False, c.kAudioDevicePropertyVolumeScalar, mem2, 0, mem2.Size)

// now query again
Dim mem3 As MemoryBlock = c.AudioDeviceGetPropertyMemory(DefaultOutputDeviceID, 0, False, c.kAudioDevicePropertyVolumeScalar)
Dim VolumeScalar3 As Single = mem3.SingleValue(0)

Break
Notes: (Read only property)
CoreAudioMBS.kAudioDevicePropertyVolumeScalarToDecibels as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Audio MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: One of the constants for CoreAudio.
Notes: (Read only property)

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...


Start Chat