[alsa-devel] helping debugging
Thierry Vignaud
tvignaud at mandriva.com
Thu Jun 28 15:08:57 CEST 2007
Hi
Here's a suggestion from Dave Airlie:
http://airlied.livejournal.com/46087.html
"If you are going to have lots of unsigned int sized free running
pointers called things like hw_ptr or hw.ptr or anything, for
debugging it would be really cool if you started those counters at
INT_MAX-100000 or something instead of at zero,
24 hours waiting for a bug to trip in the pcm rate conversion is not
fun and I'm guessing it'll be some stupid interger overflow or dumb
boundary condition hitting..."
More information about the Alsa-devel
mailing list