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
d3d47395
Commit
d3d47395
authored
Feb 03, 2015
by
Mark Harmstone
Committed by
Alexandre Julliard
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Fix bug causing 5.1 speakers to appear as stereo.
parent
b0632af9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
audio.c
programs/winecfg/audio.c
+2
-2
No files found.
programs/winecfg/audio.c
View file @
d3d47395
...
...
@@ -122,7 +122,7 @@ static BOOL load_device(IMMDevice *dev, struct DeviceInfo *info)
hr
=
IPropertyStore_GetValue
(
ps
,
&
PKEY_AudioEndpoint_PhysicalSpeakers
,
&
pv
);
info
->
speaker_config
=
0
;
info
->
speaker_config
=
-
1
;
if
(
SUCCEEDED
(
hr
)
&&
pv
.
vt
==
VT_UI4
){
i
=
0
;
while
(
speaker_configs
[
i
].
text_id
!=
0
)
{
...
...
@@ -135,7 +135,7 @@ static BOOL load_device(IMMDevice *dev, struct DeviceInfo *info)
}
/* fallback to stereo */
if
(
info
->
speaker_config
==
0
)
if
(
info
->
speaker_config
==
-
1
)
info
->
speaker_config
=
2
;
IPropertyStore_Release
(
ps
);
...
...
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