kAudioDevicePropertyBufferSize reported to IOAudioEngine?
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