diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-05-02 13:04:58 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-05-02 13:04:58 +0200 |
commit | 521eaad10b2b9b7104b2b55e66864b54577e7b54 (patch) | |
tree | 81a446304a1996baa7544adaa0ca0be721d63a72 /dgedit/mainwindow.cc | |
parent | 6fa22c8eab8cbae74079a344a759fbd179ed857e (diff) |
Fixed peak reporting. Use fabs() not abs() when working with double!
Diffstat (limited to 'dgedit/mainwindow.cc')
-rw-r--r-- | dgedit/mainwindow.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dgedit/mainwindow.cc b/dgedit/mainwindow.cc index 9c88631..0e154ed 100644 --- a/dgedit/mainwindow.cc +++ b/dgedit/mainwindow.cc @@ -189,6 +189,9 @@ MainWindow::MainWindow() &player, SLOT(setGainDB(double))); connect(&player, SIGNAL(peakUpdate(double)), vol, SLOT(updatePeakPower(double))); +// connect(&player, SIGNAL(peakUpdateDB(double)), +// vol, SLOT(updatePeakDb(double))); + vol->setVolumeDb(0); dockWidget->widget()->layout()->addWidget(vol); |