• 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
Re: Skipping backward and forward
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Skipping backward and forward
      • From: "Sean Morrell" <email@hidden>
References: 
 >Skipping backward and forward (From: "Sean Morrell" <email@hidden>)

  • Prev by Date: Re: Detecting dropouts?
  • Next by Date: Re: MP audio output
  • Previous by thread: Skipping backward and forward
  • Next by thread: Re: Skipping backward and forward
  • Index(es):
    • Date
    • Thread