Signed-off-by: Marc-André Lureau <[email protected]>
---
audio/audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/audio.c b/audio/audio.c
index b7a28f79d4f..e35b22697ee 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -1948,7 +1948,7 @@ void AUD_set_volume_out(SWVoiceOut *sw, Volume *vol)
sw->vol.mute = vol->mute;
sw->vol.l = nominal_volume.l * vol->vol[0] / 255;
- sw->vol.r = nominal_volume.l * vol->vol[vol->channels > 1 ? 1 : 0] /
+ sw->vol.r = nominal_volume.r * vol->vol[vol->channels > 1 ? 1 : 0] /
255;
if (hw->pcm_ops->volume_out) {
--
2.52.0