dsound: Fix buffer caps.

This commit is contained in:
Maarten Lankhorst 2007-05-30 18:32:35 +02:00 committed by Alexandre Julliard
parent d0de7e72ec
commit 909ed9937a
2 changed files with 4 additions and 10 deletions

View file

@ -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;

View file

@ -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;