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
19da00a6
Commit
19da00a6
authored
Sep 30, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Mark some Vmware sound driver failures as broken.
parent
7a151d5e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
ds3d.c
dlls/dsound/tests/ds3d.c
+2
-2
dsound.c
dlls/dsound/tests/dsound.c
+6
-6
propset.c
dlls/dsound/tests/propset.c
+2
-2
No files found.
dlls/dsound/tests/ds3d.c
View file @
19da00a6
...
...
@@ -805,8 +805,8 @@ static HRESULT test_secondary(LPGUID lpGuid, int play,
wfx1
.
nSamplesPerSec
,
wfx1
.
wBitsPerSample
,
wfx1
.
nChannels
);
}
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
secondary
,
NULL
);
ok
(
rc
==
DS_OK
&&
secondary
!=
NULL
,
"IDirectSound_CreateSoundBuffer() "
"failed to create a %s%ssecondary buffer %s%s%s%sat %dx%dx%d (%s): %08x
\n
"
,
ok
(
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"
IDirectSound_CreateSoundBuffer()
failed to create a %s%ssecondary buffer %s%s%s%sat %dx%dx%d (%s): %08x
\n
"
,
has_3dbuffer
?
"3D "
:
""
,
has_duplicate
?
"duplicated "
:
""
,
listener
!=
NULL
||
move_sound
?
"with "
:
""
,
move_listener
?
"moving "
:
""
,
listener
!=
NULL
?
"listener "
:
""
,
...
...
dlls/dsound/tests/dsound.c
View file @
19da00a6
...
...
@@ -326,7 +326,7 @@ static HRESULT test_dsound(LPGUID lpGuid)
wfx
.
nBlockAlign
);
bufdesc
.
lpwfxFormat
=&
wfx
;
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
secondary
,
NULL
);
ok
(
rc
==
DS_OK
&&
secondary
!=
NULL
,
ok
(
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"IDirectSound_CreateSoundBuffer() failed to create a secondary "
"buffer %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
{
...
...
@@ -618,7 +618,7 @@ static HRESULT test_primary_secondary(LPGUID lpGuid)
wfx2
.
nSamplesPerSec
,
wfx2
.
wBitsPerSample
,
wfx2
.
nChannels
);
}
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
secondary
,
NULL
);
ok
(
rc
==
DS_OK
&&
secondary
!=
NULL
,
ok
(
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
{
...
...
@@ -729,7 +729,7 @@ static HRESULT test_secondary(LPGUID lpGuid)
"should have returned (DSERR_CONTROLUNAVAIL or DSERR_INVALIDCALL) "
"and NULL, returned: %08x %p
\n
"
,
rc
,
secondary
);
else
ok
(
rc
==
DS_OK
&&
secondary
!=
NULL
,
ok
(
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x
\n
"
,
rc
);
}
else
...
...
@@ -883,8 +883,8 @@ static HRESULT test_block_align(LPGUID lpGuid)
bufdesc
.
dwBufferBytes
=
wfx
.
nAvgBytesPerSec
+
1
;
bufdesc
.
lpwfxFormat
=&
wfx
;
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
secondary
,
NULL
);
ok
(
rc
==
DS_OK
,
"IDirectSound_CreateSoundBuffer() "
"should have returned DS_OK, returned: %08x
\n
"
,
rc
);
ok
(
rc
==
DS_OK
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"
IDirectSound_CreateSoundBuffer()
should have returned DS_OK, returned: %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
{
ZeroMemory
(
&
dsbcaps
,
sizeof
(
dsbcaps
));
...
...
@@ -993,7 +993,7 @@ static HRESULT test_frequency(LPGUID lpGuid)
wfx1
.
nSamplesPerSec
,
wfx1
.
wBitsPerSample
,
wfx1
.
nChannels
);
}
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
secondary
,
NULL
);
ok
(
rc
==
DS_OK
&&
secondary
!=
NULL
,
ok
(
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
{
...
...
dlls/dsound/tests/propset.c
View file @
19da00a6
...
...
@@ -616,8 +616,8 @@ static BOOL WINAPI dsenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
trace
(
" Testing a secondary buffer at %dx%dx%d
\n
"
,
wfx
.
nSamplesPerSec
,
wfx
.
wBitsPerSample
,
wfx
.
nChannels
);
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
secondary
,
NULL
);
ok
(
rc
==
DS_OK
&&
secondary
!=
NULL
,
"IDirectSound_CreateSoundBuffer() "
"failed to create a secondary buffer: %08x
\n
"
,
rc
);
ok
(
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
||
broken
(
rc
==
DSERR_CONTROLUNAVAIL
),
/* vmware drivers on w2k */
"
IDirectSound_CreateSoundBuffer()
failed to create a secondary buffer: %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
secondary
!=
NULL
)
{
IKsPropertySet
*
pPropertySet
=
NULL
;
rc
=
IDirectSoundBuffer_QueryInterface
(
secondary
,
...
...
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