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
9d06d41e
Commit
9d06d41e
authored
Feb 14, 2012
by
Andrew Eikum
Committed by
Alexandre Julliard
Feb 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Add some more DSCAPS flags.
parent
16dc8357
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dsound.c
dlls/dsound/dsound.c
+5
-0
No files found.
dlls/dsound/dsound.c
View file @
9d06d41e
...
...
@@ -1480,6 +1480,11 @@ HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcG
DSOUND_check_supported
(
device
->
client
,
96000
,
16
,
2
))
device
->
drvcaps
.
dwFlags
|=
DSCAPS_PRIMARY16BIT
|
DSCAPS_PRIMARYSTEREO
;
/* the dsound mixer supports all of the following */
device
->
drvcaps
.
dwFlags
|=
DSCAPS_SECONDARY8BIT
|
DSCAPS_SECONDARY16BIT
;
device
->
drvcaps
.
dwFlags
|=
DSCAPS_SECONDARYMONO
|
DSCAPS_SECONDARYSTEREO
;
device
->
drvcaps
.
dwFlags
|=
DSCAPS_CONTINUOUSRATE
;
device
->
drvcaps
.
dwPrimaryBuffers
=
1
;
device
->
drvcaps
.
dwMinSecondarySampleRate
=
DSBFREQUENCY_MIN
;
device
->
drvcaps
.
dwMaxSecondarySampleRate
=
DSBFREQUENCY_MAX
;
...
...
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