_AUDCLNT_BUFFERFLAGS Enumeration

Previous Next

_AUDCLNT_BUFFERFLAGS Enumeration

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

enum _AUDCLNT_BUFFERFLAGS {
  AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY = 0x1,
  AUDCLNT_BUFFERFLAGS_SILENT = 0x2,
  AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR = 0x4
};

Members

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

Client: Windows Vista

Header: Include Audioclient.h

See Also

Previous Next