summaryrefslogtreecommitdiff
path: root/src/lib/gain.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-14 20:04:15 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-14 20:04:15 +0000
commit05c37b9bb09f7bfa4c2ec8ea6b3fa4a83d0fec20 (patch)
treefa7a3e408c2eb66b070864694b6af7e0787e508f /src/lib/gain.h
parent5161626c3c28ba528511a8b211286a5e81a0f02a (diff)
Tests pass again.
Diffstat (limited to 'src/lib/gain.h')
-rw-r--r--src/lib/gain.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/gain.h b/src/lib/gain.h
new file mode 100644
index 000000000..c1221ed48
--- /dev/null
+++ b/src/lib/gain.h
@@ -0,0 +1,12 @@
+#include "processor.h"
+
+class Gain : public AudioProcessor
+{
+public:
+ Gain (Log* log, float gain);
+
+ void process_audio (boost::shared_ptr<AudioBuffers>);
+
+private:
+ float _gain;
+};