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
ca5a068a
Commit
ca5a068a
authored
Jul 02, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/dsoundrender: Use BaseRendererImpl_Pause().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
221a0cdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
29 deletions
+1
-29
dsoundrender.c
dlls/quartz/dsoundrender.c
+1
-29
No files found.
dlls/quartz/dsoundrender.c
View file @
ca5a068a
...
...
@@ -682,34 +682,6 @@ HRESULT DSoundRender_create(IUnknown *outer, void **out)
return
hr
;
}
static
HRESULT
WINAPI
DSoundRender_Pause
(
IBaseFilter
*
iface
)
{
DSoundRenderImpl
*
This
=
impl_from_IBaseFilter
(
iface
);
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p/%p)->()
\n
"
,
This
,
iface
);
EnterCriticalSection
(
&
This
->
renderer
.
csRenderLock
);
if
(
This
->
renderer
.
filter
.
state
!=
State_Paused
)
{
if
(
This
->
renderer
.
filter
.
state
==
State_Stopped
)
{
if
(
This
->
renderer
.
sink
.
pin
.
pConnectedTo
)
ResetEvent
(
This
->
renderer
.
state_event
);
This
->
renderer
.
sink
.
end_of_stream
=
0
;
}
hr
=
IDirectSoundBuffer_Stop
(
This
->
dsbuffer
);
if
(
SUCCEEDED
(
hr
))
This
->
renderer
.
filter
.
state
=
State_Paused
;
ResetEvent
(
This
->
renderer
.
flush_event
);
}
LeaveCriticalSection
(
&
This
->
renderer
.
csRenderLock
);
return
hr
;
}
static
const
IBaseFilterVtbl
DSoundRender_Vtbl
=
{
BaseFilterImpl_QueryInterface
,
...
...
@@ -717,7 +689,7 @@ static const IBaseFilterVtbl DSoundRender_Vtbl =
BaseFilterImpl_Release
,
BaseFilterImpl_GetClassID
,
BaseRendererImpl_Stop
,
DSoundRender
_Pause
,
BaseRendererImpl
_Pause
,
BaseRendererImpl_Run
,
BaseRendererImpl_GetState
,
BaseRendererImpl_SetSyncSource
,
...
...
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