From 5c3ae2556a38eb79aa2112f695b24ce29513b280 Mon Sep 17 00:00:00 2001 From: SarahW Date: Sat, 2 Dec 2017 18:04:04 +0000 Subject: [PATCH] Don't mute Sound Blaster DSP output when DMA disabled. Fixes use of SB Direct Output. --- src/sound_sb_dsp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sound_sb_dsp.c b/src/sound_sb_dsp.c index 6bb1639..6aebef1 100644 --- a/src/sound_sb_dsp.c +++ b/src/sound_sb_dsp.c @@ -1110,8 +1110,7 @@ void sb_poll_i(void *p) void sb_dsp_update(sb_dsp_t *dsp) { - /*this "if" implements two things: speaker on/off and buffer cleanup after stopping audio. */ - if (!dsp->sbenable || dsp->muted) + if (dsp->muted) { dsp->sbdatl=0; dsp->sbdatr=0;