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
aff83e69
Commit
aff83e69
authored
Dec 14, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss.drv: Move a function wide variable down to the block it is used in.
parent
8423809f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mixer.c
dlls/wineoss.drv/mixer.c
+3
-3
No files found.
dlls/wineoss.drv/mixer.c
View file @
aff83e69
...
...
@@ -1063,7 +1063,7 @@ static DWORD MIX_GetControlDetails(WORD wDevID, LPMIXERCONTROLDETAILS lpmcd,
DWORD
fdwDetails
)
{
DWORD
ret
=
MMSYSERR_NOTSUPPORTED
;
DWORD
c
,
c
hnl
;
DWORD
chnl
;
struct
mixer
*
mix
;
TRACE
(
"(%04X, %p, %u);
\n
"
,
wDevID
,
lpmcd
,
fdwDetails
);
...
...
@@ -1084,7 +1084,7 @@ static DWORD MIX_GetControlDetails(WORD wDevID, LPMIXERCONTROLDETAILS lpmcd,
TRACE
(
"MIXER_GETCONTROLDETAILSF_VALUE (%08x)
\n
"
,
lpmcd
->
dwControlID
);
if
(
MIX_CheckControl
(
mix
,
lpmcd
->
dwControlID
))
{
c
=
lpmcd
->
dwControlID
-
1
;
DWORD
c
=
lpmcd
->
dwControlID
-
1
;
chnl
=
HIWORD
(
mix
->
ctrl
[
c
].
dwLineID
);
if
(
chnl
==
LINEID_DST
)
chnl
=
LOWORD
(
mix
->
ctrl
[
c
].
dwLineID
)
?
SOUND_MIXER_RECLEV
:
...
...
@@ -1221,7 +1221,7 @@ static DWORD MIX_GetControlDetails(WORD wDevID, LPMIXERCONTROLDETAILS lpmcd,
ret
=
MMSYSERR_INVALPARAM
;
if
(
MIX_CheckControl
(
mix
,
lpmcd
->
dwControlID
))
{
int
c
=
lpmcd
->
dwControlID
-
1
;
DWORD
c
=
lpmcd
->
dwControlID
-
1
;
if
(
mix
->
ctrl
[
c
].
ctrl
.
dwControlType
==
MIXERCONTROL_CONTROLTYPE_MUX
||
mix
->
ctrl
[
c
].
ctrl
.
dwControlType
==
MIXERCONTROL_CONTROLTYPE_MIXER
)
...
...
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