And the AD1848 as well.
This commit is contained in:
@@ -227,7 +227,7 @@ static void ad1848_filter_cd_audio(int channel, float *buffer, void *p)
|
|||||||
int32_t c;
|
int32_t c;
|
||||||
uint32_t volume = channel ? ad1848->cd_vol_r : ad1848->cd_vol_l;
|
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;
|
*buffer = (float) c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user