Enum AudioClientStreamFlags
- Namespace
- NAudio.CoreAudioApi
- Assembly
- NAudio.Wasapi.dll
AUDCLNT_STREAMFLAGS https://docs.microsoft.com/en-us/windows/win32/coreaudio/audclnt-streamflags-xxx-constants
[Flags]
public enum AudioClientStreamFlags : uint
Fields
AutoConvertPcm = 2147483648AUDCLNT_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 = 65536AUDCLNT_STREAMFLAGS_CROSSPROCESS The audio stream will be a member of a cross-process audio session.
EventCallback = 262144AUDCLNT_STREAMFLAGS_EVENTCALLBACK Processing of the audio buffer by the client will be event driven
Loopback = 131072AUDCLNT_STREAMFLAGS_LOOPBACK The audio stream will operate in loopback mode
NoPersist = 524288AUDCLNT_STREAMFLAGS_NOPERSIST
The volume and mute settings for an audio session will not persist across application restartsNone = 0None
RateAdjust = 1048576AUDCLNT_STREAMFLAGS_RATEADJUST The sample rate of the stream is adjusted to a rate specified by an application.
SrcDefaultQuality = 134217728AUDCLNT_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.