Don't need primary lock. Fixes error in dsound tests in interactive
mode.
This commit is contained in:
parent
1c4a69cf90
commit
9a3056b243
|
@ -2245,7 +2245,7 @@ static HRESULT WINAPI IDsDriverImpl_GetDriverDesc(PIDSDRIVER iface, PDSDRIVERDES
|
||||||
TRACE("(%p,%p)\n",iface,pDesc);
|
TRACE("(%p,%p)\n",iface,pDesc);
|
||||||
memcpy(pDesc, &(WOutDev[This->wDevID].ds_desc), sizeof(DSDRIVERDESC));
|
memcpy(pDesc, &(WOutDev[This->wDevID].ds_desc), sizeof(DSDRIVERDESC));
|
||||||
pDesc->dwFlags = DSDDESC_DOMMSYSTEMOPEN | DSDDESC_DOMMSYSTEMSETFORMAT |
|
pDesc->dwFlags = DSDDESC_DOMMSYSTEMOPEN | DSDDESC_DOMMSYSTEMSETFORMAT |
|
||||||
DSDDESC_USESYSTEMMEMORY;
|
DSDDESC_USESYSTEMMEMORY | DSDDESC_DONTNEEDPRIMARYLOCK;
|
||||||
pDesc->dnDevNode = WOutDev[This->wDevID].waveDesc.dnDevNode;
|
pDesc->dnDevNode = WOutDev[This->wDevID].waveDesc.dnDevNode;
|
||||||
pDesc->wVxdId = 0;
|
pDesc->wVxdId = 0;
|
||||||
pDesc->wReserved = 0;
|
pDesc->wReserved = 0;
|
||||||
|
|
Loading…
Reference in New Issue