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
c460d9be
Commit
c460d9be
authored
Mar 14, 2006
by
Robert Reif
Committed by
Alexandre Julliard
Mar 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Add info to failed tests.
Print format for failed SetFormat calls.
parent
8efe95e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
ds3d.c
dlls/dsound/tests/ds3d.c
+2
-2
ds3d8.c
dlls/dsound/tests/ds3d8.c
+2
-2
dsound.c
dlls/dsound/tests/dsound.c
+2
-2
dsound8.c
dlls/dsound/tests/dsound8.c
+2
-2
No files found.
dlls/dsound/tests/ds3d.c
View file @
c460d9be
...
...
@@ -378,8 +378,8 @@ void test_buffer(LPDIRECTSOUND dso, LPDIRECTSOUNDBUFFER *dsbo,
init_format
(
&
wfx2
,
WAVE_FORMAT_PCM
,
11025
,
16
,
2
);
rc
=
IDirectSoundBuffer_SetFormat
(
*
dsbo
,
&
wfx2
);
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat(
%s
) failed: %s
\n
"
,
format_string
(
&
wfx2
),
DXGetErrorString8
(
rc
));
/* There is no garantee that SetFormat will actually change the
* format to what we asked for. It depends on what the soundcard
...
...
dlls/dsound/tests/ds3d8.c
View file @
c460d9be
...
...
@@ -270,8 +270,8 @@ void test_buffer8(LPDIRECTSOUND8 dso, LPDIRECTSOUNDBUFFER * dsbo,
init_format
(
&
wfx2
,
WAVE_FORMAT_PCM
,
11025
,
16
,
2
);
rc
=
IDirectSoundBuffer_SetFormat
(
*
dsbo
,
&
wfx2
);
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat(
%s
) failed: %s
\n
"
,
format_string
(
&
wfx2
),
DXGetErrorString8
(
rc
));
/* There is no garantee that SetFormat will actually change the
* format to what we asked for. It depends on what the soundcard
...
...
dlls/dsound/tests/dsound.c
View file @
c460d9be
...
...
@@ -550,8 +550,8 @@ static HRESULT test_primary_secondary(LPGUID lpGuid)
formats
[
f
][
2
]);
wfx2
=
wfx
;
rc
=
IDirectSoundBuffer_SetFormat
(
primary
,
&
wfx
);
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat(
%s
) failed: %s
\n
"
,
format_string
(
&
wfx
),
DXGetErrorString8
(
rc
));
/* There is no garantee that SetFormat will actually change the
* format to what we asked for. It depends on what the soundcard
...
...
dlls/dsound/tests/dsound8.c
View file @
c460d9be
...
...
@@ -582,8 +582,8 @@ static HRESULT test_primary_secondary8(LPGUID lpGuid)
formats
[
f
][
2
]);
wfx2
=
wfx
;
rc
=
IDirectSoundBuffer_SetFormat
(
primary
,
&
wfx
);
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
ok
(
rc
==
DS_OK
,
"IDirectSoundBuffer_SetFormat(
%s
) failed: %s
\n
"
,
format_string
(
&
wfx
),
DXGetErrorString8
(
rc
));
/* There is no garantee that SetFormat will actually change the
* format to what we asked for. It depends on what the soundcard
...
...
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