Enum MftMessageType
- Namespace
- NAudio.MediaFoundation
- Assembly
- NAudio.Wasapi.dll
Defines messages for a Media Foundation transform (MFT).
public enum MftMessageType
Fields
CommandMarker = 536870912Marks a point in the stream. This message applies only to asynchronous MFTs.
MFT_MESSAGE_COMMAND_MARKER
CommandTick = 4Command tick.
MFT_MESSAGE_COMMAND_TICK
Drain = 1Requests the MFT to drain any stored data.
MFT_MESSAGE_COMMAND_DRAIN
DropSamples = 3Drop samples.
MFT_MESSAGE_DROP_SAMPLES
Flush = 0Requests the MFT to flush all stored data.
MFT_MESSAGE_COMMAND_FLUSH
NotifyBeginStreaming = 268435456Notifies the MFT that streaming is about to begin.
MFT_MESSAGE_NOTIFY_BEGIN_STREAMING
NotifyEndOfStream = 268435458Notifies the MFT that an input stream has ended.
MFT_MESSAGE_NOTIFY_END_OF_STREAM
NotifyEndStreaming = 268435457Notifies the MFT that streaming is about to end.
MFT_MESSAGE_NOTIFY_END_STREAMING
NotifyStartOfStream = 268435459Notifies the MFT that the first sample is about to be processed.
MFT_MESSAGE_NOTIFY_START_OF_STREAM
SetD3DManager = 2Sets or clears the Direct3D Device Manager for DirectX Video Acceleration (DXVA).
MFT_MESSAGE_SET_D3D_MANAGER
Remarks
Windows SDK name: MFT_MESSAGE_TYPE.
Defined in mftransform.h.
See MS Learn.