aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <[email protected]>2016-03-25 13:39:42 +0100
committerTobias C. Berner <[email protected]>2016-03-29 22:56:15 +0200
commit3d458a4e785dcdd72a4681bcd1024e6195ddf671 (patch)
tree15ebbe6937d0ed93892e8f5f96492172d9fde60d
parentae38cea2fe8a0be638243b9cbec97478e6ca6342 (diff)
Incude math.h .
Summary: The functions `log10()` and `pow()` are defined in `math.h` -- so include it. Reviewers: #kdenlive, mardelle Reviewed By: #kdenlive, mardelle Subscribers: mardelle Differential Revision: https://phabricator.kde.org/D1218
-rw-r--r--src/monitor/scopes/monitoraudiolevel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/monitor/scopes/monitoraudiolevel.cpp b/src/monitor/scopes/monitoraudiolevel.cpp
index 1529b1f..3d95c4d 100644
--- a/src/monitor/scopes/monitoraudiolevel.cpp
+++ b/src/monitor/scopes/monitoraudiolevel.cpp
@@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QVBoxLayout>
#include <QFont>
#include <QDebug>
+#include <math.h>
const double log_factor = 1.0 / log10(1.0/127);