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
910bd392
Commit
910bd392
authored
Mar 05, 2024
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciwave: Abort the playback thread regardless of state when stopping.
parent
5bb80251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
mciwave.c
dlls/mciwave/mciwave.c
+2
-6
No files found.
dlls/mciwave/mciwave.c
View file @
910bd392
...
@@ -631,12 +631,8 @@ static DWORD WAVE_mciStop(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS
...
@@ -631,12 +631,8 @@ static DWORD WAVE_mciStop(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS
case
MCI_MODE_PAUSE
:
case
MCI_MODE_PAUSE
:
case
MCI_MODE_PLAY
:
case
MCI_MODE_PLAY
:
case
MCI_MODE_RECORD
:
case
MCI_MODE_RECORD
:
{
wmw
->
dwStatus
=
MCI_MODE_NOT_READY
;
int
oldStat
=
wmw
->
dwStatus
;
dwRet
=
(
wmw
->
fInput
)
?
waveInReset
(
wmw
->
hWave
)
:
waveOutReset
(
wmw
->
hWave
);
wmw
->
dwStatus
=
MCI_MODE_NOT_READY
;
if
(
oldStat
==
MCI_MODE_PAUSE
)
dwRet
=
(
wmw
->
fInput
)
?
waveInReset
(
wmw
->
hWave
)
:
waveOutReset
(
wmw
->
hWave
);
}
while
(
wmw
->
dwStatus
!=
MCI_MODE_STOP
)
while
(
wmw
->
dwStatus
!=
MCI_MODE_STOP
)
Sleep
(
10
);
Sleep
(
10
);
break
;
break
;
...
...
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