From f3d4bc7f8fda9b7d799affa1ee803f46263dd158 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Thu, 29 Apr 2004 12:27:17 +0000 Subject: Quick-and-dirty music fix. I can hear music in the ITE intro now. I haven't tried IHNM yet. svn-id: r13678 --- saga/music.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3