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
dfc05649
Commit
dfc05649
authored
Dec 05, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Don't mess with the mixer controls in non-interactive mode.
parent
f4ec0a20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
mixer.c
dlls/winmm/tests/mixer.c
+4
-8
No files found.
dlls/winmm/tests/mixer.c
View file @
dfc05649
...
...
@@ -195,11 +195,10 @@ static void mixer_test_controlA(HMIXER mix, LPMIXERCONTROLA control)
ok
(
rc
==
MMSYSERR_NOERROR
,
"mixerGetControlDetails(MIXER_GETCONTROLDETAILSF_VALUE): "
"MMSYSERR_NOERROR expected, got %s
\n
"
,
mmsys_error
(
rc
));
if
(
rc
==
MMSYSERR_NOERROR
)
{
if
(
rc
==
MMSYSERR_NOERROR
&&
winetest_interactive
)
{
MIXERCONTROLDETAILS
new_details
;
MIXERCONTROLDETAILS_UNSIGNED
new_value
;
if
(
winetest_interactive
)
trace
(
" Value=%d
\n
"
,
value
.
dwValue
);
if
(
value
.
dwValue
+
control
->
Metrics
.
cSteps
<
S1
(
control
->
Bounds
).
dwMaximum
)
...
...
@@ -275,11 +274,10 @@ static void mixer_test_controlA(HMIXER mix, LPMIXERCONTROLA control)
ok
(
rc
==
MMSYSERR_NOERROR
,
"mixerGetControlDetails(MIXER_GETCONTROLDETAILSF_VALUE): "
"MMSYSERR_NOERROR expected, got %s
\n
"
,
mmsys_error
(
rc
));
if
(
rc
==
MMSYSERR_NOERROR
)
{
if
(
rc
==
MMSYSERR_NOERROR
&&
winetest_interactive
)
{
MIXERCONTROLDETAILS
new_details
;
MIXERCONTROLDETAILS_BOOLEAN
new_value
;
if
(
winetest_interactive
)
trace
(
" Value=%d
\n
"
,
value
.
fValue
);
if
(
value
.
fValue
==
FALSE
)
...
...
@@ -584,11 +582,10 @@ static void mixer_test_controlW(HMIXER mix, LPMIXERCONTROLW control)
ok
(
rc
==
MMSYSERR_NOERROR
,
"mixerGetControlDetails(MIXER_GETCONTROLDETAILSF_VALUE): "
"MMSYSERR_NOERROR expected, got %s
\n
"
,
mmsys_error
(
rc
));
if
(
rc
==
MMSYSERR_NOERROR
)
{
if
(
rc
==
MMSYSERR_NOERROR
&&
winetest_interactive
)
{
MIXERCONTROLDETAILS
new_details
;
MIXERCONTROLDETAILS_UNSIGNED
new_value
;
if
(
winetest_interactive
)
trace
(
" Value=%d
\n
"
,
value
.
dwValue
);
if
(
value
.
dwValue
+
control
->
Metrics
.
cSteps
<
S1
(
control
->
Bounds
).
dwMaximum
)
...
...
@@ -664,11 +661,10 @@ static void mixer_test_controlW(HMIXER mix, LPMIXERCONTROLW control)
ok
(
rc
==
MMSYSERR_NOERROR
,
"mixerGetControlDetails(MIXER_GETCONTROLDETAILSF_VALUE): "
"MMSYSERR_NOERROR expected, got %s
\n
"
,
mmsys_error
(
rc
));
if
(
rc
==
MMSYSERR_NOERROR
)
{
if
(
rc
==
MMSYSERR_NOERROR
&&
winetest_interactive
)
{
MIXERCONTROLDETAILS
new_details
;
MIXERCONTROLDETAILS_BOOLEAN
new_value
;
if
(
winetest_interactive
)
trace
(
" Value=%d
\n
"
,
value
.
fValue
);
if
(
value
.
fValue
==
FALSE
)
...
...
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