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

Implemented by the Microsoft Media Foundation sink writer object. More...

Collaboration diagram for NAudio.MediaFoundation.IMFSinkWriter:

Public Member Functions

void AddStream ([In, MarshalAs(UnmanagedType.Interface)] IMFMediaType pTargetMediaType, out int pdwStreamIndex)
 Adds a stream to the sink writer.
 
void SetInputMediaType ([In] int dwStreamIndex, [In, MarshalAs(UnmanagedType.Interface)] IMFMediaType pInputMediaType, [In, MarshalAs(UnmanagedType.Interface)] IMFAttributes pEncodingParameters)
 Sets the input format for a stream on the sink writer.
 
void BeginWriting ()
 Initializes the sink writer for writing.
 
void WriteSample ([In] int dwStreamIndex, [In, MarshalAs(UnmanagedType.Interface)] IMFSample pSample)
 Delivers a sample to the sink writer.
 
void SendStreamTick ([In] int dwStreamIndex, [In] long llTimestamp)
 Indicates a gap in an input stream.
 
void PlaceMarker ([In] int dwStreamIndex, [In] IntPtr pvContext)
 Places a marker in the specified stream.
 
void NotifyEndOfSegment ([In] int dwStreamIndex)
 Notifies the media sink that a stream has reached the end of a segment.
 
void Flush ([In] int dwStreamIndex)
 Flushes one or more streams.
 
void DoFinalize ()
 (Finalize) Completes all writing operations on the sink writer.
 
void GetServiceForStream ([In] int dwStreamIndex, [In] ref Guid guidService, [In] ref Guid riid, out IntPtr ppvObject)
 Queries the underlying media sink or encoder for an interface.
 
void GetStatistics ([In] int dwStreamIndex, [In, Out] MF_SINK_WRITER_STATISTICS pStats)
 Gets statistics about the performance of the sink writer.
 

Detailed Description

Implemented by the Microsoft Media Foundation sink writer object.

Member Function Documentation

◆ AddStream()

void NAudio.MediaFoundation.IMFSinkWriter.AddStream ( [In, MarshalAs(UnmanagedType.Interface)] IMFMediaType pTargetMediaType,
out int pdwStreamIndex )

Adds a stream to the sink writer.

◆ BeginWriting()

void NAudio.MediaFoundation.IMFSinkWriter.BeginWriting ( )

Initializes the sink writer for writing.

Here is the caller graph for this function:

◆ DoFinalize()

void NAudio.MediaFoundation.IMFSinkWriter.DoFinalize ( )

(Finalize) Completes all writing operations on the sink writer.

Here is the caller graph for this function:

◆ Flush()

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

Flushes one or more streams.

◆ GetServiceForStream()

void NAudio.MediaFoundation.IMFSinkWriter.GetServiceForStream ( [In] int dwStreamIndex,
[In] ref Guid guidService,
[In] ref Guid riid,
out IntPtr ppvObject )

Queries the underlying media sink or encoder for an interface.

◆ GetStatistics()

void NAudio.MediaFoundation.IMFSinkWriter.GetStatistics ( [In] int dwStreamIndex,
[In, Out] MF_SINK_WRITER_STATISTICS pStats )

Gets statistics about the performance of the sink writer.

◆ NotifyEndOfSegment()

void NAudio.MediaFoundation.IMFSinkWriter.NotifyEndOfSegment ( [In] int dwStreamIndex)

Notifies the media sink that a stream has reached the end of a segment.

◆ PlaceMarker()

void NAudio.MediaFoundation.IMFSinkWriter.PlaceMarker ( [In] int dwStreamIndex,
[In] IntPtr pvContext )

Places a marker in the specified stream.

◆ SendStreamTick()

void NAudio.MediaFoundation.IMFSinkWriter.SendStreamTick ( [In] int dwStreamIndex,
[In] long llTimestamp )

Indicates a gap in an input stream.

◆ SetInputMediaType()

void NAudio.MediaFoundation.IMFSinkWriter.SetInputMediaType ( [In] int dwStreamIndex,
[In, MarshalAs(UnmanagedType.Interface)] IMFMediaType pInputMediaType,
[In, MarshalAs(UnmanagedType.Interface)] IMFAttributes pEncodingParameters )

Sets the input format for a stream on the sink writer.

◆ WriteSample()

void NAudio.MediaFoundation.IMFSinkWriter.WriteSample ( [In] int dwStreamIndex,
[In, MarshalAs(UnmanagedType.Interface)] IMFSample pSample )

Delivers a sample to the sink writer.

Here is the caller graph for this function:

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