Reduce filter gain value to 0.65 on AudioPCI-based cards (#190)

Fixes crackling, popping and distorted sounds in a number of games,  DOS ones in particularly.
This commit is contained in:
unreal9010
2022-12-12 08:13:31 +01:00
committed by GitHub
parent d3a24aab5c
commit e1e3475bd4

View File

@@ -1212,7 +1212,7 @@ static void generate_es1371_filter() {
for (n = 0; n < ES1371_NCoef; n++)
gain += low_fir_es1371_coef[n] / (float)N;
gain /= 0.95;
gain /= 0.65;
/*Normalise filter, to produce unity gain*/
for (n = 0; n < ES1371_NCoef; n++)