Table of Contents

Enum AudioClientStreamFlags

Namespace
NAudio.CoreAudioApi
Assembly
NAudio.Wasapi.dll
[Flags]
public enum AudioClientStreamFlags : uint

Fields

AutoConvertPcm = 2147483648

AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM A channel matrixer and a sample rate converter are inserted as necessary to convert between the uncompressed format supplied to IAudioClient::Initialize and the audio engine mix format.

CrossProcess = 65536

AUDCLNT_STREAMFLAGS_CROSSPROCESS The audio stream will be a member of a cross-process audio session.

EventCallback = 262144

AUDCLNT_STREAMFLAGS_EVENTCALLBACK Processing of the audio buffer by the client will be event driven

Loopback = 131072

AUDCLNT_STREAMFLAGS_LOOPBACK The audio stream will operate in loopback mode

NoPersist = 524288

AUDCLNT_STREAMFLAGS_NOPERSIST
The volume and mute settings for an audio session will not persist across application restarts

None = 0

None

RateAdjust = 1048576

AUDCLNT_STREAMFLAGS_RATEADJUST The sample rate of the stream is adjusted to a rate specified by an application.

SrcDefaultQuality = 134217728

AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY When used with AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM, a sample rate converter with better quality than the default conversion but with a higher performance cost is used. This should be used if the audio is ultimately intended to be heard by humans as opposed to other scenarios such as pumping silence or populating a meter.