driver/audioplay.cpp: reset state to STOP in stop(), in case it called in STOP state

This commit is contained in:
[CST] Focus
2013-09-03 11:39:05 +04:00
parent 83ee284269
commit c63c0b4c79

View File

@@ -49,6 +49,7 @@ void CAudioPlayer::stop()
if(thrPlay)
pthread_join(thrPlay,NULL);
thrPlay = 0;
state = CBaseDec::STOP;
}
void CAudioPlayer::pause()
{