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
79084be3
Commit
79084be3
authored
Nov 26, 2012
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Set dwChannelMask when limiting channels.
parent
642e9a1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
primary.c
dlls/dsound/primary.c
+1
-0
No files found.
dlls/dsound/primary.c
View file @
79084be3
...
...
@@ -80,6 +80,7 @@ static HRESULT DSOUND_WaveFormat(DirectSoundDevice *device, IAudioClient *client
mixwfe
->
Format
.
nChannels
=
2
;
mixwfe
->
Format
.
nBlockAlign
=
mixwfe
->
Format
.
nChannels
*
mixwfe
->
Format
.
wBitsPerSample
/
8
;
mixwfe
->
Format
.
nAvgBytesPerSec
=
mixwfe
->
Format
.
nSamplesPerSec
*
mixwfe
->
Format
.
nBlockAlign
;
mixwfe
->
dwChannelMask
=
SPEAKER_FRONT_LEFT
|
SPEAKER_FRONT_RIGHT
;
}
if
(
!
IsEqualGUID
(
&
mixwfe
->
SubFormat
,
&
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
))
{
...
...
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