Enum WasapiInitFlags
BassWasapi initialization flags to be used with Init(Int32, Int32, Int32, WasapiInitFlags, Single, Single, WasapiProcedure, IntPtr).
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Wasapi.dll
Syntax
public enum WasapiInitFlags : int
AutoFormat
Automatically choose another sample format if the specified format is not supported. If possible, a higher sample rate than freq will be used, rather than a lower one.
Buffer
Enable double buffering, for use by GetData(IntPtr, Int32) and GetLevel(). This requires the BASS NoSoundDevice device to have been initilized, via Init(Int32, Int32, DeviceInitFlags, IntPtr, IntPtr). Internally, a BASS stream is used for that, so the usual DataFlags flags are supported.
EventDriven
Enables the event-driven WASAPI system. It is only supported when a WasapiProcedure function is provided, ie. not when using PutData(IntPtr, Int32). When used with shared mode, the User-provided 'Buffer' and 'period' lengths are ignored and WASAPI decides what Buffer to use (Info can be used to check that).
Exclusive
Init the device (endpoint) in exclusive mode.