Failing performAudioEngineStart
Failing performAudioEngineStart
- Subject: Failing performAudioEngineStart
- From: Matt Gonzalez <email@hidden>
- Date: Mon, 07 Apr 2003 15:21:42 -0700
Hello all-
Some of the hardware I'm supporting consists of an external breakout box
connected to a PCI card. Since it is possible for the breakout box to
be disconnected or unplugged, there are times when I can't play or record.
I added code to my performAudioEngineStart method to detect if the box
is connected or not; if the box is not connected, I return
kIOReturnOffline. If I do this, then performAudioEngineStart is never
called again, so at that point I can't play or record until I reboot or
reload the driver.
What would be the best way to handle this situation?
Thanks,
Matt
_______________________________________________
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.