Retrieves the current type of EAX environment and its parameters.

BOOL BASS_GetEAXParameters(
    DWORD *env,
    float *vol,
    float *decay
    float *damp


envThe EAX environment... NULL = don't retrieve it. See BASS_SetEAXParameters for a list of the possible environments.
volThe volume of the reverb... NULL = don't retrieve it.
decayThe decay duration... NULL = don't retrieve it.
dampThe damping... NULL = don't retrieve it.

Return value

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

Error codes

BASS_ERROR_INITBASS_Init has not been successfully called.
BASS_ERROR_NOEAXThe current device does not support EAX.


When using multiple devices, the current thread's device setting (as set with BASS_SetDevice) determines which device this function call applies to.


This function is only available on Windows, and EAX is only supported pre-Vista.

See also