Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cbd7be3f
Commit
cbd7be3f
authored
Aug 22, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement IWMSyncReader2_GetReadStreamSamples.
parent
e961e082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
wm_reader.c
dlls/winegstreamer/wm_reader.c
+18
-4
No files found.
dlls/winegstreamer/wm_reader.c
View file @
cbd7be3f
...
...
@@ -2348,11 +2348,25 @@ static HRESULT WINAPI reader_GetOutputSetting(IWMSyncReader2 *iface, DWORD outpu
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
reader_GetReadStreamSamples
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
BOOL
*
compressed
)
static
HRESULT
WINAPI
reader_GetReadStreamSamples
(
IWMSyncReader2
*
iface
,
WORD
stream_num
ber
,
BOOL
*
compressed
)
{
struct
wm_reader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
stream_num
,
compressed
);
return
E_NOTIMPL
;
struct
wm_reader
*
reader
=
impl_from_IWMSyncReader2
(
iface
);
struct
wm_stream
*
stream
;
TRACE
(
"reader %p, stream_number %u, compressed %p.
\n
"
,
reader
,
stream_number
,
compressed
);
EnterCriticalSection
(
&
reader
->
cs
);
if
(
!
(
stream
=
wm_reader_get_stream_by_stream_number
(
reader
,
stream_number
)))
{
LeaveCriticalSection
(
&
reader
->
cs
);
return
E_INVALIDARG
;
}
*
compressed
=
stream
->
read_compressed
;
LeaveCriticalSection
(
&
reader
->
cs
);
return
S_OK
;
}
static
HRESULT
WINAPI
reader_GetStreamNumberForOutput
(
IWMSyncReader2
*
iface
,
...
...
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