• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to use hog mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >how to use hog mode (From: Derk-Jan Hartman <email@hidden>)

  • Prev by Date: TN2091 code not working with iSight or USB mic
  • Next by Date: Re: how to use hog mode
  • Previous by thread: how to use hog mode
  • Next by thread: Re: how to use hog mode
  • Index(es):
    • Date
    • Thread