aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 76d2697586..72c5738e4f 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -136,7 +136,7 @@ bool SoundMixer::isPaused() {
return _paused;
}
-void SoundMixer::setupPremix(AudioStream *stream) {
+void SoundMixer::setupPremix(AudioStream *stream, SoundType type) {
Common::StackLock lock(_mutex);
delete _premixChannel;
@@ -146,7 +146,7 @@ void SoundMixer::setupPremix(AudioStream *stream) {
return;
// Create the channel
- _premixChannel = new Channel(this, 0, kPlainAudioDataType, stream, false);
+ _premixChannel = new Channel(this, 0, type, stream, false);
}
void SoundMixer::insertChannel(PlayingSoundHandle *handle, Channel *chan) {