summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2015-09-26 16:47:59 +0200
committerRémi Verschelde <rverschelde@gmail.com>2015-09-26 21:06:12 +0200
commit1e147c4945cfde20d05a58d435eb8f748019eb72 (patch)
treee8de92dad4d44ad8c61f270ac243ba950fa8fedb /core
parent3bf24eeb6b13dba2315457a3bdf108b8f2e289f9 (diff)
Fix some copy-paste mistakes in linear/db volume functions
Diffstat (limited to 'core')
-rw-r--r--core/math/math_funcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index 33175ed2fc..ec089ebc8b 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -79,9 +79,9 @@ public:
return Math::log( p_linear ) * 8.6858896380650365530225783783321;
}
- static inline double db2linear(double p_linear) {
+ static inline double db2linear(double p_db) {
- return Math::exp( p_linear * 0.11512925464970228420089957273422 );
+ return Math::exp( p_db * 0.11512925464970228420089957273422 );
}
static bool is_nan(double p_val);