Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c4b5bd44
Commit
c4b5bd44
authored
Oct 22, 2009
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciwave: Stop must not reset current position.
parent
c75d1cba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
mciwave.c
dlls/mciwave/mciwave.c
+0
-2
mci.c
dlls/winmm/tests/mci.c
+1
-1
No files found.
dlls/mciwave/mciwave.c
View file @
c4b5bd44
...
@@ -614,8 +614,6 @@ static DWORD WAVE_mciStop(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS
...
@@ -614,8 +614,6 @@ static DWORD WAVE_mciStop(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS
break
;
break
;
}
}
wmw
->
dwPosition
=
0
;
/* sanity resets */
/* sanity resets */
wmw
->
dwStatus
=
MCI_MODE_STOP
;
wmw
->
dwStatus
=
MCI_MODE_STOP
;
...
...
dlls/winmm/tests/mci.c
View file @
c4b5bd44
...
@@ -446,7 +446,7 @@ static void test_asyncWAVE(HWND hwnd)
...
@@ -446,7 +446,7 @@ static void test_asyncWAVE(HWND hwnd)
trace
(
"position once stopped: %sms
\n
"
,
buf
);
trace
(
"position once stopped: %sms
\n
"
,
buf
);
p2
=
atoi
(
buf
);
p2
=
atoi
(
buf
);
/* An XP machine let the position increase slightly after pause. */
/* An XP machine let the position increase slightly after pause. */
todo_wine
ok
(
p2
>=
p1
&&
p2
<=
p1
+
16
,
"position changed from %ums to %ums
\n
"
,
p1
,
p2
);
ok
(
p2
>=
p1
&&
p2
<=
p1
+
16
,
"position changed from %ums to %ums
\n
"
,
p1
,
p2
);
/* No Resume once stopped (waveaudio, sequencer and cdaudio differ). */
/* No Resume once stopped (waveaudio, sequencer and cdaudio differ). */
err
=
mciSendString
(
"resume mysound wait"
,
NULL
,
0
,
NULL
);
err
=
mciSendString
(
"resume mysound wait"
,
NULL
,
0
,
NULL
);
...
...
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