Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
909ed993
Commit
909ed993
authored
May 30, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jun 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Fix buffer caps.
parent
d0de7e72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
buffer.c
dlls/dsound/buffer.c
+2
-5
primary.c
dlls/dsound/primary.c
+2
-5
No files found.
dlls/dsound/buffer.c
View file @
909ed993
...
@@ -898,11 +898,8 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetCaps(
...
@@ -898,11 +898,8 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetCaps(
caps
->
dwBufferBytes
=
This
->
buflen
;
caps
->
dwBufferBytes
=
This
->
buflen
;
/* This value represents the speed of the "unlock" command.
/* According to windows, this is zero*/
As unlock is quite fast (it does not do anything), I put
caps
->
dwUnlockTransferRate
=
0
;
4096 ko/s = 4 Mo / s */
/* FIXME: hwbuf speed */
caps
->
dwUnlockTransferRate
=
4096
;
caps
->
dwPlayCpuOverhead
=
0
;
caps
->
dwPlayCpuOverhead
=
0
;
return
DS_OK
;
return
DS_OK
;
...
...
dlls/dsound/primary.c
View file @
909ed993
...
@@ -914,11 +914,8 @@ static HRESULT WINAPI PrimaryBufferImpl_GetCaps(
...
@@ -914,11 +914,8 @@ static HRESULT WINAPI PrimaryBufferImpl_GetCaps(
caps
->
dwBufferBytes
=
device
->
buflen
;
caps
->
dwBufferBytes
=
device
->
buflen
;
/* This value represents the speed of the "unlock" command.
/* Windows reports these as zero */
As unlock is quite fast (it does not do anything), I put
caps
->
dwUnlockTransferRate
=
0
;
4096 ko/s = 4 Mo / s */
/* FIXME: hwbuf speed */
caps
->
dwUnlockTransferRate
=
4096
;
caps
->
dwPlayCpuOverhead
=
0
;
caps
->
dwPlayCpuOverhead
=
0
;
return
DS_OK
;
return
DS_OK
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment