mirror of
https://github.com/reactos/wine.git
synced 2025-02-20 12:50:53 +00:00
dsound: Fix buffer caps.
This commit is contained in:
parent
d0de7e72ec
commit
909ed9937a
@ -898,11 +898,8 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetCaps(
|
||||
|
||||
caps->dwBufferBytes = This->buflen;
|
||||
|
||||
/* This value represents the speed of the "unlock" command.
|
||||
As unlock is quite fast (it does not do anything), I put
|
||||
4096 ko/s = 4 Mo / s */
|
||||
/* FIXME: hwbuf speed */
|
||||
caps->dwUnlockTransferRate = 4096;
|
||||
/* According to windows, this is zero*/
|
||||
caps->dwUnlockTransferRate = 0;
|
||||
caps->dwPlayCpuOverhead = 0;
|
||||
|
||||
return DS_OK;
|
||||
|
@ -914,11 +914,8 @@ static HRESULT WINAPI PrimaryBufferImpl_GetCaps(
|
||||
|
||||
caps->dwBufferBytes = device->buflen;
|
||||
|
||||
/* This value represents the speed of the "unlock" command.
|
||||
As unlock is quite fast (it does not do anything), I put
|
||||
4096 ko/s = 4 Mo / s */
|
||||
/* FIXME: hwbuf speed */
|
||||
caps->dwUnlockTransferRate = 4096;
|
||||
/* Windows reports these as zero */
|
||||
caps->dwUnlockTransferRate = 0;
|
||||
caps->dwPlayCpuOverhead = 0;
|
||||
|
||||
return DS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user