From 67b311713d8f4cfcd460a9649e0075f24278a048 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 27 Dec 2004 00:27:00 +0000 Subject: 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 --- graphics/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') 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); } -- cgit v1.2.3