- Removed the resetDriver() hack. The reason why notes stopped being played sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn)
- Hooked setReverb() to actually set music reverb svn-id: r47392
This commit is contained in:
parent
dbe665908e
commit
f0e6c3f142
5 changed files with 2 additions and 30 deletions
|
@ -1065,8 +1065,6 @@ void SoundCommandParser::reconstructPlayList(int savegame_version) {
|
|||
#ifndef USE_OLD_MUSIC_FUNCTIONS
|
||||
Common::StackLock lock(_music->_mutex);
|
||||
|
||||
_music->resetDriver();
|
||||
|
||||
const MusicList::iterator end = _music->getPlayListEnd();
|
||||
for (MusicList::iterator i = _music->getPlayListStart(); i != end; ++i) {
|
||||
if (savegame_version < 14) {
|
||||
|
@ -1096,12 +1094,6 @@ void SoundCommandParser::printPlayList(Console *con) {
|
|||
#endif
|
||||
}
|
||||
|
||||
void SoundCommandParser::resetDriver() {
|
||||
#ifndef USE_OLD_MUSIC_FUNCTIONS
|
||||
_music->resetDriver();
|
||||
#endif
|
||||
}
|
||||
|
||||
void SoundCommandParser::setMasterVolume(int vol) {
|
||||
#ifndef USE_OLD_MUSIC_FUNCTIONS
|
||||
_music->soundSetMasterVolume(vol);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue