Re: Aggregate device question
Re: Aggregate device question
- Subject: Re: Aggregate device question
- From: Jeff Moore <email@hidden>
- Date: Wed, 21 Oct 2009 09:31:52 -0700
On Oct 19, 2009, at 9:49 AM, Stéphane Letz wrote:
What is the proper recommended way to know if an audio device is an
Aggregate one ?
An aggregate device's class ID is kAudioAggregateDeviceClassID.
and retrieve the Aggregate device sub-devices?
You can use one of the these device properties depending on what
specific info you are looking for:
@constant kAudioAggregateDevicePropertyFullSubDeviceList
A CFArray of CFStrings that contain the UIDs
of all the devices, active or
inactive, contained in the
AudioAggregateDevice. The order of the items in
the array is significant and is used to
determine the order of the streams
of the AudioAggregateDevice. The caller is
responsible for releasing the
returned CFObject.
@constant kAudioAggregateDevicePropertyActiveSubDeviceList
An array of AudioObjectIDs for all the active
sub-devices in the aggregate
device.
@constant kAudioAggregateDevicePropertyComposition
A CFDictionary that describes the composition
of the AudioAggregateDevice.
The keys for this CFDicitionary are defined
in the AudioAggregateDevice
Constants section. The caller is responsible
for releasing the returned
CFObject.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden