Create Aggregate Device
Create Aggregate Device
- Subject: Create Aggregate Device
- From: "Christoph Teschner" <email@hidden>
- Date: Tue, 07 Mar 2006 01:21:58 +0100
Hi,
I want to create an aggregate device containing the build in and an external
device.
I am trying to do it the following way, but still struggle 2).
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.
Does anyone have some lines of code showing how to create an working
dictionary for this purpose?
Thanks
Christoph
_______________________________________________
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