Mark audio stream as not playing when it ends
This commit is contained in:
parent
684cfe92b9
commit
fdd57ba572
1 changed files with 1 additions and 0 deletions
|
|
@ -261,6 +261,7 @@ namespace psemek::audio
|
|||
if (!self) return;
|
||||
|
||||
std::lock_guard lock{self->channels_mutex};
|
||||
self->channels[ch].stream->playing = false;
|
||||
self->channels[ch].stream = nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue