mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
Also the stereo version needs to set need_expose
This commit is contained in:
parent
f68754b19d
commit
dff4153024
1 changed files with 7 additions and 1 deletions
|
|
@ -423,7 +423,8 @@ run_stereo(LV2_Handle instance, uint32_t n_samples)
|
||||||
|
|
||||||
float ratio = *acomp->ratio;
|
float ratio = *acomp->ratio;
|
||||||
float thresdb = *acomp->thresdb;
|
float thresdb = *acomp->thresdb;
|
||||||
float makeup_target = from_dB(*acomp->makeup);
|
float makeup = *acomp->makeup;
|
||||||
|
float makeup_target = from_dB(makeup);
|
||||||
float makeup_gain = acomp->makeup_gain;
|
float makeup_gain = acomp->makeup_gain;
|
||||||
|
|
||||||
const float tau = acomp->tau;
|
const float tau = acomp->tau;
|
||||||
|
|
@ -449,6 +450,11 @@ run_stereo(LV2_Handle instance, uint32_t n_samples)
|
||||||
acomp->v_thresdb = thresdb;
|
acomp->v_thresdb = thresdb;
|
||||||
acomp->need_expose = true;
|
acomp->need_expose = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (acomp->v_makeup != makeup) {
|
||||||
|
acomp->v_makeup = makeup;
|
||||||
|
acomp->need_expose = true;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
float in_peak = 0;
|
float in_peak = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue