From c76dc0b71c0d448a63a1a3eef989b4f4521a5998 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sat, 28 Feb 2009 10:04:40 +0000 Subject: Initialize mixer feed variables svn-id: r38951 --- engines/sci/sfx/mixer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/sci/sfx') diff --git a/engines/sci/sfx/mixer.cpp b/engines/sci/sfx/mixer.cpp index cd20089e2e..a4390cf844 100644 --- a/engines/sci/sfx/mixer.cpp +++ b/engines/sci/sfx/mixer.cpp @@ -121,7 +121,10 @@ static int mix_init(sfx_pcm_mixer_t *self) { P->conf.stereo = SFX_PCM_STEREO_LR; P->conf.format = SFX_PCM_FORMAT_S16_NATIVE; P->_framesize = SFX_PCM_FRAME_SIZE(P->conf); - + + P->feeds_nr = 0; + P->feeds_allocd = 0; + P->feeds = 0; int flags = Audio::Mixer::FLAG_16BITS | Audio::Mixer::FLAG_STEREO; #ifdef SCUMM_LITTLE_ENDIAN -- cgit v1.2.3