BASS.NET API for the Un4seen BASS Audio Library

BassBASS_PluginEnable Method

BASS.NET API for the Un4seen BASS Audio Library
Enables or disables an add-on.

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

[DllImportAttribute("bass", CharSet = CharSet.Unicode)]
public static bool BASS_PluginEnable(
	int handle,
	bool enable
)

Parameters

handle
Type: SystemInt32
The plugin handle.
enable
Type: SystemBoolean
Enable the plugin?

Return Value

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

This function allows a plugin to be excluded from subsequent stream/sample creation calls without affecting any existing streams that are currently using it.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also

Reference