mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
a-delay: Fix compiler warning
This commit is contained in:
parent
de4cb2f8af
commit
f2f7414751
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ run(LV2_Handle instance, uint32_t n_samples)
|
||||||
if (recalc) {
|
if (recalc) {
|
||||||
xfade += 1.0f / (float)n_samples;
|
xfade += 1.0f / (float)n_samples;
|
||||||
adelay->fbstate *= (1.-xfade);
|
adelay->fbstate *= (1.-xfade);
|
||||||
int p = adelay->posz - adelay->tap[adelay->next]; // next line
|
p = adelay->posz - adelay->tap[adelay->next]; // next line
|
||||||
if (p<0) p += MAX_DELAY;
|
if (p<0) p += MAX_DELAY;
|
||||||
adelay->fbstate += adelay->z[p] * xfade;
|
adelay->fbstate += adelay->z[p] * xfade;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue