BASS.NET API for the Un4seen BASS Audio Library

BassBASS_IsStarted Method

BASS.NET API for the Un4seen BASS Audio Library
Checks if the output has been started and is active.

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

[DllImportAttribute("bass")]
public static int BASS_IsStarted()

Return Value

Type: Int32
If the device has not been started, 0 is returned. If the device has been started, 1 is returned if it is currently active and 2 is returned if it is inactive (nothing is playing and BASS_CONFIG_DEV_NONSTOP is disabled).
Remarks

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

Platform-specific: On iOS, the return value may be 3 to indicate that the app's audio is currently interrupted, but only if the output was started prior to the interruption.

See Also

Reference