mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
any reasons for playing bundle sounds at 50% volume?
svn-id: r10020
This commit is contained in:
parent
06b6ff9a44
commit
d6e4788457
@ -1376,12 +1376,12 @@ void Sound::playBundleSound(char *sound, PlayingSoundHandle *handle) {
|
||||
_scumm->_mixer->stopHandle(*handle);
|
||||
|
||||
if (bits == 8) {
|
||||
_scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE, 127, pan);
|
||||
_scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE, 255, pan);
|
||||
} else if (bits == 16) {
|
||||
// FIXME: For some weird reasons, sometimes we get an odd size, even though
|
||||
// the data is supposed to be in 16 bit format... that makes no sense...
|
||||
size &= ~1;
|
||||
_scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_16BITS | SoundMixer::FLAG_AUTOFREE, 127, pan);
|
||||
_scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_16BITS | SoundMixer::FLAG_AUTOFREE, 255, pan);
|
||||
} else {
|
||||
warning("Sound::playBundleSound() to do more options to playRaw...");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user