BASS_PluginEnable

Enables or disables an add-on.

BOOL BASS_PluginEnable(
    HPLUGIN handle,
    BOOL enable
);

Parameters

handleThe plugin handle.
enableEnable the plugin?

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.

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.

See also

BASS_PluginFree, BASS_PluginLoad