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
8b086d60
Commit
8b086d60
authored
Oct 16, 2009
by
Ken Thomases
Committed by
Alexandre Julliard
Oct 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Don't complain for Wine drivers that allow multiple wave-out opens.
parent
f639c4df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
wave.c
dlls/winmm/tests/wave.c
+9
-5
No files found.
dlls/winmm/tests/wave.c
View file @
8b086d60
...
@@ -59,12 +59,16 @@ static void test_multiple_waveopens(void)
...
@@ -59,12 +59,16 @@ static void test_multiple_waveopens(void)
}
}
ret
=
waveOutOpen
(
&
handle2
,
0
,
&
wfx
,
0
,
0
,
0
);
ret
=
waveOutOpen
(
&
handle2
,
0
,
&
wfx
,
0
,
0
,
0
);
/* In windows this is most likely allowed, in wine an application can use the waveout
/* Modern Windows allows for wave-out devices to be opened multiple times.
* interface, but so can directsound.. this causes problems if directsound goes active
* Some Wine audio drivers allow that and some don't. To avoid false alarms
* for those that do, don't "todo_wine ok(...)" on success.
*/
*/
todo_wine
ok
(
ret
==
MMSYSERR_NOERROR
||
broken
(
ret
==
MMSYSERR_ALLOCATED
),
/* winME */
if
(
ret
!=
MMSYSERR_NOERROR
)
"waveOutOpen returns: %x
\n
"
,
ret
);
{
if
(
ret
==
MMSYSERR_NOERROR
)
todo_wine
ok
(
ret
==
MMSYSERR_NOERROR
||
broken
(
ret
==
MMSYSERR_ALLOCATED
),
/* winME */
"second waveOutOpen returns: %x
\n
"
,
ret
);
}
else
waveOutClose
(
handle2
);
waveOutClose
(
handle2
);
waveOutClose
(
handle1
);
waveOutClose
(
handle1
);
...
...
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