From c63c0b4c7925408162bdc4ecc86246e206318ee6 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 3 Sep 2013 11:39:05 +0400 Subject: [PATCH] driver/audioplay.cpp: reset state to STOP in stop(), in case it called in STOP state --- src/driver/audioplay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driver/audioplay.cpp b/src/driver/audioplay.cpp index 3ea3fd4d4..5dea17d17 100644 --- a/src/driver/audioplay.cpp +++ b/src/driver/audioplay.cpp @@ -49,6 +49,7 @@ void CAudioPlayer::stop() if(thrPlay) pthread_join(thrPlay,NULL); thrPlay = 0; + state = CBaseDec::STOP; } void CAudioPlayer::pause() {