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 = 512The MFT can either provide output samples for this stream or use samples that the client allocates.
MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES
Discardable = 8The MFT can discard the output data from this output stream, if requested.
MFT_OUTPUT_STREAM_DISCARDABLE
FixedSampleSize = 4All output samples are the same size.
MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE
LazyRead = 1024The MFT does not require the client to process the output for this stream.
MFT_OUTPUT_STREAM_LAZY_READ
None = 0No flags set
Optional = 16This output stream is optional.
MFT_OUTPUT_STREAM_OPTIONAL
ProvidesSamples = 256The 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 = 2048The MFT might remove this output stream during streaming.
MFT_OUTPUT_STREAM_REMOVABLE
SingleSamplePerBuffer = 2Each output sample contains exactly one unit of data.
MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER
WholeSamples = 1Each 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.