aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saga/music.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/saga/music.cpp b/saga/music.cpp
index bacfb99708..ea9103a882 100644
--- a/saga/music.cpp
+++ b/saga/music.cpp
@@ -191,8 +191,10 @@ int Music::play(ulong music_rn, uint flags) {
debug(0, "Music::play(%d, %d)", music_rn, flags);
- parser->setTrack(0);
+ parser->setTrack(0);
parser->setMidiDriver(_player);
+ parser->setTimerRate(10000); // FIXME: Get the timer rate from _driver
+
_player->_parser = parser;
_player->setVolume(ConfMan.getInt("music_volume") * ConfMan.getInt("master_volume") / 255);
_player->playMusic();