BASS

BASS_GetEAXParameters


Retrieves the current type of EAX environment and its parameters.

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

Parameters

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.

Remarks

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

Platform-specific

EAX and this function are only available on Windows.

See also

BASS_SetEAXParameters