From b238c0e0261925b31e46475eb38bd04823c68d62 Mon Sep 17 00:00:00 2001 From: jbebel Date: Sun, 3 Apr 2005 05:00:14 +0000 Subject: [PATCH] Fixing code documentation of buffer overruns --- darkice/trunk/src/AlsaDspSource.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/darkice/trunk/src/AlsaDspSource.cpp b/darkice/trunk/src/AlsaDspSource.cpp index fc3f4fb..46cd11a 100644 --- a/darkice/trunk/src/AlsaDspSource.cpp +++ b/darkice/trunk/src/AlsaDspSource.cpp @@ -251,7 +251,7 @@ AlsaDspSource :: read ( void * buf, do { ret = snd_pcm_readi(captureHandle, buf, len/bytesPerFrame); - // Check for buffer underrun + // Check for buffer overrun if (ret == -EPIPE) { reportEvent(1, "Buffer overrun!"); snd_pcm_prepare(captureHandle); @@ -292,6 +292,9 @@ AlsaDspSource :: close ( void ) throw ( Exception ) $Source$ $Log$ + Revision 1.3 2005/04/03 05:00:14 jbebel + Fixing code documentation of buffer overruns + Revision 1.2 2004/02/15 22:36:57 darkeye proper checking to see if ALSA support is present / needed