Default output device changes - how to be notified?
Default output device changes - how to be notified?
- Subject: Default output device changes - how to be notified?
- From: Roni Music <email@hidden>
- Date: Sun, 20 May 2007 19:03:37 +0200
Hi,
My player uses the default output device.
How can I be notified when a user changes the default output device
in the system preferences?
I've added a listener to check if a user removes a device (for
example unplugging a USB headset)
OSStatus err = AudioDeviceRemovePropertyListener(m_theOutputDevice,
kAudioPropertyWildcardChannel,
false,
kAudioDevicePropertyDeviceIsAlive,
MyListener);
which works OK.
But how do I "listen" to a device change?
Thanks,
Rolf
_______________________________________________
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