Re: how to use hog mode
Re: how to use hog mode
- Subject: Re: how to use hog mode
- From: David Duncan <email@hidden>
- Date: Sun, 27 Jun 2004 21:13:00 -0400
On Jun 27, 2004, at 03:25 PM, Derk-Jan Hartman wrote:
So i know that VLC should actually use AUHAL, but atm i don't think
any of us (2 osx devs) has the time to learn AUHAL and re-implement
our entire module.
So we almost have all the bugs out of the old style coreaudio module.
However i know that we need to take hog mode before setting AC3 audio
format. But I cannot find IF, and HOW we should release hog mode.
Since i don't have any equipment to test this, i need to be told /
find the documentation. Unfortunately even the headers don't document
this one.
Does anyone know how this works?
Playing around in HALLab this evening it seems that to release hog mode
you set the Hog mode PID to -1.
See
/Developer/Examples/CoreAudio/PublicUtility/CAAudioHardwareDevice.cpp:
CAAudioHardwareDevice::ReleaseHogMode()
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
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.