mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
Suppress junk noise at startup of DirectSound on SB Live! and ES 1371.
This commit is contained in:
parent
aef9a36059
commit
0d30481a31
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user