Re: AudioOutputUnit: non-default output?
Re: AudioOutputUnit: non-default output?
- Subject: Re: AudioOutputUnit: non-default output?
- From: Bill Stewart <email@hidden>
- Date: Fri, 6 Jun 2003 18:51:16 -0700
Use the 'ahal' output unit - it has a which device to track property
and then it works exactly the same as the default output unit (except
of course that it is explicitly attached to that device and won't float
around to different devices)
You can't do that with the default output unit, it will track any
device changes back to the default
Bill
On Friday, June 6, 2003, at 12: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...
Brian Willoughby
Sound Consulting
_______________________________________________
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.