Re: Skipping backward and forward
Re: Skipping backward and forward
- Subject: Re: Skipping backward and forward
- From: Jeff Moore <email@hidden>
- Date: Wed, 27 Mar 2002 14:28:17 -0800
on 3/27/02 9:08 AM, Sean Morrell <email@hidden> wrote:
>
To track down some anomalies in the audio, I added some debug code to
>
convertInputSamples and clipOutputSamples. I compare the last sample
>
frame read or written in a call, to the first sample frame in the next
>
call. And I find that CoreAudio will sometimes skip ahead in the buffer
>
from where it last transferred data. This would seem to leave blocks of
>
the buffer either unread or unwritten. And sometimes CoreAudio jumps
>
back, reading/writing blocks of samples frames again. Now I'm not for
>
sure this accounts for my audio anomalies. But can someone verify that
>
this is normal behavior? If not, under what circumstances does this occur?
This is normal behavior for a driver to see. Remember, in the driver you are
seeing things from a global perspective. This means you are seeing the
interactions of multiple instances of the HAL in separate processes that
don't know anything about each other.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.