Assembly: Bass.Net (in Bass.Net.dll) Version: 220.127.116.11
[DllImportAttribute("basswasapi")] public static bool BASS_WASAPI_Stop( bool reset )
<DllImportAttribute("basswasapi">] Public Shared Function BASS_WASAPI_Stop ( reset As Boolean ) As Boolean
- 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 ValueType: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
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.
|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!|