mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
a-comp: Fix typo with previous patch
This commit is contained in:
parent
f3efff4c7e
commit
52aa9bf848
1 changed files with 2 additions and 2 deletions
|
|
@ -374,7 +374,7 @@ run_mono(LV2_Handle instance, uint32_t n_samples)
|
|||
}
|
||||
|
||||
if ( fabsf(makeup_target - makeup_gain) < 1e-6 ) {
|
||||
makeup_gain = 1.0;
|
||||
makeup_gain = makeup_target;
|
||||
} else {
|
||||
makeup_gain += tau * (makeup_target - makeup_gain) + 1e-12;
|
||||
}
|
||||
|
|
@ -533,7 +533,7 @@ run_stereo(LV2_Handle instance, uint32_t n_samples)
|
|||
}
|
||||
|
||||
if ( fabsf(makeup_target - makeup_gain) < 1e-6 ) {
|
||||
makeup_gain = 1.0;
|
||||
makeup_gain = makeup_target;
|
||||
} else {
|
||||
makeup_gain += tau * (makeup_target - makeup_gain) + 1e-12;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue