mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-01-18 06:11:46 +00:00
- fixed: StreamSong did not flag itself as stopped when non-looping playback ended.
This commit is contained in:
parent
7f63ad8707
commit
645a8506e2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue