summaryrefslogtreecommitdiff
path: root/plugins/ZamVerb/ZamVerbPlugin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZamVerb/ZamVerbPlugin.hpp')
-rw-r--r--plugins/ZamVerb/ZamVerbPlugin.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ZamVerb/ZamVerbPlugin.hpp b/plugins/ZamVerb/ZamVerbPlugin.hpp
index 28f08c8..e921443 100644
--- a/plugins/ZamVerb/ZamVerbPlugin.hpp
+++ b/plugins/ZamVerb/ZamVerbPlugin.hpp
@@ -103,12 +103,12 @@ protected:
static inline float
from_dB(float gdb) {
- return (exp(gdb/20.f*log(10.f)));
+ return (expf(0.05f*gdb*logf(10.f)));
}
static inline float
to_dB(float g) {
- return (20.f*log10(g));
+ return (20.f*log10f(g));
}
void activate() override;