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
892068f9
Commit
892068f9
authored
May 31, 2013
by
Andrew Eikum
Committed by
Alexandre Julliard
May 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Fix test that fails on older Windows 2000.
parent
7f5f166a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dsound.c
dlls/dsound/tests/dsound.c
+6
-0
No files found.
dlls/dsound/tests/dsound.c
View file @
892068f9
...
@@ -1409,6 +1409,11 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid)
...
@@ -1409,6 +1409,11 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid)
ok
(
wfx
.
nBlockAlign
==
4
,
"blockalign: %u
\n
"
,
wfx
.
nBlockAlign
);
ok
(
wfx
.
nBlockAlign
==
4
,
"blockalign: %u
\n
"
,
wfx
.
nBlockAlign
);
ok
(
wfx
.
nAvgBytesPerSec
==
44100
*
4
,
"avgbytes: %u
\n
"
,
wfx
.
nAvgBytesPerSec
);
ok
(
wfx
.
nAvgBytesPerSec
==
44100
*
4
,
"avgbytes: %u
\n
"
,
wfx
.
nAvgBytesPerSec
);
if
(
!
gotdx8
){
win_skip
(
"Not doing the WAVE_FORMAT_EXTENSIBLE tests
\n
"
);
goto
done
;
}
fmtex
.
Format
.
cbSize
=
sizeof
(
WAVEFORMATEXTENSIBLE
)
-
sizeof
(
WAVEFORMATEX
);
fmtex
.
Format
.
cbSize
=
sizeof
(
WAVEFORMATEXTENSIBLE
)
-
sizeof
(
WAVEFORMATEX
);
fmtex
.
Format
.
wFormatTag
=
WAVE_FORMAT_EXTENSIBLE
;
fmtex
.
Format
.
wFormatTag
=
WAVE_FORMAT_EXTENSIBLE
;
fmtex
.
Format
.
nChannels
=
2
;
fmtex
.
Format
.
nChannels
=
2
;
...
@@ -1475,6 +1480,7 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid)
...
@@ -1475,6 +1480,7 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid)
IDirectSoundBuffer_Release
(
primary
);
IDirectSoundBuffer_Release
(
primary
);
}
}
done:
IDirectSound_Release
(
dso
);
IDirectSound_Release
(
dso
);
return
S_OK
;
return
S_OK
;
...
...
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