diff options
author | Max Horn | 2010-01-08 22:09:43 +0000 |
---|---|---|
committer | Max Horn | 2010-01-08 22:09:43 +0000 |
commit | f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1 (patch) | |
tree | b628cb494432e593a24a19134817798d14672048 /engines/teenagent | |
parent | 490153232a89bc64deb8a2ea72443af986940e63 (diff) | |
download | scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.tar.gz scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.tar.bz2 scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.zip |
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/teenagent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index e71812c99c..9b446ff120 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -433,7 +433,7 @@ Common::Error TeenAgentEngine::run() { syncSoundSettings(); music->load(1); - _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_musicHandle, music, -1, 255, 0, true, false); + _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_musicHandle, music, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, false); music->start(); int load_slot = Common::ConfigManager::instance().getInt("save_slot"); |