mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 22:07:34 +00:00
use clear_sound_proc to properly deinit the mixer (this fixes a crash-on-exit)
svn-id: r8410
This commit is contained in:
parent
82af035f91
commit
f7e85af552
@ -36,7 +36,11 @@ SoundMixer::SoundMixer() {
|
||||
}
|
||||
|
||||
SoundMixer::~SoundMixer() {
|
||||
_syst->clear_sound_proc();
|
||||
free(_volumeTable);
|
||||
for (int i = 0; i != NUM_CHANNELS; i++) {
|
||||
delete _channels[i];
|
||||
}
|
||||
}
|
||||
|
||||
void SoundMixer::unInsert(Channel *chan) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user