Xeno-rat
Loading...
Searching...
No Matches
NAudio.MediaFoundation.IMFSourceReader Interface Reference

IMFSourceReader interface http://msdn.microsoft.com/en-us/library/windows/desktop/dd374655%28v=vs.85%29.aspx. More...

Collaboration diagram for NAudio.MediaFoundation.IMFSourceReader:

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.
 

Detailed Description

Member Function Documentation

◆ Flush()

void NAudio.MediaFoundation.IMFSourceReader.Flush ( [In] int dwStreamIndex)

Flushes one or more streams.

◆ GetCurrentMediaType()

void NAudio.MediaFoundation.IMFSourceReader.GetCurrentMediaType ( [In] int dwStreamIndex,
[Out] out IMFMediaType ppMediaType )

Gets the current media type for a stream.

Here is the caller graph for this function:

◆ GetNativeMediaType()

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.

◆ GetPresentationAttribute()

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.

Here is the caller graph for this function:

◆ GetServiceForStream()

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.

◆ GetStreamSelection()

void NAudio.MediaFoundation.IMFSourceReader.GetStreamSelection ( [In] int dwStreamIndex,
[Out, MarshalAs(UnmanagedType.Bool)] out bool pSelected )

Queries whether a stream is selected.

◆ ReadSample()

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.

Here is the caller graph for this function:

◆ SetCurrentMediaType()

void NAudio.MediaFoundation.IMFSourceReader.SetCurrentMediaType ( [In] int dwStreamIndex,
IntPtr pdwReserved,
[In] IMFMediaType pMediaType )

Sets the media type for a stream.

Here is the caller graph for this function:

◆ SetCurrentPosition()

void NAudio.MediaFoundation.IMFSourceReader.SetCurrentPosition ( [In, MarshalAs(UnmanagedType.LPStruct)] Guid guidTimeFormat,
[In] IntPtr varPosition )

Seeks to a new position in the media source.

Here is the caller graph for this function:

◆ SetStreamSelection()

void NAudio.MediaFoundation.IMFSourceReader.SetStreamSelection ( [In] int dwStreamIndex,
[In, MarshalAs(UnmanagedType.Bool)] bool pSelected )

Selects or deselects one or more streams.

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: