Re: AudioDeviceID -> AudioUnit
Re: AudioDeviceID -> AudioUnit
- Subject: Re: AudioDeviceID -> AudioUnit
- From: Kurt Bigler <email@hidden>
- Date: Sat, 26 Oct 2002 22:38:04 -0700
on 10/26/02 10:00 PM, Dylan Ashe <email@hidden> wrote:
>
I've have an M-Audio Delta 410 card and I'm trying to be able to write some
>
code that plays different audio snippits on its different outputs at the
>
simultaniously. So far I've been able to use the low level audio hardware
>
API's to determine the the different 410 AudioDeviceID's I have available. My
>
question is that I'd like to playback using AudioUnits instead (I've got
>
simple playback needs and don't need anything fancy). Is there anyone who
>
knows how to take an AudioDeviceID and get an AudioUnit for it?
If you mean you want to use an Apple-provided audio unit to output to this
device, then you can look at the sample code in
Developer/Examples/CoreAudio/Services/DefaultOutputUnit
provided you are willing to select your device as the current default output
device. If this restriction does not work for you, then see the recent
thread
using non-default output units
in the list archives which tells you how to modify this sample code to use
the Apple-provided output audio units for other than the default device.
-Kurt Bigler
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.