Changeset 1501 for trunk/libffado/support/mixer-qt4/mixer_motu.py
- Timestamp:
- 12/07/08 07:51:28 (15 years ago)
- Files:
-
- trunk/libffado/support/mixer-qt4/mixer_motu.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/support/mixer-qt4/mixer_motu.py
r1435 r1501 610 610 self.mix3_tab.setTabText(1, "Mic inputs"); 611 611 self.mix4_tab.setTabText(1, "Mic inputs"); 612 # FIXME: when impl mented, will mic channels just reuse the AES/EBU612 # FIXME: when implemented, will mic channels just reuse the AES/EBU 613 613 # dbus path? If not we'll have to reset the respective values in 614 614 # the control arrays (self.ChannelFaders etc). … … 643 643 self.phones_src.setItemText(7, "AES/EBU") 644 644 645 # The Ultralite doesn't have ADAT channels 645 # The Ultralite doesn't have ADAT channels (or any optical ports at 646 # all) 646 647 if (self.model == MOTU_MODEL_ULTRALITE): 647 648 self.mix1_tab.setTabEnabled(3, False) # ADAT page … … 649 650 self.mix3_tab.setTabEnabled(3, False) # ADAT page 650 651 self.mix4_tab.setTabEnabled(3, False) # ADAT page 652 self.optical_in_mode.setEnabled(False) 653 self.optical_out_mode.setEnabled(False) 651 654 652 655 # Some devices don't have the option of selecting an optical SPDIF … … 750 753 self.disable_hide(self.ana7_pad) 751 754 self.disable_hide(self.ana8_pad) 755 # Only the Ultralite has digital trim controls over the SPDIF channels 756 if (not(self.model == MOTU_MODEL_ULTRALITE)): 757 self.disable_hide(self.spdif1_trimgain); 758 self.disable_hide(self.spdif1_trimgain_label); 759 self.disable_hide(self.spdif1ctrl); 760 self.disable_hide(self.spdif2_trimgain); 761 self.disable_hide(self.spdif2_trimgain_label); 762 self.disable_hide(self.spdif2ctrl); 752 763 753 764 # Now fetch the current values into the respective controls. Don't