_AUDCLNT_BUFFERFLAGS enumeration (audioclient.h)

The _AUDCLNT_BUFFERFLAGS enumeration defines flags that indicate the status of an audio endpoint buffer.

Syntax

typedef enum _AUDCLNT_BUFFERFLAGS {
  AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY,
  AUDCLNT_BUFFERFLAGS_SILENT,
  AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR
} ;

Constants

 
AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY
The data in the packet is not correlated with the previous packet's device position; this is possibly due to a stream state transition or timing glitch.
AUDCLNT_BUFFERFLAGS_SILENT
Treat all of the data in the packet as silence and ignore the actual data values. For more information about the use of this flag, see Rendering a Stream and Capturing a Stream.
AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR
The time at which the device's stream position was recorded is uncertain. Thus, the client might be unable to accurately set the time stamp for the current data packet.

Remarks

The IAudioCaptureClient::GetBuffer and IAudioRenderClient::ReleaseBuffer methods use the constants defined in the _AUDCLNT_BUFFERFLAGS enumeration.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header audioclient.h

See also

Core Audio Enumerations

IAudioCaptureClient::GetBuffer

IAudioRenderClient::ReleaseBuffer