using System; namespace NAudio.MediaFoundation { /// /// Describes an output stream on a Media Foundation transform (MFT). /// [Flags] public enum _MFT_OUTPUT_STREAM_INFO_FLAGS { /// /// No flags set /// None = 0, /// /// Each media sample (IMFSample interface) of output data from the MFT contains complete, unbroken units of data. /// MFT_OUTPUT_STREAM_WHOLE_SAMPLES = 0x00000001, /// /// Each output sample contains exactly one unit of data, as defined for the MFT_OUTPUT_STREAM_WHOLE_SAMPLES flag. /// MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002, /// /// All output samples are the same size. /// MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004, /// /// The MFT can discard the output data from this output stream, if requested by the client. /// MFT_OUTPUT_STREAM_DISCARDABLE = 0x00000008, /// /// This output stream is optional. /// MFT_OUTPUT_STREAM_OPTIONAL = 0x00000010, /// /// 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 = 0x00000100, /// /// The MFT can either provide output samples for this stream or it can use samples that the client allocates. /// MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES = 0x00000200, /// /// The MFT does not require the client to process the output for this stream. /// MFT_OUTPUT_STREAM_LAZY_READ = 0x00000400, /// /// The MFT might remove this output stream during streaming. /// MFT_OUTPUT_STREAM_REMOVABLE = 0x00000800 } }