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
6a41aeef
Commit
6a41aeef
authored
Mar 05, 2015
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Mar 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Add MCI_SETAUDIO command tests.
parent
11db4481
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
mci.c
dlls/winmm/tests/mci.c
+14
-0
No files found.
dlls/winmm/tests/mci.c
View file @
6a41aeef
...
...
@@ -1329,6 +1329,20 @@ static void test_playWaveTypeMpegvideo(void)
ok
(
status_parm
.
dwReturn
==
MCI_MODE_PLAY
,
"mciCommand status mode: %u
\n
"
,
(
DWORD
)
status_parm
.
dwReturn
);
err
=
mciSendStringA
(
"setaudio mysound volume to 1000"
,
NULL
,
0
,
NULL
);
ok
(
!
err
,
"mci setaudio volume to 1000 returned %s
\n
"
,
dbg_mcierr
(
err
));
err
=
mciSendStringA
(
"status mysound mode"
,
buf
,
sizeof
(
buf
),
NULL
);
ok
(
!
err
,
"mci status mode returned %s
\n
"
,
dbg_mcierr
(
err
));
todo_wine
ok
(
!
strcmp
(
buf
,
"playing"
),
"mci status mode: %s
\n
"
,
buf
);
err
=
mciSendStringA
(
"setaudio mysound volume to 1001"
,
NULL
,
0
,
NULL
);
todo_wine
ok
(
err
==
MCIERR_OUTOFRANGE
,
"mci setaudio volume to 1001 returned %s
\n
"
,
dbg_mcierr
(
err
));
err
=
mciSendStringA
(
"status mysound mode"
,
buf
,
sizeof
(
buf
),
NULL
);
ok
(
!
err
,
"mci status mode returned %s
\n
"
,
dbg_mcierr
(
err
));
todo_wine
ok
(
!
strcmp
(
buf
,
"playing"
),
"mci status mode: %s
\n
"
,
buf
);
err
=
mciSendStringA
(
"close mysound"
,
NULL
,
0
,
NULL
);
ok
(
!
err
,
"mci close returned %s
\n
"
,
dbg_mcierr
(
err
));
}
...
...
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