getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
- Subject: getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
- From: David Zimmermann <email@hidden>
- Date: Thu, 06 Mar 2008 11:40:53 +0100
- Organization: MARIAN OHG
Hi,
I`m writing an IOKit audio hardware driver.
I tested the driver with the HALLab tool and experienced problems.
The app seems to assume a wrong size in frames of my hardware sample
buffers.
The arguments to my IOProcs pointed me to that conclusion.
I reflect my hardwares sample buffer size in frames via
IOAudioEngine::setNumSampleFramesPerBuffer
within my subclasses initHardware.
Debugging the HALLab shows that the Audio HAL reflects valid sample
buffer ranges (kAudioDevicePropertyBufferFrameSizeRange) but
the reflected current buffer size may be out of range
(kAudioDevicePropertyBufferFrameSize) and thereby invalid.
For testing purposes I changed the HALLab source to limit every HAL
reflected "kAudioDevicePropertyBufferFrameSize" against
the range and reset the property with that limited value.
Afterwards HALLab works fine with my driver.
But no other app does...
What do I miss ?
thanks in advance,
David
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
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