Re: How to detect Audio device add and remove
Re: How to detect Audio device add and remove
- Subject: Re: How to detect Audio device add and remove
- From: "B.J. Buchalter" <email@hidden>
- Date: Sat, 21 Jun 2003 14:18:57 -0400
on 6/21/03 11:59 AM, Chris Reed at email@hidden wrote:
>
Interesting... I was recently just testing my handling of this
>
situation, and didn't see any crashes. Specifically, I'm using
>
MTCoreAudio and handling the audioDeviceDidDie: delegate message.
>
>
I was testing with a M-audio USB Quattro.
It does not happen every time -- it is a race condition. And the device that
is being remove has to have been started by your app and streaming audio
into your IOProc and your IOProc has to be actually using the audio buffers;
it does not happen just because your app is running.
Best regards,
B.J. Buchalter
Metric Halo
M/S 601 - Building 8
Castle Point Campus
Castle Point, NY 12511-0601 USA
tel +1 845 831-8600
fax +1 603 250-2451
If you haven't heard ChannelStrip yet, you don't know what you're missing!
Check out SpectraFoo, ChannelStrip and Mobile I/O at
http://www.mhlabs.com/
Download a 12 day demo from <
http://www.mhlabs.com/demo/>
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.