• 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
kAudioDevicePropertyBufferSize reported to IOAudioEngine?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioDevicePropertyBufferSize reported to IOAudioEngine?


  • Subject: kAudioDevicePropertyBufferSize reported to IOAudioEngine?
  • From: Daniel Mack <email@hidden>
  • Date: Tue, 18 Oct 2005 20:35:33 +0200

Hi list,

My today's question is about the interaction between the coreaudio code in userspace
and kernelspace.


In my IOAudioEngine implementation, I act on some asumptions regarding the system
speed the driver is running on. The closer I get to a minimum in the queuing
logic, the higher is the chance that the output starts crackling on higher system
loads (or with slower machines, of course).


In userspace, it is possible to set an audio device's property by calling

AudioDeviceSetProperty(..., kAudioDevicePropertyBufferSize, size, ...);

The information about the amount of data beeing written 'in a row' could also
be very useful to my kernel extension to take into account whether lowest audio
latency or lowest system performance usage is more important.


So, long story short, my question is - is there any way to catch the change
of the buffer size from within a kernel driver?


I neigther got any hint by grep'ing through the IOAudioEngine, IOAudioDevice
and IOAudioStream class headers nor by having a look to Apple's own audio
driver implementations.


Thanks in advance,
Daniel

_______________________________________________
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


  • Follow-Ups:
    • Re: kAudioDevicePropertyBufferSize reported to IOAudioEngine?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: kAudioUnitProperty_PresentationLatency usage
  • Next by Date: Re: kAudioDevicePropertyBufferSize reported to IOAudioEngine?
  • Previous by thread: Re: kAudioUnitProperty_DependentParameters
  • Next by thread: Re: kAudioDevicePropertyBufferSize reported to IOAudioEngine?
  • Index(es):
    • Date
    • Thread