CoreAudioMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CoreAudioMBS class.

Previous items

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
One of the constants for CoreAudio.

(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
One of the constants for CoreAudio.

(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
One of the constants for CoreAudio.

(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
One of the constants for CoreAudio.

(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
One of the constants for CoreAudio.

(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
One of the constants for CoreAudio.

(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
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

(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
One of the constants for CoreAudio.

(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