mirror of https://github.com/jorio/Pomme.git
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()
|
||||
{
|
||||
cmixer::ShutdownWithSDL();
|
||||
while (Pomme::Sound::gHeadChan)
|
||||
{
|
||||
SndDisposeChannel(Pomme::Sound::gHeadChan->macChannel, true);
|
||||
}
|
||||
cmixer::ShutdownWithSDL();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue