- fixed: StreamSong did not flag itself as stopped when non-looping playback ended.

This commit is contained in:
Christoph Oelckers 2020-02-08 10:25:44 +01:00
parent 7f63ad8707
commit 645a8506e2

View file

@ -160,6 +160,7 @@ bool StreamSong::ServiceStream (void *buff, int len)
bool written = m_Source->GetData(buff, len);
if (!written)
{
m_Status = STATE_Stopped;
memset((char*)buff, 0, len);
return false;
}