Re: Default audio output - getting device changed notification?
Re: Default audio output - getting device changed notification?
- Subject: Re: Default audio output - getting device changed notification?
- From: tahome izwah <email@hidden>
- Date: Wed, 23 Jun 2010 12:38:24 +0200
Hi Jean-Daniel,
I looked again and it seems that the code indeed does what I want (the
"interesting" part was commented out in this example so I didn't see
it at first).
Thanks again - problem solved!
--th
2010/6/23 tahome izwah <email@hidden>:
> Thank you but that code only works when audio devices are plugged in
> or removed. I need a notification when the default audio output device
> is changed via the system control panel and it doesn't look like the
> AudioDeviceNotify example has that capability.
>
> thanks!
> --th
>
> 2010/6/23 Jean-Daniel Dupas <email@hidden>:
>>
>> Le 23 juin 2010 à 10:34, tahome izwah a écrit :
>>
>>> Hi all,
>>>
>>> is there a way to sign up for notifications when the default audio
>>> output (the one in the system prefs, ie.
>>> kAudioHardwarePropertyDefaultOutputDevice) has been changed? If so,
>>> how? I wasn't able to find anything in the docs.
>>
>>
>> What about the AudioDeviceNotify sample code ?
>>
>> http://developer.apple.com/mac/library/samplecode/AudioDeviceNotify/Introduction/Intro.html
>>
>>
>> -- Jean-Daniel
>>
>>
>>
>>
>>
>
_______________________________________________
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