BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_FXSetPriority Method BASS.NET API for the Un4seen BASS Audio Library
Changes the priority of an DSP/FX effect.

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

[DllImportAttribute("bass.dll", CharSet = CharSet.Unicode)]
public static bool BASS_FXSetPriority(
	int handle,
	int priority
)

Parameters

handle
Type: SystemInt32
The effect handle... a HDSP or HFX.
priority
Type: SystemInt32
The priority of the new DSP/FX, which determines it's position in the DSP chain - DSP/FX with higher priority are applied before those with lower. This parameter has no effect with DX8 effects when the "with FX flag" DX8 effect implementation is used.

Return Value

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

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference