And the AD1848 as well.

This commit is contained in:
OBattler
2020-10-19 02:22:53 +02:00
parent 39ffde2d72
commit f680e3fe0a

View File

@@ -227,7 +227,7 @@ static void ad1848_filter_cd_audio(int channel, float *buffer, void *p)
int32_t c;
uint32_t volume = channel ? ad1848->cd_vol_r : ad1848->cd_vol_l;
c = (((int32_t) buffer) * volume) >> 16;
c = (((int32_t) *buffer) * volume) >> 16;
*buffer = (float) c;
}