_AUDCLNT_BUFFERFLAGS enumeration
The _AUDCLNT_BUFFERFLAGS enumeration defines flags that indicate the status of an audio endpoint buffer.
Syntax
enum _AUDCLNT_BUFFERFLAGS {
AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY = 0x1,
AUDCLNT_BUFFERFLAGS_SILENT = 0x2,
AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR = 0x4
};
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
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
See also