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
44a17d27
Commit
44a17d27
authored
Nov 11, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Handle state changes in direct sound renderer correctly.
Based on a patch from Vladimir Panteleev
parent
5c3cddf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dsoundrender.c
dlls/quartz/dsoundrender.c
+2
-1
No files found.
dlls/quartz/dsoundrender.c
View file @
44a17d27
...
...
@@ -620,6 +620,7 @@ static HRESULT WINAPI DSoundRender_Pause(IBaseFilter * iface)
if
(
This
->
filter
.
state
==
State_Stopped
)
{
This
->
pInputPin
->
end_of_stream
=
0
;
ResetEvent
(
This
->
state_change
);
}
hr
=
IDirectSoundBuffer_Stop
(
This
->
dsbuffer
);
...
...
@@ -627,7 +628,6 @@ static HRESULT WINAPI DSoundRender_Pause(IBaseFilter * iface)
This
->
filter
.
state
=
State_Paused
;
ResetEvent
(
This
->
blocked
);
ResetEvent
(
This
->
state_change
);
}
LeaveCriticalSection
(
&
This
->
filter
.
csFilter
);
...
...
@@ -856,6 +856,7 @@ static HRESULT WINAPI DSoundRender_InputPin_EndOfStream(IPin * iface)
}
}
MediaSeekingPassThru_EOS
(
me
->
seekthru_unk
);
SetEvent
(
me
->
state_change
);
LeaveCriticalSection
(
This
->
pin
.
pCritSec
);
return
hr
;
...
...
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