diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-09-25 12:05:06 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-09-25 12:05:06 +0000 |
| commit | 6b48eaf5918e54b4f6cc7e9366da72ee6fe416b6 (patch) | |
| tree | c9444416ff941a434fed97b7d2d786fa194088f9 /src/plugins/General/rgscan/rgscaner.h | |
| parent | 9705552640a9c340df9c8a8b3c3ce07ede56c278 (diff) | |
| download | qmmp-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.h | 8 |
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; }; |
