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

Origin commit data
------------------
Branch: ni/coolstream
Commit: c63c0b4c79
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-03 (Tue, 03 Sep 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-09-03 11:39:05 +04:00
parent 20da0c47fa
commit 4e5af106b3

View File

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