AudioHardwareCreateAggregateDevice

Function AudioHardwareCreateAggregateDevice 

Source
pub unsafe extern "C-unwind" fn AudioHardwareCreateAggregateDevice(
    in_description: &CFDictionary,
    out_device_id: NonNull<AudioObjectID>,
) -> i32
Available on crate feature AudioHardware only.
Expand description

This routine creates a new AudioAggregateDevice using the provided description.

Parameter inDescription: The CFDictionary that specifies how to build the AudioAggregateDevice. The supported keys are described in the AudioAggregateDevice Constants section.

Parameter outDeviceID: The AudioObjectID of the newly created AudioAggregateDevice.

Returns: An OSStatus indicating success or failure.

ยงSafety

  • in_description generics must be of the correct type.
  • out_device_id must be a valid pointer.