From: <tr...@ff...> - 2009-07-26 13:08:41
|
Author: jwoithe Date: 2009-07-26 06:08:27 -0700 (Sun, 26 Jul 2009) New Revision: 1607 Modified: trunk/libffado/support/mixer-qt4/mixer_rme.py trunk/libffado/support/mixer-qt4/mixer_rme.ui Log: RME: * only show two mic phantom channels for the FF400 to avoid user confusion * label the phantom channels correctly when a FF800 is in use * add graphical mixer elements for all required device controls (note that only the "phantom" controls are connected to the device hardware at present). Top-level layout is not dynamic: this will be fixed once a final layout is decided on. For the moment controls exist to facilitate testing of controls. Modified: trunk/libffado/support/mixer-qt4/mixer_rme.py =================================================================== --- trunk/libffado/support/mixer-qt4/mixer_rme.py 2009-07-25 13:58:45 UTC (rev 1606) +++ trunk/libffado/support/mixer-qt4/mixer_rme.py 2009-07-26 13:08:27 UTC (rev 1607) @@ -85,8 +85,13 @@ # The Fireface-400 only has 2 phantom-capable channels if (self.model == RME_MODEL_FF400): - self.phantom_2.setEnabled(False) - self.phantom_3.setEnabled(False) + self.disable_hide(self.phantom_2) + self.disable_hide(self.phantom_3) + else: + self.phantom_0.setText("Mic 7") + self.phantom_1.setText("Mic 8") + self.phantom_2.setText("Mic 9") + self.phantom_3.setText("Mic 10") # Get current hardware values and connect GUI element signals to # their respective slots Modified: trunk/libffado/support/mixer-qt4/mixer_rme.ui =================================================================== --- trunk/libffado/support/mixer-qt4/mixer_rme.ui 2009-07-25 13:58:45 UTC (rev 1606) +++ trunk/libffado/support/mixer-qt4/mixer_rme.ui 2009-07-26 13:08:27 UTC (rev 1607) @@ -71,6 +71,679 @@ </item> </layout> </widget> + <widget class="QFrame" name="frame" > + <property name="geometry" > + <rect> + <x>10</x> + <y>150</y> + <width>368</width> + <height>106</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout" > + <item> + <widget class="QGroupBox" name="groupBox_2" > + <property name="title" > + <string>SPDIF in</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2" > + <item> + <widget class="QRadioButton" name="radioButton" > + <property name="text" > + <string>Optical</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_2" > + <property name="text" > + <string>Coax</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_3" > + <property name="title" > + <string>Clock mode</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_3" > + <item> + <widget class="QRadioButton" name="radioButton_3" > + <property name="text" > + <string>Autosync</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_4" > + <property name="text" > + <string>Master</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_4" > + <property name="title" > + <string>Autosync ref</string> + </property> + <layout class="QGridLayout" name="gridLayout" > + <item row="0" column="0" > + <widget class="QLabel" name="label" > + <property name="text" > + <string>Input</string> + </property> + </widget> + </item> + <item row="0" column="1" > + <widget class="QLabel" name="label_2" > + <property name="text" > + <string>[unset]</string> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_3" > + <property name="text" > + <string>Frequency</string> + </property> + </widget> + </item> + <item row="1" column="1" > + <widget class="QLabel" name="label_4" > + <property name="text" > + <string>[unset]</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QFrame" name="frame_2" > + <property name="geometry" > + <rect> + <x>10</x> + <y>260</y> + <width>390</width> + <height>153</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2" > + <item> + <widget class="QGroupBox" name="groupBox_5" > + <property name="title" > + <string>SPDIF out</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_5" > + <item> + <widget class="QCheckBox" name="checkBox" > + <property name="text" > + <string>Optical</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_2" > + <property name="text" > + <string>Professional</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_3" > + <property name="text" > + <string>Emphasis</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_4" > + <property name="text" > + <string>Non-audio</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_6" > + <property name="title" > + <string>Pref sync ref</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_4" > + <item> + <widget class="QRadioButton" name="radioButton_5" > + <property name="text" > + <string>Word clock</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_6" > + <property name="text" > + <string>ADAT1 in</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_7" > + <property name="text" > + <string>ADAT2 in</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_8" > + <property name="text" > + <string>SPDIF in</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_7" > + <property name="title" > + <string>Sync check</string> + </property> + <layout class="QGridLayout" name="gridLayout_2" > + <item row="0" column="0" > + <widget class="QLabel" name="label_5" > + <property name="text" > + <string>Word</string> + </property> + </widget> + </item> + <item row="0" column="1" > + <widget class="QLabel" name="label_6" > + <property name="text" > + <string>No lock</string> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_7" > + <property name="text" > + <string>ADAT1</string> + </property> + </widget> + </item> + <item row="1" column="1" > + <widget class="QLabel" name="label_8" > + <property name="text" > + <string>No lock</string> + </property> + </widget> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="label_9" > + <property name="text" > + <string>ADAT2</string> + </property> + </widget> + </item> + <item row="2" column="1" > + <widget class="QLabel" name="label_10" > + <property name="text" > + <string>No lock</string> + </property> + </widget> + </item> + <item row="3" column="0" > + <widget class="QLabel" name="label_11" > + <property name="text" > + <string>SPDIF</string> + </property> + </widget> + </item> + <item row="3" column="1" > + <widget class="QLabel" name="label_12" > + <property name="text" > + <string>No lock</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QFrame" name="frame_3" > + <property name="geometry" > + <rect> + <x>10</x> + <y>420</y> + <width>471</width> + <height>100</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_3" > + <item> + <widget class="QGroupBox" name="groupBox_8" > + <property name="title" > + <string>SPDIF frequency</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_7" > + <item> + <widget class="QLabel" name="label_13" > + <property name="text" > + <string>48 kHz</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_9" > + <property name="title" > + <string>Word clock</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_6" > + <item> + <widget class="QCheckBox" name="checkBox_5" > + <property name="text" > + <string>Single speed</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_10" > + <property name="title" > + <string>System clock</string> + </property> + <layout class="QGridLayout" name="gridLayout_3" > + <item row="0" column="0" > + <widget class="QLabel" name="label_14" > + <property name="text" > + <string>Mode</string> + </property> + </widget> + </item> + <item row="0" column="1" > + <widget class="QLabel" name="label_15" > + <property name="text" > + <string>Slave</string> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_16" > + <property name="text" > + <string>Frequency</string> + </property> + </widget> + </item> + <item row="1" column="1" > + <widget class="QLabel" name="label_17" > + <property name="text" > + <string>44100 kHz</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_11" > + <property name="geometry" > + <rect> + <x>610</x> + <y>10</y> + <width>94</width> + <height>110</height> + </rect> + </property> + <property name="title" > + <string>Level in</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_8" > + <item> + <widget class="QRadioButton" name="radioButton_9" > + <property name="text" > + <string>Lo gain</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_10" > + <property name="text" > + <string>+4 dBu</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_11" > + <property name="text" > + <string>-10 dBV</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_12" > + <property name="geometry" > + <rect> + <x>510</x> + <y>140</y> + <width>94</width> + <height>110</height> + </rect> + </property> + <property name="title" > + <string>Level out</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_9" > + <item> + <widget class="QRadioButton" name="radioButton_12" > + <property name="text" > + <string>Hi gain</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_13" > + <property name="text" > + <string>+4 dBu</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_14" > + <property name="text" > + <string>-10 dBV</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_13" > + <property name="geometry" > + <rect> + <x>620</x> + <y>140</y> + <width>94</width> + <height>110</height> + </rect> + </property> + <property name="title" > + <string>Phones level</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_10" > + <item> + <widget class="QRadioButton" name="radioButton_15" > + <property name="text" > + <string>Hi gain</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_16" > + <property name="text" > + <string>+4 dBU</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButton_17" > + <property name="text" > + <string>-10 dBV</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_14" > + <property name="geometry" > + <rect> + <x>100</x> + <y>10</y> + <width>159</width> + <height>109</height> + </rect> + </property> + <property name="title" > + <string>Instrument options</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_11" > + <item> + <widget class="QCheckBox" name="checkBox_6" > + <property name="text" > + <string>Drive</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_7" > + <property name="text" > + <string>Limiter</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_8" > + <property name="text" > + <string>Speaker emulation</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_15" > + <property name="geometry" > + <rect> + <x>270</x> + <y>10</y> + <width>180</width> + <height>88</height> + </rect> + </property> + <property name="title" > + <string>Channel 3/4 options</string> + </property> + <layout class="QGridLayout" name="gridLayout_4" > + <item row="0" column="0" colspan="2" > + <widget class="QLabel" name="label_18" > + <property name="text" > + <string>Chan 3</string> + </property> + </widget> + </item> + <item row="0" column="2" > + <widget class="QCheckBox" name="checkBox_9" > + <property name="text" > + <string>Instr</string> + </property> + </widget> + </item> + <item row="0" column="3" > + <widget class="QCheckBox" name="checkBox_11" > + <property name="text" > + <string>Pad</string> + </property> + </widget> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="label_19" > + <property name="text" > + <string>Chan 4</string> + </property> + </widget> + </item> + <item row="2" column="3" > + <widget class="QCheckBox" name="checkBox_12" > + <property name="text" > + <string>Pad</string> + </property> + </widget> + </item> + <item row="2" column="2" > + <widget class="QCheckBox" name="checkBox_10" > + <property name="text" > + <string>Instr</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_16" > + <property name="geometry" > + <rect> + <x>490</x> + <y>410</y> + <width>146</width> + <height>61</height> + </rect> + </property> + <property name="title" > + <string>Limit bandwidth</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_12" > + <item> + <widget class="QComboBox" name="comboBox" > + <item> + <property name="text" > + <string>All channels</string> + </property> + </item> + <item> + <property name="text" > + <string>Analog + SPDIF</string> + </property> + </item> + <item> + <property name="text" > + <string>Analog 1-8</string> + </property> + </item> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="groupBox_17" > + <property name="geometry" > + <rect> + <x>460</x> + <y>10</y> + <width>141</width> + <height>121</height> + </rect> + </property> + <property name="title" > + <string>Inputs</string> + </property> + <layout class="QGridLayout" name="gridLayout_5" > + <item row="0" column="0" > + <widget class="QLabel" name="label_20" > + <property name="text" > + <string>1</string> + </property> + </widget> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="label_21" > + <property name="text" > + <string>7</string> + </property> + </widget> + </item> + <item row="2" column="1" colspan="3" > + <widget class="QComboBox" name="comboBox_3" > + <item> + <property name="text" > + <string>Front</string> + </property> + </item> + <item> + <property name="text" > + <string>Rear</string> + </property> + </item> + <item> + <property name="text" > + <string>Front+Rear</string> + </property> + </item> + </widget> + </item> + <item row="3" column="0" > + <widget class="QLabel" name="label_22" > + <property name="text" > + <string>8</string> + </property> + </widget> + </item> + <item row="3" column="1" colspan="3" > + <widget class="QComboBox" name="comboBox_4" > + <item> + <property name="text" > + <string>Front</string> + </property> + </item> + <item> + <property name="text" > + <string>Rear</string> + </property> + </item> + <item> + <property name="text" > + <string>Front+Rear</string> + </property> + </item> + </widget> + </item> + <item row="0" column="1" colspan="3" > + <widget class="QComboBox" name="comboBox_2" > + <item> + <property name="text" > + <string>Front</string> + </property> + </item> + <item> + <property name="text" > + <string>Rear</string> + </property> + </item> + <item> + <property name="text" > + <string>Front+Rear</string> + </property> + </item> + </widget> + </item> + </layout> + </widget> </widget> <widget class="QWidget" name="mixer" > <attribute name="title" > |