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
abdce339
Commit
abdce339
authored
Apr 30, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Apr 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
You have to have at least one device before you can have a default
device.
parent
77c7c61e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
wave.c
dlls/winmm/tests/wave.c
+8
-0
No files found.
dlls/winmm/tests/wave.c
View file @
abdce339
...
...
@@ -269,8 +269,12 @@ static void wave_out_tests()
"waveOutGetDevCapsA: MMSYSERR_BADDEVICEID expected, got %d
\n
"
,
rc
);
rc
=
waveOutGetDevCapsA
(
WAVE_MAPPER
,
&
caps
,
sizeof
(
caps
));
if
(
ndev
>
0
)
ok
(
rc
==
MMSYSERR_NOERROR
,
"waveOutGetDevCapsA: MMSYSERR_NOERROR expected, got %d
\n
"
,
rc
);
else
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
"waveOutGetDevCapsA: MMSYSERR_BADDEVICEID expected, got %d
\n
"
,
rc
);
format
.
wFormatTag
=
WAVE_FORMAT_PCM
;
format
.
nChannels
=
2
;
...
...
@@ -491,8 +495,12 @@ static void wave_in_tests()
"waveInGetDevCapsA: MMSYSERR_BADDEVICEID expected, got %d(%s)
\n
"
,
rc
,
wave_in_error
(
rc
));
rc
=
waveInGetDevCapsA
(
WAVE_MAPPER
,
&
caps
,
sizeof
(
caps
));
if
(
ndev
>
0
)
ok
(
rc
==
MMSYSERR_NOERROR
,
"waveInGetDevCapsA: MMSYSERR_NOERROR expected, got %d
\n
"
,
rc
);
else
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
"waveInGetDevCapsA: MMSYSERR_BADDEVICEID expected, got %d
\n
"
,
rc
);
format
.
wFormatTag
=
WAVE_FORMAT_PCM
;
format
.
nChannels
=
2
;
...
...
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