using System; using System.Collections.Generic; using System.Text; namespace NAudio.Wave { /// /// Wave Header Flags enumeration /// [Flags] public enum WaveHeaderFlags { /// /// WHDR_BEGINLOOP /// This buffer is the first buffer in a loop. This flag is used only with output buffers. /// BeginLoop = 0x00000004, /// /// WHDR_DONE /// Set by the device driver to indicate that it is finished with the buffer and is returning it to the application. /// Done = 0x00000001, /// /// WHDR_ENDLOOP /// This buffer is the last buffer in a loop. This flag is used only with output buffers. /// EndLoop = 0x00000008, /// /// WHDR_INQUEUE /// Set by Windows to indicate that the buffer is queued for playback. /// InQueue = 0x00000010, /// /// WHDR_PREPARED /// Set by Windows to indicate that the buffer has been prepared with the waveInPrepareHeader or waveOutPrepareHeader function. /// Prepared = 0x00000002 } }