diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mixer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index 73aef6178f..6faaf22c67 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -28,6 +28,9 @@ SoundMixer::SoundMixer() { _volumeTable = (int16 *)calloc(256 * sizeof(int16), 1); _beginSlots = 0; + for (int i = 0; i != NUM_CHANNELS; i++) { + _channels[i] = NULL; + } } SoundMixer::~SoundMixer() { |