Stops the current Wasapi device/driver (endpoint).
Namespace: Un4seen.BassWasapi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- reset
- Type: SystemBoolean
Flush the device buffer?will clear the output buffer. Otherwise it is like pausing, eg. BASS_WASAPI_Start will resume playing the buffered data.
Return Value
Type: BooleanIf successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
If the device buffer is left unflushed (reset=FALSE), a subsequent BASS_WASAPI_Start call will resume things with the buffered data, otherwise it will resume with fresh data.
When using multiple devices, the current thread's device setting (as set with BASS_WASAPI_SetDevice(Int32)) determines which device this function call applies to.
ERROR CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_WASAPI_Init(Int32, Int32, Int32, BASSWASAPIInit, Single, Single, WASAPIPROC, IntPtr) has not been successfully called. |
BASS_ERROR_START | The device hasn't been started. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
See Also