Merge pull request #2882 from Cacodemon345/mirosound_pcm10_opl4

OPTiMC: Don't factor in the SB mixer OPL volumes
This commit is contained in:
Miran Grča
2022-11-20 11:48:34 +01:00
committed by GitHub

View File

@@ -76,6 +76,8 @@ optimc_filter_opl(void* priv, double* out_l, double* out_r)
optimc_t *optimc = (optimc_t *) priv;
if (optimc->cur_wss_enabled) {
*out_l /= optimc->sb->mixer_sbpro.fm_l;
*out_r /= optimc->sb->mixer_sbpro.fm_r;
ad1848_filter_aux2((void*)&optimc->ad1848, out_l, out_r);
}
}