Detecting dropouts?
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.