Don't mute Sound Blaster DSP output when DMA disabled. Fixes use of SB Direct Output.
This commit is contained in:
parent
e12eb0ff0d
commit
5c3ae2556a
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue