• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Simple example on swithcing output device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Simple example on swithcing output device
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: HALPlugIn::Initialize appears to be freezing
  • Next by Date: Re: Simple example on swithcing output device
  • Previous by thread: Re: AudioFileInitializeWithCallbacks
  • Next by thread: Re: Simple example on swithcing output device
  • Index(es):
    • Date
    • Thread