aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rgscan/rgscaner.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-09-25 12:05:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-09-25 12:05:06 +0000
commit6b48eaf5918e54b4f6cc7e9366da72ee6fe416b6 (patch)
treec9444416ff941a434fed97b7d2d786fa194088f9 /src/plugins/General/rgscan/rgscaner.h
parent9705552640a9c340df9c8a8b3c3ce07ede56c278 (diff)
downloadqmmp-6b48eaf5918e54b4f6cc7e9366da72ee6fe416b6.tar.gz
qmmp-6b48eaf5918e54b4f6cc7e9366da72ee6fe416b6.tar.bz2
qmmp-6b48eaf5918e54b4f6cc7e9366da72ee6fe416b6.zip
rgscan: added album gain calculation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3723 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/rgscan/rgscaner.h')
-rw-r--r--src/plugins/General/rgscan/rgscaner.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/General/rgscan/rgscaner.h b/src/plugins/General/rgscan/rgscaner.h
index c9014ddd1..b08794097 100644
--- a/src/plugins/General/rgscan/rgscaner.h
+++ b/src/plugins/General/rgscan/rgscaner.h
@@ -27,10 +27,13 @@
#include <stdio.h>
#include <qmmp/decoder.h>
#include <qmmp/inputsource.h>
+#include "gain_analysis.h"
+
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
+
class RGScaner : public QObject, public QRunnable
{
Q_OBJECT
@@ -42,13 +45,11 @@ public:
void stop();
bool isRunning();
double gain();
-
+ GainHandle_t *handle();
signals:
void progress(int percent);
void finished(const QString &url);
- //void desriptionChanged(QString text);
- //void error(QString text);
private:
void run();
@@ -59,6 +60,7 @@ private:
bool m_is_running;
QString m_url;
double m_gain;
+ GainHandle_t *m_handle;
};