summaryrefslogtreecommitdiff
path: root/muse2/muse/mixer/astrip.h
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2012-10-04 16:08:51 +0000
committerRobert Jonsson <spamatica@gmail.com>2012-10-04 16:08:51 +0000
commit8f81edb163136e8374db131eeefd261fc58e2dc9 (patch)
treeaa107d525e28c06a3543b2de1d1e48d76ac057a3 /muse2/muse/mixer/astrip.h
parent2783d453532728eee509c1e61d4bdd4a5bfac64f (diff)
added gain knob to channel strips
Diffstat (limited to 'muse2/muse/mixer/astrip.h')
-rw-r--r--muse2/muse/mixer/astrip.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/muse2/muse/mixer/astrip.h b/muse2/muse/mixer/astrip.h
index 81edc664..7088301f 100644
--- a/muse2/muse/mixer/astrip.h
+++ b/muse2/muse/mixer/astrip.h
@@ -29,6 +29,7 @@
#include "type_defs.h"
#include "strip.h"
+#include "knob.h"
//#include "route.h"
//class QDialog;
@@ -67,6 +68,9 @@ class AudioStrip : public Strip {
MusEGui::Knob* pan;
MusEGui::DoubleLabel* panl;
+ MusEGui::Knob* gain;
+ MusEGui::DoubleLabel* gainLabel;
+
std::vector<MusEGui::Knob*> auxKnob;
std::vector<MusEGui::DoubleLabel*> auxLabel;
@@ -81,7 +85,7 @@ class AudioStrip : public Strip {
//QToolButton* iR;
//QToolButton* oR;
- MusEGui::Knob* addKnob(int, int, MusEGui::DoubleLabel**, QLabel *name);
+ MusEGui::Knob* addKnob(Knob::KnobType, int, MusEGui::DoubleLabel**, QLabel *name);
void updateOffState();
void updateVolume();
@@ -96,6 +100,7 @@ class AudioStrip : public Strip {
void iRoutePressed();
void oRoutePressed();
void auxChanged(double, int);
+ void gainChanged(double);
void volumeChanged(double,int,bool);
void volumePressed();
void volumeReleased();