diff options
Diffstat (limited to 'engines/gob/sound/soundmixer.cpp')
-rw-r--r-- | engines/gob/sound/soundmixer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/gob/sound/soundmixer.cpp b/engines/gob/sound/soundmixer.cpp index f85073ad61..1a287d782f 100644 --- a/engines/gob/sound/soundmixer.cpp +++ b/engines/gob/sound/soundmixer.cpp @@ -27,7 +27,7 @@ namespace Gob { -SoundMixer::SoundMixer(Audio::Mixer &mixer) : _mixer(&mixer) { +SoundMixer::SoundMixer(Audio::Mixer &mixer, Audio::Mixer::SoundType type) : _mixer(&mixer) { _playingSound = 0; _rate = _mixer->getOutputRate(); @@ -50,8 +50,7 @@ SoundMixer::SoundMixer(Audio::Mixer &mixer) : _mixer(&mixer) { _fadeSamples = 0; _curFadeSamples = 0; - _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_handle, - this, -1, 255, 0, false, true); + _mixer->playInputStream(type, &_handle, this, -1, 255, 0, false, true); } SoundMixer::~SoundMixer() { |