aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMax Horn2004-12-27 00:27:00 +0000
committerMax Horn2004-12-27 00:27:00 +0000
commit67b311713d8f4cfcd460a9649e0075f24278a048 (patch)
treeb3cc2c445a34084ab1baa645c1ae818c44268eff /graphics
parent6670b2969a3669ae7bda7103407e8e5e22c2916a (diff)
downloadscummvm-rg350-67b311713d8f4cfcd460a9649e0075f24278a048.tar.gz
scummvm-rg350-67b311713d8f4cfcd460a9649e0075f24278a048.tar.bz2
scummvm-rg350-67b311713d8f4cfcd460a9649e0075f24278a048.zip
Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
Diffstat (limited to 'graphics')
-rw-r--r--graphics/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/animation.cpp b/graphics/animation.cpp
index 5cb3f70f22..d3453c00ba 100644
--- a/graphics/animation.cpp
+++ b/graphics/animation.cpp
@@ -133,7 +133,7 @@ bool BaseAnimationState::init(const char *name, void *audioArg) {
bgSoundStream = createAudioStream(name, audioArg);
if (bgSoundStream != NULL) {
- _snd->playInputStream(&bgSound, bgSoundStream, false, -1, 255, 0, false);
+ _snd->playInputStream(SoundMixer::kSFXAudioDataType, &bgSound, bgSoundStream, -1, 255, 0, false);
} else {
warning("Cutscene: Could not open Audio Track for %s", name);
}