• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Aggregate device question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Aggregate device question (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: AudioUnitRender returning -10863 if no input device is present
  • Next by Date: Re: AudioUnitRender returning -10863 if no input device is present
  • Previous by thread: Aggregate device question
  • Next by thread: Re: Aggregate device question
  • Index(es):
    • Date
    • Thread