Xeno-rat
|
IMFSourceReader interface http://msdn.microsoft.com/en-us/library/windows/desktop/dd374655%28v=vs.85%29.aspx. More...
Public Member Functions | |
void | GetStreamSelection ([In] int dwStreamIndex, [Out, MarshalAs(UnmanagedType.Bool)] out bool pSelected) |
Queries whether a stream is selected. | |
void | SetStreamSelection ([In] int dwStreamIndex, [In, MarshalAs(UnmanagedType.Bool)] bool pSelected) |
Selects or deselects one or more streams. | |
void | GetNativeMediaType ([In] int dwStreamIndex, [In] int dwMediaTypeIndex, [Out] out IMFMediaType ppMediaType) |
Gets a format that is supported natively by the media source. | |
void | GetCurrentMediaType ([In] int dwStreamIndex, [Out] out IMFMediaType ppMediaType) |
Gets the current media type for a stream. | |
void | SetCurrentMediaType ([In] int dwStreamIndex, IntPtr pdwReserved, [In] IMFMediaType pMediaType) |
Sets the media type for a stream. | |
void | SetCurrentPosition ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidTimeFormat, [In] IntPtr varPosition) |
Seeks to a new position in the media source. | |
void | ReadSample ([In] int dwStreamIndex, [In] int dwControlFlags, [Out] out int pdwActualStreamIndex, [Out] out MF_SOURCE_READER_FLAG pdwStreamFlags, [Out] out UInt64 pllTimestamp, [Out] out IMFSample ppSample) |
Reads the next sample from the media source. | |
void | Flush ([In] int dwStreamIndex) |
Flushes one or more streams. | |
void | GetServiceForStream ([In] int dwStreamIndex, [In, MarshalAs(UnmanagedType.LPStruct)] Guid guidService, [In, MarshalAs(UnmanagedType.LPStruct)] Guid riid, [Out] out IntPtr ppvObject) |
Queries the underlying media source or decoder for an interface. | |
int | GetPresentationAttribute ([In] int dwStreamIndex, [In, MarshalAs(UnmanagedType.LPStruct)] Guid guidAttribute, [Out] IntPtr pvarAttribute) |
Gets an attribute from the underlying media source. | |
IMFSourceReader interface http://msdn.microsoft.com/en-us/library/windows/desktop/dd374655%28v=vs.85%29.aspx.
void NAudio.MediaFoundation.IMFSourceReader.Flush | ( | [In] int | dwStreamIndex | ) |
Flushes one or more streams.
void NAudio.MediaFoundation.IMFSourceReader.GetCurrentMediaType | ( | [In] int | dwStreamIndex, |
[Out] out IMFMediaType | ppMediaType ) |
Gets the current media type for a stream.
void NAudio.MediaFoundation.IMFSourceReader.GetNativeMediaType | ( | [In] int | dwStreamIndex, |
[In] int | dwMediaTypeIndex, | ||
[Out] out IMFMediaType | ppMediaType ) |
Gets a format that is supported natively by the media source.
int NAudio.MediaFoundation.IMFSourceReader.GetPresentationAttribute | ( | [In] int | dwStreamIndex, |
[In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidAttribute, | ||
[Out] IntPtr | pvarAttribute ) |
Gets an attribute from the underlying media source.
void NAudio.MediaFoundation.IMFSourceReader.GetServiceForStream | ( | [In] int | dwStreamIndex, |
[In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidService, | ||
[In, MarshalAs(UnmanagedType.LPStruct)] Guid | riid, | ||
[Out] out IntPtr | ppvObject ) |
Queries the underlying media source or decoder for an interface.
void NAudio.MediaFoundation.IMFSourceReader.GetStreamSelection | ( | [In] int | dwStreamIndex, |
[Out, MarshalAs(UnmanagedType.Bool)] out bool | pSelected ) |
Queries whether a stream is selected.
void NAudio.MediaFoundation.IMFSourceReader.ReadSample | ( | [In] int | dwStreamIndex, |
[In] int | dwControlFlags, | ||
[Out] out int | pdwActualStreamIndex, | ||
[Out] out MF_SOURCE_READER_FLAG | pdwStreamFlags, | ||
[Out] out UInt64 | pllTimestamp, | ||
[Out] out IMFSample | ppSample ) |
Reads the next sample from the media source.
void NAudio.MediaFoundation.IMFSourceReader.SetCurrentMediaType | ( | [In] int | dwStreamIndex, |
IntPtr | pdwReserved, | ||
[In] IMFMediaType | pMediaType ) |
Sets the media type for a stream.
void NAudio.MediaFoundation.IMFSourceReader.SetCurrentPosition | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidTimeFormat, |
[In] IntPtr | varPosition ) |
Seeks to a new position in the media source.
void NAudio.MediaFoundation.IMFSourceReader.SetStreamSelection | ( | [In] int | dwStreamIndex, |
[In, MarshalAs(UnmanagedType.Bool)] bool | pSelected ) |
Selects or deselects one or more streams.