aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rgscan/rgscaner.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-09-27 06:13:22 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-09-27 06:13:22 +0000
commitc8704a9c1ae72da724d037bb3d19a8c8e7e61f70 (patch)
treecfe2cc24d8b1b286a3ba59af5eb96f4533e1e5f2 /src/plugins/General/rgscan/rgscaner.h
parent6b48eaf5918e54b4f6cc7e9366da72ee6fe416b6 (diff)
downloadqmmp-c8704a9c1ae72da724d037bb3d19a8c8e7e61f70.tar.gz
qmmp-c8704a9c1ae72da724d037bb3d19a8c8e7e61f70.tar.bz2
qmmp-c8704a9c1ae72da724d037bb3d19a8c8e7e61f70.zip
rgscan: added peak value calculation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3724 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/rgscan/rgscaner.h')
-rw-r--r--src/plugins/General/rgscan/rgscaner.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/General/rgscan/rgscaner.h b/src/plugins/General/rgscan/rgscaner.h
index b08794097..79c2b058e 100644
--- a/src/plugins/General/rgscan/rgscaner.h
+++ b/src/plugins/General/rgscan/rgscaner.h
@@ -44,7 +44,8 @@ public:
bool prepare(const QString &url);
void stop();
bool isRunning();
- double gain();
+ double gain() const;
+ double peak() const;
GainHandle_t *handle();
signals:
@@ -60,6 +61,7 @@ private:
bool m_is_running;
QString m_url;
double m_gain;
+ double m_peak;
GainHandle_t *m_handle;
};