Don't mute Sound Blaster DSP output when DMA disabled. Fixes use of SB Direct Output.

This commit is contained in:
SarahW 2017-12-02 18:04:04 +00:00
commit 5c3ae2556a

View file

@ -1110,8 +1110,7 @@ void sb_poll_i(void *p)
void sb_dsp_update(sb_dsp_t *dsp) void sb_dsp_update(sb_dsp_t *dsp)
{ {
/*this "if" implements two things: speaker on/off and buffer cleanup after stopping audio. */ if (dsp->muted)
if (!dsp->sbenable || dsp->muted)
{ {
dsp->sbdatl=0; dsp->sbdatl=0;
dsp->sbdatr=0; dsp->sbdatr=0;