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
b9084bc9
Commit
b9084bc9
authored
Oct 23, 2008
by
Jeff Zaroyko
Committed by
Alexandre Julliard
Oct 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Fix failing propset and capture tests on win98.
parent
68f0e064
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
capture.c
dlls/dsound/tests/capture.c
+5
-1
propset.c
dlls/dsound/tests/propset.c
+7
-1
No files found.
dlls/dsound/tests/capture.c
View file @
b9084bc9
...
...
@@ -596,9 +596,13 @@ static BOOL WINAPI dscenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
bufdesc1
.
lpwfxFormat
=&
wfx
;
rc
=
IDirectSoundCapture_CreateCaptureBuffer
(
dsco
,
(
DSCBUFFERDESC
*
)
&
bufdesc1
,
&
dscbo
,
NULL
);
ok
(
rc
==
DS_OK
||
broken
(
rc
==
E_INVALIDARG
),
ok
(
rc
==
DS_OK
||
broken
(
rc
==
DSERR_INVALIDPARAM
),
"IDirectSoundCapture_CreateCaptureBuffer() failed to create a "
"%s capture buffer: %08x
\n
"
,
format_string
(
&
wfx
),
rc
);
if
(
rc
==
DSERR_INVALIDPARAM
)
{
skip
(
"broken driver
\n
"
);
goto
EXIT
;
}
if
(
rc
==
DS_OK
)
{
test_capture_buffer
(
dsco
,
dscbo
,
winetest_interactive
);
ref
=
IDirectSoundCaptureBuffer_Release
(
dscbo
);
...
...
dlls/dsound/tests/propset.c
View file @
b9084bc9
...
...
@@ -591,8 +591,14 @@ static BOOL WINAPI dsenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
bufdesc
.
dwSize
=
sizeof
(
bufdesc
);
bufdesc
.
dwFlags
=
DSBCAPS_PRIMARYBUFFER
|
DSBCAPS_LOCHARDWARE
|
DSBCAPS_CTRL3D
;
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
primary
,
NULL
);
ok
(
rc
==
DS_OK
&&
primary
!=
NULL
,
"IDirectSound_CreateSoundBuffer() failed to "
ok
((
rc
==
DS_OK
&&
primary
!=
NULL
)
||
broken
(
rc
==
DSERR_INVALIDPARAM
),
"IDirectSound_CreateSoundBuffer() failed to "
"create a hardware 3D primary buffer: %08x
\n
"
,
rc
);
if
(
rc
==
DSERR_INVALIDPARAM
)
{
skip
(
"broken driver
\n
"
);
goto
EXIT
;
}
if
(
rc
==
DS_OK
&&
primary
!=
NULL
)
{
ZeroMemory
(
&
wfx
,
sizeof
(
wfx
));
wfx
.
wFormatTag
=
WAVE_FORMAT_PCM
;
...
...
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