From d5202e403ba5b2cdae8fae2f117dec1f5c739fdc Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 8 Oct 2010 20:38:22 +0000 Subject: fixed gaps when seeking with large buffer git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1932 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/qmmpaudioengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/qmmp/qmmpaudioengine.cpp b/src/qmmp/qmmpaudioengine.cpp index 9849126cb..30a109689 100644 --- a/src/qmmp/qmmpaudioengine.cpp +++ b/src/qmmp/qmmpaudioengine.cpp @@ -489,7 +489,7 @@ void QmmpAudioEngine::flush(bool final) m_output_at -= produceSound((char*)m_output_buf, m_output_at, m_bitrate); } - if (m_output->recycler()->full()) + if (!m_output->recycler()->empty()) { m_output->recycler()->cond()->wakeOne(); } -- cgit v1.2.3-13-gbd6f