MVH/NAudio-2.2.1/NAudio.Wasapi/MediaFoundation/MFT_OUTPUT_DATA_BUFFER.cs
2024-06-07 00:47:07 +02:00

28 lines
856 B
C#

using System.Runtime.InteropServices;
namespace NAudio.MediaFoundation
{
/// <summary>
/// Contains information about an output buffer for a Media Foundation transform.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct MFT_OUTPUT_DATA_BUFFER
{
/// <summary>
/// Output stream identifier.
/// </summary>
public int dwStreamID;
/// <summary>
/// Pointer to the IMFSample interface.
/// </summary>
public IMFSample pSample;
/// <summary>
/// Before calling ProcessOutput, set this member to zero.
/// </summary>
public _MFT_OUTPUT_DATA_BUFFER_FLAGS dwStatus;
/// <summary>
/// Before calling ProcessOutput, set this member to NULL.
/// </summary>
public IMFCollection pEvents;
}
}