• 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: automating device aggregation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automating device aggregation


  • Subject: Re: automating device aggregation
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 1 Jun 2005 17:19:15 -0700

Creating a new aggregate device requires using the new AudioObject APIs and goes something like this:
1) Locate the base plug-in using kAudioHardwarePropertyPlugInForBundleID. It has a bundle ID of "com.apple.audio.CoreAudio".
2) Create a CFDictionary that describes the aggregate device you want to create. The keys for the dictionary are in the Aggregate Device section of <CoreAudio/AudioHardware.h>. Be sure too create a unique UID.
3) Tell the base plug-in to create the aggregate device using kAudioPlugInCreateAggregateDevice.
4) Presuming success, use kAudioHardwarePropertyDeviceForUID to get the AudioDeviceID of the newly created aggregate device.


That's pretty much it. Let me know if you have any specific questions about the process.

On Jun 1, 2005, at 4:31 PM, Kevin Vanwulpen wrote:

Hi,


I would like to aggregate 2 devices which use a different driver and do that for the end-user automatically.


In other words I want to avoid the most basic end user having to go into the Audio Device Aggregator (even tough it’s very easy to use).

I did find some constants and enums related to this in AudioHardware.h but am now wondering what my application should do or can only a HAL plugin create a new AudioAggregateDevice?


Kevin

 _______________________________________________
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


--

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
  • Follow-Ups:
    • RE: automating device aggregation
      • From: "Kevin Vanwulpen" <email@hidden>
References: 
 >automating device aggregation (From: "Kevin Vanwulpen" <email@hidden>)

  • Prev by Date: automating device aggregation
  • Next by Date: RE: automating device aggregation
  • Previous by thread: automating device aggregation
  • Next by thread: RE: automating device aggregation
  • Index(es):
    • Date
    • Thread