Re: Re. Aggregate Devices
Re: Re. Aggregate Devices
- Subject: Re: Re. Aggregate Devices
- From: Jeff Moore <email@hidden>
- Date: Wed, 24 Jun 2009 16:19:45 -0700
The rough outline of how to do it goes like this:
0) Create a CFDictionary that describes how you want your aggregate to
look. The keys for this dictionary can be found constants section of
the AudioAggregateDevice and AudioSubDevice Constants section of
<CoreAudio/AudioHardware.h>.
1) Get the AudioObjectID of the IOAudio plug-in. This involves using
kAudioHardwarePropertyPlugInForBundleID. The bundle ID you are looking
for is "com.apple.audio.CoreAudio".
2) Once you have the plug-in object, you use the property
kAudioPlugInCreateAggregateDevice, to create the new aggregate device.
Much of the details of this have been hashed out pretty well on this
list previously.
Note that if you are making a public aggregate device, the process
doing it has to have admin privileges.
On Jun 24, 2009, at 2:03 PM, Wolfgang Kundrus wrote:
Hi Jeff,
could you name a few functions to look up in the documentation ?
Thanks
Wolfgang
> Aggregate device can be created programmatically. I don't have any
> sample code for you, but there has been ample discussion of doing it
> on this list in the past.
>
>
> --
>
> Jeff Moore
> Core Audio
> Apple
>
>
> On Jun 23, 2009, at 4:43 AM, Wolfgang Kundrus wrote:
>
> > Is there a way to create an aggegate device programatically, or is
> > that function only performed by the Audio MIDI setup
application ? I
> > could find relevant information yet.
--
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