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
6b3dc57b
Commit
6b3dc57b
authored
Jun 12, 2005
by
Robert Reif
Committed by
Alexandre Julliard
Jun 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make dsound tests loadable on NT4.
parent
d11bdd5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
capture.c
dlls/dsound/tests/capture.c
+4
-4
No files found.
dlls/dsound/tests/capture.c
View file @
6b3dc57b
...
@@ -228,14 +228,14 @@ static void IDirectSoundCapture_tests()
...
@@ -228,14 +228,14 @@ static void IDirectSoundCapture_tests()
"should have failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
"should have failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
/* try with no device specified */
/* try with no device specified */
rc
=
DirectSoundCaptureCreate
(
NULL
,
&
dsco
,
NULL
);
rc
=
p
DirectSoundCaptureCreate
(
NULL
,
&
dsco
,
NULL
);
ok
(
rc
==
DS_OK
||
rc
==
DSERR_NODRIVER
||
rc
==
DSERR_ALLOCATED
||
rc
==
E_FAIL
,
ok
(
rc
==
DS_OK
||
rc
==
DSERR_NODRIVER
||
rc
==
DSERR_ALLOCATED
||
rc
==
E_FAIL
,
"DirectSoundCaptureCreate(NULL) failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
"DirectSoundCaptureCreate(NULL) failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
if
(
rc
==
S_OK
&&
dsco
)
if
(
rc
==
S_OK
&&
dsco
)
IDirectSoundCapture_test
(
dsco
,
TRUE
,
NULL
);
IDirectSoundCapture_test
(
dsco
,
TRUE
,
NULL
);
/* try with default capture device specified */
/* try with default capture device specified */
rc
=
DirectSoundCaptureCreate
(
&
DSDEVID_DefaultCapture
,
&
dsco
,
NULL
);
rc
=
p
DirectSoundCaptureCreate
(
&
DSDEVID_DefaultCapture
,
&
dsco
,
NULL
);
ok
(
rc
==
DS_OK
||
rc
==
DSERR_NODRIVER
||
rc
==
DSERR_ALLOCATED
||
rc
==
E_FAIL
,
ok
(
rc
==
DS_OK
||
rc
==
DSERR_NODRIVER
||
rc
==
DSERR_ALLOCATED
||
rc
==
E_FAIL
,
"DirectSoundCaptureCreate(DSDEVID_DefaultCapture) failed: %s
\n
"
,
"DirectSoundCaptureCreate(DSDEVID_DefaultCapture) failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
...
@@ -243,7 +243,7 @@ static void IDirectSoundCapture_tests()
...
@@ -243,7 +243,7 @@ static void IDirectSoundCapture_tests()
IDirectSoundCapture_test
(
dsco
,
TRUE
,
NULL
);
IDirectSoundCapture_test
(
dsco
,
TRUE
,
NULL
);
/* try with default voice capture device specified */
/* try with default voice capture device specified */
rc
=
DirectSoundCaptureCreate
(
&
DSDEVID_DefaultVoiceCapture
,
&
dsco
,
NULL
);
rc
=
p
DirectSoundCaptureCreate
(
&
DSDEVID_DefaultVoiceCapture
,
&
dsco
,
NULL
);
ok
(
rc
==
DS_OK
||
rc
==
DSERR_NODRIVER
||
rc
==
DSERR_ALLOCATED
||
rc
==
E_FAIL
,
ok
(
rc
==
DS_OK
||
rc
==
DSERR_NODRIVER
||
rc
==
DSERR_ALLOCATED
||
rc
==
E_FAIL
,
"DirectSoundCaptureCreate(DSDEVID_DefaultVoiceCapture) failed: %s
\n
"
,
"DirectSoundCaptureCreate(DSDEVID_DefaultVoiceCapture) failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
...
@@ -251,7 +251,7 @@ static void IDirectSoundCapture_tests()
...
@@ -251,7 +251,7 @@ static void IDirectSoundCapture_tests()
IDirectSoundCapture_test
(
dsco
,
TRUE
,
NULL
);
IDirectSoundCapture_test
(
dsco
,
TRUE
,
NULL
);
/* try with a bad device specified */
/* try with a bad device specified */
rc
=
DirectSoundCaptureCreate
(
&
DSDEVID_DefaultVoicePlayback
,
&
dsco
,
NULL
);
rc
=
p
DirectSoundCaptureCreate
(
&
DSDEVID_DefaultVoicePlayback
,
&
dsco
,
NULL
);
ok
(
rc
==
DSERR_NODRIVER
,
ok
(
rc
==
DSERR_NODRIVER
,
"DirectSoundCaptureCreate(DSDEVID_DefaultVoicePlatback) "
"DirectSoundCaptureCreate(DSDEVID_DefaultVoicePlatback) "
"should have failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
"should have failed: %s
\n
"
,
DXGetErrorString8
(
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