diff options
author | Paul Gilbert | 2017-02-05 17:25:55 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-05 17:25:55 -0500 |
commit | 527ce3cb79489c2cfc12146eb68e9a1f9e21f4d9 (patch) | |
tree | 3c667d35bfb098d7dbc270b76d78ec1385faa1f4 /engines/titanic/sound/music_room_handler.cpp | |
parent | 10d97ce37947362e6fa7161cd85221f59ca49490 (diff) | |
download | scummvm-rg350-527ce3cb79489c2cfc12146eb68e9a1f9e21f4d9.tar.gz scummvm-rg350-527ce3cb79489c2cfc12146eb68e9a1f9e21f4d9.tar.bz2 scummvm-rg350-527ce3cb79489c2cfc12146eb68e9a1f9e21f4d9.zip |
TITANIC: Start of getting CWaveFile to handling audio streaming
Diffstat (limited to 'engines/titanic/sound/music_room_handler.cpp')
-rw-r--r-- | engines/titanic/sound/music_room_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/sound/music_room_handler.cpp b/engines/titanic/sound/music_room_handler.cpp index f25bee727a..c7f3040d20 100644 --- a/engines/titanic/sound/music_room_handler.cpp +++ b/engines/titanic/sound/music_room_handler.cpp @@ -95,7 +95,7 @@ void CMusicRoomHandler::setVolume(int volume) { _field118 = 1; update(); - _waveFile = _soundManager->loadMusic(_audioBuffer); + _waveFile = _soundManager->loadMusic(_audioBuffer, DisposeAfterUse::NO); _audioBuffer->setC(_audioBuffer->getC()); update(); } |