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

Origin commit data
------------------
Commit: c63c0b4c79
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-03 (Tue, 03 Sep 2013)
This commit is contained in:
[CST] Focus
2013-09-03 11:39:05 +04:00
parent 6e1c1f5c50
commit fb11d1ab3d

View File

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