Used with BASS_FXGetParameters and BASS_FXSetParameters to retrieve and set the parameters of a DX8 compression effect.

typedef struct {
    float fGain;
    float fAttack;
    float fRelease;
    float fThreshold;
    float fRatio;
    float fPredelay;


fGainOutput gain of signal after compression, in the range from -60 to 60. The default value is 0 dB.
fAttackTime before compression reaches its full value, in the range from 0.01 to 500. The default value is 10 ms.
fReleaseSpeed at which compression is stopped after input drops below fThreshold, in the range from 50 to 3000. The default value is 200 ms.
fThresholdPoint at which compression begins, in decibels, in the range from -60 to 0. The default value is -20 dB.
fRatioCompression ratio, in the range from 1 to 100. The default value is 3, which means 3:1 compression.
fPredelayTime after fThreshold is reached before attack phase is started, in milliseconds, in the range from 0 to 4. The default value is 4 ms.

See also

BASS_ChannelSetFX, BASS_FXGetParameters, BASS_FXSetParameters