Device sharing/release problem
Device sharing/release problem
- Subject: Device sharing/release problem
- From: "Sean Morrell" <email@hidden>
- Date: Wed, 11 Jun 2003 13:51:40 -0500
I'm working on a driver and control panel for a device that supports AC-3.
The driver is working fine, including AC-3 mode using VideoLAN. However
VideoLAN fails to start, getting a 'hog' error anytime the control panel is
open. The control panel has input meters. For these to function the control
panel will start audio streaming on the device so it can analyze the input
samples. But it does this only when the driver is moving PCM encoded audio.
When in the AC-3 mode, the control panel will both stop and remove the i/o
proc from CoreAudio. Yet stopping and removing the i/o proc is not
sufficient. The control panel has to be closed before the device can be used
by VideoLAN or other app. This is consistent with the sound preference pane
has well. If I select the device as the default output device, I cannot use
the device in another app. Changing the default output device back to
built-in audio controller doesn't free the device. But once system
preferences is closed, I can then use the device from VideoLAN . Now I
realize this has to do with the AC-3 format having the "fIsMixable" flag set
to false. Which it has to be for AC-3 correct? So what is happening here?
What must I do so the control panel can stay loaded, yet release the device
for use by other apps?
Thank You,
Sean Morrell
_______________________________________________
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.