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
3230ea02
Commit
3230ea02
authored
Oct 13, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Oct 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Make sure device buflen is initially set to ds_hel_buflen.
parent
d16a634c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
primary.c
dlls/dsound/primary.c
+2
-3
No files found.
dlls/dsound/primary.c
View file @
3230ea02
...
...
@@ -148,9 +148,8 @@ static HRESULT DSOUND_PrimaryOpen(DirectSoundDevice *device)
/* on original windows, the buffer it set to a fixed size, no matter what the settings are.
on windows this size is always fixed (tested on win-xp) */
if
(
!
device
->
buflen
)
buflen
=
ds_hel_buflen
;
else
/* In case we move from hw accelerated to waveout */
buflen
=
device
->
buflen
;
device
->
buflen
=
ds_hel_buflen
;
buflen
=
device
->
buflen
;
buflen
-=
buflen
%
device
->
pwfx
->
nBlockAlign
;
device
->
buflen
=
buflen
;
...
...
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