aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-02-28 10:04:40 +0000
committerWillem Jan Palenstijn2009-02-28 10:04:40 +0000
commitc76dc0b71c0d448a63a1a3eef989b4f4521a5998 (patch)
tree2e61ffc74d63264138bfd2e33b7be8d0a262fa92
parent6f72cc45a355a0546620a71112e5b26c55093747 (diff)
downloadscummvm-rg350-c76dc0b71c0d448a63a1a3eef989b4f4521a5998.tar.gz
scummvm-rg350-c76dc0b71c0d448a63a1a3eef989b4f4521a5998.tar.bz2
scummvm-rg350-c76dc0b71c0d448a63a1a3eef989b4f4521a5998.zip
Initialize mixer feed variables
svn-id: r38951
-rw-r--r--engines/sci/sfx/mixer.cpp5
1 files changed, 4 insertions, 1 deletions
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