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
5f9e03d1
Commit
5f9e03d1
authored
Sep 22, 2011
by
Jörg Höhle
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: waveOutReset returns all buffers.
parent
afa57510
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
waveform.c
dlls/winmm/waveform.c
+3
-4
No files found.
dlls/winmm/waveform.c
View file @
5f9e03d1
...
...
@@ -1670,6 +1670,7 @@ static LRESULT WINMM_Reset(HWAVE hwave)
{
WINMM_CBInfo
cb_info
;
WINMM_Device
*
device
=
WINMM_GetDeviceFromHWAVE
(
hwave
);
BOOL
is_out
;
WAVEHDR
*
first
;
HRESULT
hr
;
...
...
@@ -1686,9 +1687,6 @@ static LRESULT WINMM_Reset(HWAVE hwave)
}
device
->
stopped
=
TRUE
;
if
(
device
->
render
)
first
=
WOD_MarkDoneHeaders
(
device
);
else
first
=
device
->
first
;
device
->
first
=
device
->
last
=
device
->
playing
=
NULL
;
device
->
ofs_bytes
=
0
;
...
...
@@ -1698,6 +1696,7 @@ static LRESULT WINMM_Reset(HWAVE hwave)
IAudioClient_Reset
(
device
->
client
);
cb_info
=
device
->
cb_info
;
is_out
=
device
->
render
?
TRUE
:
FALSE
;
LeaveCriticalSection
(
&
device
->
lock
);
...
...
@@ -1705,7 +1704,7 @@ static LRESULT WINMM_Reset(HWAVE hwave)
WAVEHDR
*
next
=
first
->
lpNext
;
first
->
dwFlags
&=
~
WHDR_INQUEUE
;
first
->
dwFlags
|=
WHDR_DONE
;
if
(
device
->
render
)
if
(
is_out
)
WINMM_NotifyClient
(
&
cb_info
,
WOM_DONE
,
(
DWORD_PTR
)
first
,
0
);
else
WINMM_NotifyClient
(
&
cb_info
,
WIM_DATA
,
(
DWORD_PTR
)
first
,
0
);
...
...
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