Re: Simple example on swithcing output device
Re: Simple example on swithcing output device
- Subject: Re: Simple example on swithcing output device
- From: Jeff Moore <email@hidden>
- Date: Wed, 25 Jul 2007 12:52:04 -0700
You'll have to explain what you mean by "change the current output
device". What exactly are you trying to do?
On Jul 25, 2007, at 12:43 PM, Lorenzo Thurman wrote:
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.
--
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