Audio track is_playing() bugfix
This commit is contained in:
parent
eecc054870
commit
e1f8958123
1 changed files with 2 additions and 0 deletions
|
|
@ -132,11 +132,13 @@ namespace psemek::audio
|
|||
|
||||
void resume() override
|
||||
{
|
||||
playing = true;
|
||||
Mix_Resume(channel);
|
||||
}
|
||||
|
||||
void stop() override
|
||||
{
|
||||
playing = false;
|
||||
Mix_HaltChannel(channel);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue