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
b78744ce
Commit
b78744ce
authored
Oct 03, 2012
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Skip unknown sizes in tests (Coverity).
parent
4413e00e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ds3d.c
dlls/dsound/tests/ds3d.c
+3
-1
ds3d8.c
dlls/dsound/tests/ds3d8.c
+3
-1
No files found.
dlls/dsound/tests/ds3d.c
View file @
b78744ce
...
...
@@ -381,7 +381,9 @@ void test_buffer(LPDIRECTSOUND dso, LPDIRECTSOUNDBUFFER *dsbo,
rc
=
IDirectSoundBuffer_GetFormat
(
*
dsbo
,(
WAVEFORMATEX
*
)
&
wfxe
,
size
,
NULL
);
wfx
=
wfxe
.
Format
;
ieee
=
IsEqualGUID
(
&
wfxe
.
SubFormat
,
&
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
);
}
}
else
return
;
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_GetFormat() failed: %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
winetest_debug
>
1
)
{
...
...
dlls/dsound/tests/ds3d8.c
View file @
b78744ce
...
...
@@ -223,7 +223,9 @@ void test_buffer8(LPDIRECTSOUND8 dso, LPDIRECTSOUNDBUFFER * dsbo,
rc
=
IDirectSoundBuffer_GetFormat
(
*
dsbo
,(
WAVEFORMATEX
*
)
&
wfxe
,
size
,
NULL
);
wfx
=
wfxe
.
Format
;
ieee
=
IsEqualGUID
(
&
wfxe
.
SubFormat
,
&
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
);
}
}
else
return
;
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_GetFormat() failed: %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
winetest_debug
>
1
)
{
trace
(
" Format: %s tag=0x%04x %dx%dx%d avg.B/s=%d align=%d
\n
"
,
...
...
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