Re: AudioOutputUnit: non-default output?
Re: AudioOutputUnit: non-default output?
- Subject: Re: AudioOutputUnit: non-default output?
- From: David Duncan <email@hidden>
- Date: Sun, 8 Jun 2003 16:13:00 -0400
On Friday, June 6, 2003, at 03:35 PM, Brian Willoughby wrote:
Is it possible to use Apple's AudioOutputUnit with an AudioDevice
other than
DefaultAudioOutput or SystemDefaultAudioOutput?
Would it work to simply start out by calling OpenDefaultAudioOutput()
and then
set the kAudioUnitProperty_CurrentDevice to something different? ...
or is
there another way to create an AudioOutputUnit and set its device
manually?
I was just about ready to trade in my existing code and switch to an
AudioOutputUnit, but I realized that my CoreAudio software would then
no longer
be able to play through a different device than the same default used
by other
applications...
If you can use AudioUnits v2, there is the HALOutputUnit which can have
it's AudioDevice set, otherwise you will have to install your own HAL
input proc and pull the AUGraph yourself.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
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.