mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
driver/audioplay.cpp: reset state to STOP in stop(), in case it called in STOP state
This commit is contained in:
@@ -49,6 +49,7 @@ void CAudioPlayer::stop()
|
|||||||
if(thrPlay)
|
if(thrPlay)
|
||||||
pthread_join(thrPlay,NULL);
|
pthread_join(thrPlay,NULL);
|
||||||
thrPlay = 0;
|
thrPlay = 0;
|
||||||
|
state = CBaseDec::STOP;
|
||||||
}
|
}
|
||||||
void CAudioPlayer::pause()
|
void CAudioPlayer::pause()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user