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
9f32c0d9
Commit
9f32c0d9
authored
Feb 16, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Assume volume is not supported if waveGetOutVolume fails.
parent
5720375f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wave.c
dlls/winmm/tests/wave.c
+3
-1
No files found.
dlls/winmm/tests/wave.c
View file @
9f32c0d9
...
...
@@ -62,7 +62,8 @@ static void test_multiple_waveopens(void)
/* In windows this is most likely allowed, in wine an application can use the waveout
* interface, but so can directsound.. this causes problems if directsound goes active
*/
todo_wine
ok
(
ret
==
MMSYSERR_NOERROR
,
"waveOutOpen returns: %x
\n
"
,
ret
);
todo_wine
ok
(
ret
==
MMSYSERR_NOERROR
||
broken
(
ret
==
MMSYSERR_ALLOCATED
),
/* winME */
"waveOutOpen returns: %x
\n
"
,
ret
);
if
(
ret
==
MMSYSERR_NOERROR
)
waveOutClose
(
handle2
);
...
...
@@ -700,6 +701,7 @@ static void wave_out_test_deviceOut(int device, double duration,
ok
(
rc
==
MMSYSERR_INVALPARAM
,
"waveOutGetVolume(%s,0) expected "
"MMSYSERR_INVALPARAM, got %s
\n
"
,
dev_name
(
device
),
wave_out_error
(
rc
));
rc
=
waveOutGetVolume
(
wout
,
&
volume
);
if
(
rc
==
MMSYSERR_NOTSUPPORTED
)
has_volume
=
FALSE
;
ok
(
has_volume
?
rc
==
MMSYSERR_NOERROR
:
rc
==
MMSYSERR_NOTSUPPORTED
,
"waveOutGetVolume(%s): rc=%s
\n
"
,
dev_name
(
device
),
wave_out_error
(
rc
));
...
...
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