Commit 0d30481a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Suppress junk noise at startup of DirectSound on SB Live! and ES 1371.

parent aef9a360
......@@ -1195,6 +1195,9 @@ static HRESULT DSDB_MapPrimary(IDsDriverBufferImpl *dsdb)
return DSERR_GENERIC;
}
TRACE("(%p): sound device has been mapped for direct access at %p, size=%ld\n", dsdb, wwo->mapping, wwo->maplen);
/* for some reason, es1371 and sblive! sometimes have junk in here. */
memset(wwo->mapping,0,wwo->maplen); /* clear it, or we get junk noise */
}
return DS_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment