• 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
Detecting dropouts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting dropouts?


  • Subject: Detecting dropouts?
  • From: Jim Dolan <email@hidden>
  • Date: Mon, 28 Jan 2002 13:22:13 -0500

Hi -

I am try to put together an algorithm that will detect hardware underruns in
the IOProcs. During playback undderuns can happen in two ways...

1) The IOProc is not called in time and creates a gap in the sample stream.

This one seams easy enough to calculate using the timestamp
information presented in the IOProc, but how do I detect #2?

2) I run out of time in the IOProc and fail to transfer all of my samples to
the output buffers.
If I put some print statements in the IOProc, I'll hear dropouts.
What is the best way to programmatically detect this situation?

Thanks Jimmy D.


  • Follow-Ups:
    • Re: Detecting dropouts?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Detecting dropouts?
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: Detecting dropouts?
  • Index(es):
    • Date
    • Thread