BASS.NET API for the Un4seen BASS Audio Library

BassBASS_FXSetBypass Method

BASS.NET API for the Un4seen BASS Audio Library
Pauses or resumes an effect or DSP function.

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

[DllImportAttribute("bass")]
public static bool BASS_FXSetBypass(
	int handle,
	bool bypass
)

Parameters

handle
Type: SystemInt32
The DSP/FX handle... a HDSP or HFX.
bypass
Type: SystemBoolean
Bypass the DSP/FX?

Return Value

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

When an effect has been paused, it is generally a good idea to clear its buffers with BASS_FXReset(Int32) before resuming it, so that old sound is not heard from it.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also

Reference