Table of Contents

Enum MftEnumFlags

Namespace
NAudio.MediaFoundation
Assembly
NAudio.Wasapi.dll

Contains flags for registering and enumerating Media Foundation transforms (MFTs).

[Flags]
public enum MftEnumFlags

Fields

All = SyncMft | AsyncMft | Hardware | FieldOfUse | LocalMft | TranscodeOnly

Bitwise OR of all the flags, excluding SortAndFilter.

MFT_ENUM_FLAG_ALL

AsyncMft = 2

The MFT performs asynchronous data processing in software.

MFT_ENUM_FLAG_ASYNCMFT

FieldOfUse = 8

The MFT must be unlocked by the application before use.

MFT_ENUM_FLAG_FIELDOFUSE

Hardware = 4

The MFT performs hardware-based data processing, using either the AVStream driver or a GPU-based proxy MFT.

MFT_ENUM_FLAG_HARDWARE

LocalMft = 16

For enumeration, include MFTs that were registered in the caller's process.

MFT_ENUM_FLAG_LOCALMFT

None = 0

None

None

SortAndFilter = 64

For enumeration, sort and filter the results.

MFT_ENUM_FLAG_SORTANDFILTER

SyncMft = 1

The MFT performs synchronous data processing in software.

MFT_ENUM_FLAG_SYNCMFT

TranscodeOnly = 32

The MFT is optimized for transcoding rather than playback.

MFT_ENUM_FLAG_TRANSCODE_ONLY

Remarks

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