Table of Contents

Enum MftOutputStreamInfoFlags

Namespace
NAudio.MediaFoundation
Assembly
NAudio.Wasapi.dll

Describes an output stream on a Media Foundation transform (MFT).

[Flags]
public enum MftOutputStreamInfoFlags

Fields

CanProvideSamples = 512

The MFT can either provide output samples for this stream or use samples that the client allocates.

MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES

Discardable = 8

The MFT can discard the output data from this output stream, if requested.

MFT_OUTPUT_STREAM_DISCARDABLE

FixedSampleSize = 4

All output samples are the same size.

MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE

LazyRead = 1024

The MFT does not require the client to process the output for this stream.

MFT_OUTPUT_STREAM_LAZY_READ

None = 0

No flags set

Optional = 16

This output stream is optional.

MFT_OUTPUT_STREAM_OPTIONAL

ProvidesSamples = 256

The MFT provides the output samples for this stream, either by allocating them internally or by operating directly on the input samples.

MFT_OUTPUT_STREAM_PROVIDES_SAMPLES

Removable = 2048

The MFT might remove this output stream during streaming.

MFT_OUTPUT_STREAM_REMOVABLE

SingleSamplePerBuffer = 2

Each output sample contains exactly one unit of data.

MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER

WholeSamples = 1

Each media sample of output data contains complete, unbroken units of data.

MFT_OUTPUT_STREAM_WHOLE_SAMPLES

Remarks

Windows SDK name: _MFT_OUTPUT_STREAM_INFO_FLAGS. Defined in mftransform.h. See MS Learn.