mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
EMI: Respect balance and volume parameters when starting a voice.
This commit is contained in:
parent
f733939a38
commit
e70d6e9af1
@ -114,6 +114,8 @@ bool EMISound::startVoice(const char *soundName, int volume, int pan) {
|
||||
_channels[channel] = new VimaTrack(soundName);
|
||||
|
||||
if (_channels[channel]->openSound(soundName, soundName)) {
|
||||
_channels[channel]->setBalance(pan);
|
||||
_channels[channel]->setVolume(volume);
|
||||
_channels[channel]->play();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user