Sets the parameters of an effect.

BOOL BASS_FXSetParameters(
    HFX handle,
    void *params


handleThe effect handle.
paramsPointer to the parameters structure. The structure used depends on the effect type.

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 invalid.
BASS_ERROR_ILLPARAMOne or more of the parameters are invalid, make sure all the values are within the valid ranges.
BASS_ERROR_UNKNOWNSome other mystery problem!

See also

BASS_ChannelSetFX, BASS_FXGetParameters