• 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: Creating Aggregate Devices programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Aggregate Devices programmatically


  • Subject: Re: Creating Aggregate Devices programmatically
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 25 Jul 2005 12:55:13 -0700

Creating a new aggregate device requires using the new AudioObject APIs in Tiger 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 to 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 Jul 23, 2005, at 4:54 PM, Dave Addey wrote:

Hi all,

Does anyone have any sample code showing how to create an aggregate device entirely programmatically? Or is there some particular documentation I should be looking at? Any ideas much appreciated :-)

Dave.

--

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: Creating Aggregate Devices programmatically
      • From: Dave Addey <email@hidden>
    • Re: Creating Aggregate Devices programmatically
      • From: Dave Addey <email@hidden>
References: 
 >Creating Aggregate Devices programmatically (From: Dave Addey <email@hidden>)

  • Prev by Date: Re: SPDIF audio in DVD Player
  • Next by Date: Re: core midi time stamping
  • Previous by thread: Creating Aggregate Devices programmatically
  • Next by thread: Re: Creating Aggregate Devices programmatically
  • Index(es):
    • Date
    • Thread