Re: Jaguar broke our audio input engine
Re: Jaguar broke our audio input engine
- Subject: Re: Jaguar broke our audio input engine
- From: Mark Cookson <email@hidden>
- Date: Wed, 11 Sep 2002 08:08:00 -0700
This is a known bug. The log comes from IOAudioFamily reporting the
bad input parameter and then not calling your driver with bad offset.
The log is really there to tell you why your driver isn't being called.
We didn't think that it would be seen so often or we would have
removed it before shipping.
We're working on trying to determine the cause and solution.
Mark
--
Mark Cookson
Engineering Droid
Apple Computer, Inc.
Core Audio CPU Software
6 Infinite Loop MS 306-2CW
Cupertino, CA 95014
On Tuesday, September 10, 2002, at 01:51 PM, Timothy McMahon wrote:
Hello,
Our core audio driver was working fine in 10.1.5, but we are seeing the
following error in the system log under 10.2:
!!! firstSampleFrame->audioEngine->numSampleFramesPerBuffer (XXXXX >
16384)
This error occurs after we have taken the initial time stamp and
started our
engine and before we get to the end of our buffer to take another time
stamp.
Furthermore, the first time CoreAudio calls our ConvertInputSamples it
does
so with the firstSampleFrame being somewhere around 13000. At this
time we
have only filled approximately 7000 frames into our buffer.
Two questions:
(1) How does CoreAudio calculate the firstSampleFrame when it sends the
above error to the system log? Is it via getCurrentSampleFrame()? If
so, how
is it computing that we are out of our NumSampleFrames (16k in our
case)? We
have verified that we only pass back a number between 0 & 16383.
(2) Why would CoreAudio call ConvertInputSamples with the
firstSampleFrame
way ahead of our hardware pointer? Is there a mechanism whereby we can
set a
certain offset so that this is delayed until we have actually filled
our
sample buffer up to that point?
Any help would be greatly appreciated.
Thanks,
Tim
_______________________________________________
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.