• 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
Re: How to programmatically change the default sound output device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to programmatically change the default sound output device?


  • Subject: Re: How to programmatically change the default sound output device?
  • From: Brian Willoughby <email@hidden>
  • Date: Thu, 17 Jan 2008 16:27:18 -0800

Why are you doing this, and what are the other media applications you're talking about?

Perhaps it would help to mention that, if you are writing a media application, you can send audio to a device other than the default. Better media applications should allow the user to pick a different output device besides the default.

However, if you are trying to extend the options for existing media applications where you don't have the source, I can see how there might be an advantage to changing the default audio output device if those media applications do not allow specifying an audio device.

Be warned, though, that if the user changes the default audio output device while any media application is running, then the audio for the running applications will be interrupted. Your design is not likely to work when multiple media applications are running at the same time connected to the default audio output device.

Sorry if I am being pedantic, but your design sounds potentially like it will run into some trouble.

Brian Willoughby
Sound Consulting


On Jan 17, 2008, at 04:06, Mikael Hakman wrote:
How do I programmatically change the default sound output device? I'm
building an application that on user request will change audio, display and
some other settings. Then the user will run whatever media applications
he/she likes. By another user request all these settings will be restored to
values before change. For display I use the Quartz calls but I can not
figure out what API to use for changing the default sound output. Any help
would be appreciated.


_______________________________________________
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: How to programmatically change the default sound output device?
      • From: "Mikael Hakman" <email@hidden>
References: 
 >How to programmatically change the default sound output device? (From: "Mikael Hakman" <email@hidden>)

  • Prev by Date: Re: Quick converter question from a CA newbie
  • Next by Date: Re: Recommended way to setup a timer in a CoreAudion application
  • Previous by thread: Re: How to programmatically change the default sound output device?
  • Next by thread: Re: How to programmatically change the default sound output device?
  • Index(es):
    • Date
    • Thread