Retrieves the factors that affect the calculations of 3D sound.

BOOL BASS_Get3DFactors(
    float *distf,
    float *rollf,
    float *doppf


distfThe distance factor... NULL = don't retrieve it.
rollfThe rolloff factor... NULL = don't retrieve it.
doppfThe doppler factor... 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_NO3DThe device was not initialized with 3D support.


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

See also