Re: Changing System Audio Output - Notifications to Apps?
Re: Changing System Audio Output - Notifications to Apps?
- Subject: Re: Changing System Audio Output - Notifications to Apps?
- From: Jeff Moore <email@hidden>
- Date: Thu, 6 May 2010 17:56:44 -0700
Not to put to fine a point on it, but trying to capture the audio from another process is not something that is supported by the system. So you're app is already off of the beaten path and walking through the land of hackery.
By definition, this sort of thing will not work with all apps (as you are finding out). Often, there will be no rhyme or reason as to why either. Some apps have bugs. Some apps just aren't paying attention. And some apps just don't care.
Your best bet is to do lots of testing and write bugs for the developers of the apps that aren't behaving correctly.
On May 6, 2010, at 5:29 PM, Seth Willits wrote:
> On May 6, 2010, at 5:10 PM, Jeff Moore wrote:
>
>> If you are changing kAudioHardwarePropertyDefaultSystemOutputDevice, you are doing it wrong.
>
> You had my hopes up for a second, but I'm using kAudioHardwarePropertyDefaultOutputDevice.
>
>
>> That said, a lot of apps have their own UI for selecting the device they use and so won't follow what you set
>
>
> The apps that do have their own UI for selecting the audio device, I understand why they wouldn't automatically switch. That makes sense to me, but some examples of ones that don't are Starcraft II, Second Life, VLC, browser-embedded streaming video plugins such as GoToMeeting, WebEx...
>
> None of them have settings, but clearly don't play audio to the new device when it changes.
>
>
>
>
>
> On May 6, 2010, at 5:12 PM, Brian Willoughby wrote:
>
>> Admittedly, it's probably poor programming for an application to honor the default output at launch time and then ignore it later, but those cases may be explained by the other possibility.
>
> Yeah. It just really stinks for my users who think *my* application is broken.
>
>
> Hmm...
--
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