Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ff25b25a
Commit
ff25b25a
authored
May 08, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
May 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Don't set very low limits on HW buffers.
parent
b3fb5992
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
dsound.c
dlls/dsound/dsound.c
+4
-10
No files found.
dlls/dsound/dsound.c
View file @
ff25b25a
...
...
@@ -375,8 +375,8 @@ static HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGU
device
->
drvcaps
.
dwMinSecondarySampleRate
=
DSBFREQUENCY_MIN
;
device
->
drvcaps
.
dwMaxSecondarySampleRate
=
DSBFREQUENCY_MAX
;
device
->
drvcaps
.
dwMaxHwMixingAllBuffers
=
16
;
device
->
drvcaps
.
dwMaxHwMixingStaticBuffers
=
1
;
device
->
drvcaps
.
dwMaxHwMixingStreamingBuffers
=
1
;
device
->
drvcaps
.
dwMaxHwMixingStaticBuffers
=
device
->
drvcaps
.
dwMaxHwMixingAllBuffers
;
device
->
drvcaps
.
dwMaxHwMixingStreamingBuffers
=
device
->
drvcaps
.
dwMaxHwMixingAllBuffers
;
device
->
drvcaps
.
dwFreeHwMixingAllBuffers
=
device
->
drvcaps
.
dwMaxHwMixingAllBuffers
;
device
->
drvcaps
.
dwFreeHwMixingStaticBuffers
=
device
->
drvcaps
.
dwMaxHwMixingStaticBuffers
;
device
->
drvcaps
.
dwFreeHwMixingStreamingBuffers
=
device
->
drvcaps
.
dwMaxHwMixingStreamingBuffers
;
...
...
@@ -814,14 +814,8 @@ static HRESULT WINAPI IDirectSound8Impl_GetCaps(IDirectSound8 *iface, DSCAPS *ds
dscaps
->
dwMaxHwMixingStaticBuffers
=
This
->
device
->
drvcaps
.
dwMaxHwMixingStaticBuffers
;
dscaps
->
dwMaxHwMixingStreamingBuffers
=
This
->
device
->
drvcaps
.
dwMaxHwMixingStreamingBuffers
;
dscaps
->
dwFreeHwMixingAllBuffers
=
This
->
device
->
drvcaps
.
dwFreeHwMixingAllBuffers
;
if
(
This
->
device
->
drvcaps
.
dwFreeHwMixingAllBuffers
>
0
)
{
dscaps
->
dwFreeHwMixingStaticBuffers
=
This
->
device
->
drvcaps
.
dwFreeHwMixingStaticBuffers
;
dscaps
->
dwFreeHwMixingStreamingBuffers
=
This
->
device
->
drvcaps
.
dwFreeHwMixingStreamingBuffers
;
}
else
{
dscaps
->
dwFreeHwMixingStaticBuffers
=
0
;
dscaps
->
dwFreeHwMixingStreamingBuffers
=
0
;
}
dscaps
->
dwFreeHwMixingStaticBuffers
=
This
->
device
->
drvcaps
.
dwFreeHwMixingAllBuffers
;
dscaps
->
dwFreeHwMixingStreamingBuffers
=
This
->
device
->
drvcaps
.
dwFreeHwMixingAllBuffers
;
dscaps
->
dwMaxHw3DAllBuffers
=
This
->
device
->
drvcaps
.
dwMaxHw3DAllBuffers
;
dscaps
->
dwMaxHw3DStaticBuffers
=
This
->
device
->
drvcaps
.
dwMaxHw3DStaticBuffers
;
...
...
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