Index: trunk/libffado/support/mixer/mixer_quatafire.ui
===================================================================
--- trunk/libffado/support/mixer/mixer_quatafire.ui (revision 973)
+++ trunk/libffado/support/mixer/mixer_quatafire.ui (revision 974)
@@ -213,54 +213,4 @@
-
-
- dialCh1
-
-
-
- 10
- 30
- 50
- 50
-
-
-
- -32768
-
-
- 32768
-
-
- 1000
-
-
- 10000
-
-
-
-
- dialCh2
-
-
-
- 70
- 30
- 50
- 50
-
-
-
- -32768
-
-
- 32768
-
-
- 1000
-
-
- 10000
-
-
@@ -374,5 +324,5 @@
- DAW Volume Control
+ Channel Volume Control
Index: trunk/libffado/support/mixer/mixer_quatafire.py
===================================================================
--- trunk/libffado/support/mixer/mixer_quatafire.py (revision 973)
+++ trunk/libffado/support/mixer/mixer_quatafire.py (revision 974)
@@ -47,6 +47,6 @@
}
self.PanControls={
- self.dialCh1: ['/Mixer/Feature_1'],
- self.dialCh2: ['/Mixer/Feature_1'],
+ #self.dialCh1: ['/Mixer/Feature_1'],
+ #self.dialCh2: ['/Mixer/Feature_1'],
self.dialCh34: ['/Mixer/Feature_2'],
self.dialCh56: ['/Mixer/Feature_3'],
@@ -61,9 +61,9 @@
def updatePan(self,a0):
sender = self.sender()
- pan_left = -a0
+ pan_left = a0
if pan_left < 0:
pan_left = 0
- pan_right = a0
+ pan_right = -a0
if pan_right < 0:
pan_right = 0
@@ -92,8 +92,9 @@
if pan_left == 0:
- ctrl.setValue(0x7FFF-pan_left)
+ val = pan_right
else:
- ctrl.setValue(-(0x7FFF-pan_right))
-
+ val = -pan_left
+
+ ctrl.setValue(val)
# connect the UI element
QObject.connect(ctrl,SIGNAL('valueChanged(int)'),self.updatePan)