Audio devices not updating
Audio devices not updating
- Subject: Audio devices not updating
- From: Andrew Hughes <email@hidden>
- Date: Mon, 15 Mar 2010 12:48:03 -0500
I'm writing what I hoped would be a simple program that puts a menu in the status bar that allows me to quickly set the default system output device. However, the list of available output devices is not updating. I am developing on a new iMac and switching between the computer's speakers and a Digi 003 rack.
An example scenario: I run the program and the list of available interfaces is correct (Built-in Output and Digi 003 Rack). Then I turn off the 003 and I nether receive an callback to update the list of available devices nor does the list update properly when I trigger a refresh manually; ie, both devices are still listed. However, if I quit the program and restart, the device list updates.
At first I thought this was a problem with my code, but then I downloaded Apple's "AudioDeviceNotify" example program and it has the same behavior. The only way to get the device list to update is to re-start the program. Simply triggering a call to updateDeviceList returns the same list of devices that shows the 003 even though it is turned off.
Does anybody have any ideas on why this is happening?
Thanks for you time.
Andrew
_______________________________________________
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