Fixed a compile-breaking mistake in snd/snd_optimc.c, reported by te_lanus.
This commit is contained in:
@@ -157,7 +157,7 @@ optimc_reg_write(uint16_t addr, uint8_t val, void *p)
|
||||
if (val != old) {
|
||||
optimc->cur_mode = optimc->cur_wss_enabled = !!(val & 0x80);
|
||||
|
||||
if (ctx) /* WSS */
|
||||
if (optimc->cur_wss_enabled) /* WSS */
|
||||
sound_set_cd_audio_filter(ad1848_filter_cd_audio, &optimc->ad1848);
|
||||
else /* SBPro */
|
||||
sound_set_cd_audio_filter(sbpro_filter_cd_audio, optimc->sb);
|
||||
|
Reference in New Issue
Block a user