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
9ff27bf6
Commit
9ff27bf6
authored
May 09, 2006
by
Robert Reif
Committed by
Alexandre Julliard
May 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Print out more info on failed test.
Print out more info on failed test. Looks like there is a bug in ALSA OSS emulation where it is returning a mid-sample position.
parent
a9328088
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
wave.c
dlls/winmm/tests/wave.c
+4
-3
No files found.
dlls/winmm/tests/wave.c
View file @
9ff27bf6
...
...
@@ -472,9 +472,10 @@ static void check_position(int device, HWAVEOUT wout, DWORD bytes,
trace
(
"waveOutGetPosition(%s): TIME_SAMPLES not supported, "
"returned %s
\n
"
,
dev_name
(
device
),
wave_time_format
(
mmtime
.
wType
));
returned
=
time_to_bytes
(
&
mmtime
,
pwfx
);
ok
(
returned
==
bytes
,
"waveOutGetPosition(%s): returned %ld samples, "
"should be %ld
\n
"
,
dev_name
(
device
),
bytes_to_samples
(
returned
,
pwfx
),
bytes_to_samples
(
bytes
,
pwfx
));
ok
(
returned
==
bytes
,
"waveOutGetPosition(%s): returned %ld samples "
"(%ld bytes), should be %ld (%ld bytes)
\n
"
,
dev_name
(
device
),
bytes_to_samples
(
returned
,
pwfx
),
returned
,
bytes_to_samples
(
bytes
,
pwfx
),
bytes
);
mmtime
.
wType
=
TIME_MS
;
rc
=
waveOutGetPosition
(
wout
,
&
mmtime
,
sizeof
(
mmtime
));
...
...
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