diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-30 21:59:07 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-30 22:25:21 +0200 |
commit | 3df530e7f6521a74d5184c6de04589cd762c5f12 (patch) | |
tree | 97320fc76b9d9cbb2f4abc3cdc1b3fe5af6f18b9 /libs/plugins/a-eq.lv2 | |
parent | 070d8f5ee1473baab294fdfb21e1dda73995b444 (diff) |
Clean up double/float narrowing math in plugins.
Diffstat (limited to 'libs/plugins/a-eq.lv2')
-rw-r--r-- | libs/plugins/a-eq.lv2/a-eq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/plugins/a-eq.lv2/a-eq.c b/libs/plugins/a-eq.lv2/a-eq.c index 809b8a9f06..7aea800fb2 100644 --- a/libs/plugins/a-eq.lv2/a-eq.c +++ b/libs/plugins/a-eq.lv2/a-eq.c @@ -149,7 +149,7 @@ instantiate(const LV2_Descriptor* descriptor, { Aeq* aeq = (Aeq*)calloc(1, sizeof(Aeq)); aeq->srate = rate; - aeq->tau = 1.0 - expf (-2.f * M_PI * 64.f * 25.f / aeq->srate); // 25Hz time constant @ 64fpp + aeq->tau = 1.f - expf (-2.f * M_PI * 64.f * 25.f / aeq->srate); // 25Hz time constant @ 64fpp #ifdef LV2_EXTENDED for (int i=0; features[i]; ++i) { |