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

Re: Detecting dropouts?


  • Subject: Re: Detecting dropouts?
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 28 Jan 2002 12:01:17 -0800

on 1/28/02 10:22 AM, Jim Dolan <email@hidden> wrote:

> 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?

Both situations will trigger a kAudioDeviceProcessorOverload notification,
or at least they should.

--

Jeff Moore
Core Audio
Apple


References: 
 >Detecting dropouts? (From: Jim Dolan <email@hidden>)

  • Prev by Date: Detecting dropouts?
  • Next by Date: RE: Detecting dropouts?
  • Previous by thread: Detecting dropouts?
  • Next by thread: RE: Detecting dropouts?
  • Index(es):
    • Date
    • Thread