From 374a76c89f525910eb27f23518086481bee9aa66 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 14 Jan 2016 01:43:53 +0200 Subject: LAB: Use the sample speed value instead of a define for game music --- engines/lab/music.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/lab/music.cpp b/engines/lab/music.cpp index 0a23589079..afad7c56fd 100644 --- a/engines/lab/music.cpp +++ b/engines/lab/music.cpp @@ -39,7 +39,6 @@ namespace Lab { -#define SAMPLESPEED 15000 #define CLOWNROOM 123 #define DIMROOM 80 @@ -142,7 +141,7 @@ void Music::changeMusic(const Common::String filename, bool storeCurPos, bool se if (seektoStoredPos) _musicFile->seek(_storedPos); - Audio::SeekableAudioStream *audioStream = Audio::makeRawStream(_musicFile, SAMPLESPEED, getSoundFlags()); + Audio::SeekableAudioStream *audioStream = Audio::makeRawStream(_musicFile, 15000, getSoundFlags()); _vm->_mixer->playStream(Audio::Mixer::kMusicSoundType, &_musicHandle, new Audio::LoopingAudioStream(audioStream, 0)); } -- cgit v1.2.3