diff options
author | Filippos Karapetis | 2016-01-14 01:43:53 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-01-14 23:41:33 +0200 |
commit | 374a76c89f525910eb27f23518086481bee9aa66 (patch) | |
tree | 36339632213da6413387e0486a58b211a14e5746 /engines/lab | |
parent | ce5f8f32cbbf185046ce390c67fe3d6ccee00533 (diff) | |
download | scummvm-rg350-374a76c89f525910eb27f23518086481bee9aa66.tar.gz scummvm-rg350-374a76c89f525910eb27f23518086481bee9aa66.tar.bz2 scummvm-rg350-374a76c89f525910eb27f23518086481bee9aa66.zip |
LAB: Use the sample speed value instead of a define for game music
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/music.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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)); } |