• 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: Hog mode, how to get an exclusive access to the sound card ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hog mode, how to get an exclusive access to the sound card ?


  • Subject: Re: Hog mode, how to get an exclusive access to the sound card ?
  • From: Paul Davis <email@hidden>
  • Date: Wed, 10 Feb 2016 08:20:09 -0500

http://lmgtfy.com/?q=coreaudio+hog+mode

on the first page, of many links, this one is perhaps the most informative.

https://github.com/jagreenwood/CoreAudio/blob/master/HAL/HPBase/HP_HogMode.cpp

On Wed, Feb 10, 2016 at 4:16 AM, Matthieu Collette <email@hidden> wrote:
Hi,

I have developed a virtual audio driver which gets audio samples and send them through the network. It works has I expect to.

I would like to get an exclusive access to the sound card while my application runs.

I don't know if I should do something in my kernel driver to lock the device, nor if it's possible to lock it from the driver (referring to the Apple documentation, it seems that the audio family does not expose any interface to access the device from user space).

It seems possible to lock a device using the Hog Mode but I can't find any documentation about it.

Does anyone have an idea where to find some documentation about Hog Mode and and how to implement the exclusive access mechanism ?

Thanks in advance for your answers / help.

Best regards.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Hog mode, how to get an exclusive access to the sound card ? (From: Matthieu Collette <email@hidden>)

  • Prev by Date: Hog mode, how to get an exclusive access to the sound card ?
  • Next by Date: Changing PreferredBufferDuration at runtime results in -50 AudioUnitRender OSStatus
  • Previous by thread: Hog mode, how to get an exclusive access to the sound card ?
  • Next by thread: Changing PreferredBufferDuration at runtime results in -50 AudioUnitRender OSStatus
  • Index(es):
    • Date
    • Thread