mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
fix Vorbis music volume
svn-id: r9392
This commit is contained in:
parent
103112dd3d
commit
6da96e17c0
@ -1183,7 +1183,6 @@ ChannelVorbis::~ChannelVorbis() {
|
||||
#endif
|
||||
|
||||
void ChannelVorbis::mix(int16 *data, uint len) {
|
||||
|
||||
#ifdef SOX_HACK
|
||||
assert(_input);
|
||||
assert(_converter);
|
||||
@ -1194,7 +1193,7 @@ void ChannelVorbis::mix(int16 *data, uint len) {
|
||||
return;
|
||||
}
|
||||
|
||||
const int volume = _mixer->getVolume();
|
||||
const int volume = isMusicChannel() ? _mixer->getMusicVolume() : _mixer->getVolume();
|
||||
st_size_t tmpLen = len;
|
||||
_converter->flow(*_input, data, &tmpLen, volume);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user