using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace NAudio.MediaFoundation { /// /// Contains information about an input stream on a Media Foundation transform (MFT) /// [StructLayout(LayoutKind.Sequential)] public struct MFT_INPUT_STREAM_INFO { /// /// Maximum amount of time between an input sample and the corresponding output sample, in 100-nanosecond units. /// public long hnsMaxLatency; /// /// Bitwise OR of zero or more flags from the _MFT_INPUT_STREAM_INFO_FLAGS enumeration. /// public _MFT_INPUT_STREAM_INFO_FLAGS dwFlags; /// /// The minimum size of each input buffer, in bytes. /// public int cbSize; /// /// Maximum amount of input data, in bytes, that the MFT holds to perform lookahead. /// public int cbMaxLookahead; /// /// The memory alignment required for input buffers. If the MFT does not require a specific alignment, the value is zero. /// public int cbAlignment; } }