Assembly: Bass.Net (in Bass.Net.dll) Version: 18.104.22.168
|0||Init the device (endpoint) in shared mode.|
|1||Init the device (endpoint) in exclusive mode.|
|2||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.|
Enable double buffering, for use by BASS_WASAPI_GetData(IntPtr, Int32) and BASS_WASAPI_GetLevel.
This requires the BASS "no sound" device to have been initilized, via .
Internally, a BASS stream is used for that, so the usual BASS_DATA_xxx flags are supported.
Enables the event-driven WASAPI system.
It is only supported when a WASAPIPROC function is provided, ie. not when using BASS_WASAPI_PutData(IntPtr, Int32).
When used with shared mode, the user-provided 'buffer' and 'period' lengths are ignored and WASAPI decides what buffer to use (BASS_WASAPI_GetInfo(BASS_WASAPI_INFO) can be used to check that).
|32||Allows 'buffer' and 'period' to be specified in samples instead of seconds in the BASS_WASAPI_Init(Int32, Int32, Int32, BASSWASAPIInit, Single, Single, WASAPIPROC, IntPtr) call.|
Requests to apply dither to the output.
Dither is optional rather than automatic because it destroys bit-perfect output; you probably don't want to enable it unless you're applying DSP (including volume changes). When the output is floating-point (eg. in shared mode), the flag will have no effect.