• 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
Default output device changes - how to be notified?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Default output device changes - how to be notified?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Crashing when calling MIDISendSysex()
  • Next by Date: How to pull audio from an AUGraph for bounces?
  • Previous by thread: Re: Crashing when calling MIDISendSysex()
  • Next by thread: Re: Default output device changes - how to be notified?
  • Index(es):
    • Date
    • Thread