BASS.NET API for the Un4seen BASS Audio Library

BassBASS_Stop Method

BASS.NET API for the Un4seen BASS Audio Library
Stops the output, stopping all musics/samples/streams.

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bass")]
public static bool BASS_Stop()

Return Value

Type: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

This function can be used after BASS_Pause to stop the paused channels, so that they will not be resumed the next time BASS_Start is called.

When using multiple devices, the current thread's device setting (as set with BASS_SetDevice(Int32)) determines which device this function call applies to.

ERROR CODEDescription
BASS_ERROR_INITBASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) has not been successfully called.

See Also

Reference