Struct SinkWriterStatistics
- Namespace
- NAudio.MediaFoundation
- Assembly
- NAudio.Wasapi.dll
Contains statistics about the performance of the sink writer.
public struct SinkWriterStatistics
- Inherited Members
Remarks
Windows SDK name: MF_SINK_WRITER_STATISTICS (mfreadwrite.h). See https://learn.microsoft.com/windows/win32/api/mfreadwrite/ns-mfreadwrite-mf_sink_writer_statistics
Fields
AverageSampleRateEncoded
The average rate, in media samples per 100-nanoseconds, at which the sink writer sent samples to the encoder.
public int AverageSampleRateEncoded
Field Value
Remarks
dwAverageSampleRateEncoded
AverageSampleRateProcessed
The average rate, in media samples per 100-nanoseconds, at which the sink writer sent samples to the media sink.
public int AverageSampleRateProcessed
Field Value
Remarks
dwAverageSampleRateProcessed
AverageSampleRateReceived
The average rate, in media samples per 100-nanoseconds, at which the application sent samples to the sink writer.
public int AverageSampleRateReceived
Field Value
Remarks
dwAverageSampleRateReceived
ByteCountProcessed
The total amount of data, in bytes, that has been sent to the media sink.
public long ByteCountProcessed
Field Value
Remarks
qwByteCountProcessed
ByteCountQueued
The amount of data, in bytes, currently waiting to be processed.
public int ByteCountQueued
Field Value
Remarks
dwByteCountQueued
LastSinkSampleRequest
The system time of the most recent sample request from the media sink.
public long LastSinkSampleRequest
Field Value
Remarks
llLastSinkSampleRequest
LastStreamTickReceived
The time stamp of the most recent stream tick.
public long LastStreamTickReceived
Field Value
Remarks
llLastStreamTickReceived
LastTimestampEncoded
The time stamp of the most recent sample to be encoded.
public long LastTimestampEncoded
Field Value
Remarks
llLastTimestampEncoded
LastTimestampProcessed
The time stamp of the most recent sample given to the media sink.
public long LastTimestampProcessed
Field Value
Remarks
llLastTimestampProcessed
LastTimestampReceived
The time stamp of the most recent sample given to the sink writer.
public long LastTimestampReceived
Field Value
Remarks
llLastTimestampReceived
OutstandingSinkSampleRequests
The number of pending sample requests.
public int OutstandingSinkSampleRequests
Field Value
Remarks
dwNumOutstandingSinkSampleRequests
SamplesEncoded
The number of samples encoded.
public long SamplesEncoded
Field Value
Remarks
qwNumSamplesEncoded
SamplesProcessed
The number of samples given to the media sink.
public long SamplesProcessed
Field Value
Remarks
qwNumSamplesProcessed
SamplesReceived
The number of samples received.
public long SamplesReceived
Field Value
Remarks
qwNumSamplesReceived
Size
The size of the structure, in bytes.
public int Size
Field Value
Remarks
cb
StreamTicksReceived
The number of stream ticks received.
public long StreamTicksReceived
Field Value
Remarks
qwNumStreamTicksReceived