From 618a056d77dd35f90bc51fe4d6bf59f62cc68773 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 18 Oct 2020 19:26:06 +0200 Subject: [PATCH] CD Audio volume should now be twice as loud. --- src/sound/sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sound/sound.c b/src/sound/sound.c index 4dcbdf8d7..d240d60c9 100644 --- a/src/sound/sound.c +++ b/src/sound/sound.c @@ -286,8 +286,8 @@ sound_cd_thread(void *param) #endif /*Apply sound card CD volume*/ - cd_buffer_temp[0] *= ((float) cd_vol_l) / 65535.0; - cd_buffer_temp[1] *= ((float) cd_vol_r) / 65535.0; + cd_buffer_temp[0] *= ((float) cd_vol_l) / 32768.0; + cd_buffer_temp[1] *= ((float) cd_vol_r) / 32768.0; if (sound_is_float) { cd_out_buffer[c] += (cd_buffer_temp[0] / 32768.0);