From 1c04cf0a921cb403862778cd694adb9ecfddb28b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 14 Feb 2014 08:06:51 +0000 Subject: fixed freezing on playback resume git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4087 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/outputwriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/qmmp/outputwriter.cpp b/src/qmmp/outputwriter.cpp index cb4f81d8f..682318880 100644 --- a/src/qmmp/outputwriter.cpp +++ b/src/qmmp/outputwriter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2012 by Ilya Kotov * + * Copyright (C) 2012-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -353,7 +353,7 @@ void OutputWriter::run() memset(b->data, 0, b->nbytes); l = 0; m = 0; - while (l < b->nbytes && !m_pause) + while (l < b->nbytes && !m_pause && !m_prev_pause) { mutex()->lock(); if(m_skip) -- cgit v1.2.3-13-gbd6f