Simple example on swithcing output device
Simple example on swithcing output device
- Subject: Simple example on swithcing output device
- From: "Lorenzo Thurman" <email@hidden>
- Date: Wed, 25 Jul 2007 19:43:58 -0000 (UTC)
- Importance: Normal
I've found a couple of examples on Apple's site on how to change the
current output device. I'm brand new to Core Audio, and I find the code
difficult to follow. Does someone know of a simple example on how to
change the output device? Looking through ComplexPlaythru, it seems (and I
may be wrong), but there is a lot involved. I would expect there to be a
single call like:
setOutputDevice(newDevice). Actually there is, its AudioDeviceSetProperty,
but it looks like there is a fair amount of work to be done before using
it. I looked at NSSound and Quicktime, but it looks as though you can't
switch output devices using those.
Sorry if this is too fundamental, but after working with Cocoa, it seems
that if somethings seems 'hard' you're probably going about it the wrong
way. So I'm going to ask before I get too far into this.
TIA
--
"Remember...a good friend will help you move. A realy good friend will
help you move a body."
-Unknown
_______________________________________________
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