mirror of
https://github.com/jorio/Pomme.git
synced 2025-02-19 20:30:33 +00:00
Dispose sound channels before shutting down cmixer
This commit is contained in:
parent
2c22e02554
commit
bf2469b659
@ -402,9 +402,9 @@ void Pomme::Sound::InitMixer()
|
|||||||
|
|
||||||
void Pomme::Sound::ShutdownMixer()
|
void Pomme::Sound::ShutdownMixer()
|
||||||
{
|
{
|
||||||
cmixer::ShutdownWithSDL();
|
|
||||||
while (Pomme::Sound::gHeadChan)
|
while (Pomme::Sound::gHeadChan)
|
||||||
{
|
{
|
||||||
SndDisposeChannel(Pomme::Sound::gHeadChan->macChannel, true);
|
SndDisposeChannel(Pomme::Sound::gHeadChan->macChannel, true);
|
||||||
}
|
}
|
||||||
|
cmixer::ShutdownWithSDL();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user