Changeset 2111

Show
Ignore:
Timestamp:
04/02/12 05:51:10 (9 years ago)
Author:
jwoithe
Message:

Terratec Producer Phase 24FW: possibly fix a few mixer settings which were not working. Patch from 'maxi' via trac. Addresses ticket #323.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer-qt4/ffado/mixer/phase24control.py

    r1691 r2111  
    7777    def setLineLevel(self,a0): 
    7878        log.debug("setting line level to %d" % (a0 * -768)) 
    79         self.hw.setContignuous('/Mixer/Feature_2', a0 * -768) 
     79        self.hw.setContignuous('/Mixer/Feature_Volume_2', a0 * -768) 
    8080 
    8181    # public slot 
     
    8585        if(a0 == 0): 
    8686            log.debug("setting front level to %d" % (0)) 
    87             self.hw.setContignuous('/Mixer/Feature_8', 0) 
     87            self.hw.setContignuous('/Mixer/Feature_Volume_8', 0) 
    8888        else: 
    8989            log.debug("setting front level to %d" % (1536)) 
    90             self.hw.setContignuous('/Mixer/Feature_8', 1536) 
     90            self.hw.setContignuous('/Mixer/Feature_Volume_8', 1536) 
    9191 
    9292    # public slot 
     
    132132                self.setWindowTitle("Terratec Phase 24 Control") 
    133133 
    134                 self.VolumeControls['master'] = ['/Mixer/Feature_1', self.sldMaster] 
     134                self.VolumeControls['master'] = ['/Mixer/Feature_Volume_1', self.sldMaster] 
    135135                self.sldMaster.setEnabled(True) 
    136136 
    137137                self.cmbFrontLevel.setEnabled(True) 
    138                 val = self.hw.getContignuous('/Mixer/Feature_8') 
     138                val = self.hw.getContignuous('/Mixer/Feature_Volume_8') 
    139139                if val > 0: 
    140140                    self.cmbFrontLevel.setCurrentIndex(1) 
     
    152152                ctrl[1].setCurrentIndex(state) 
    153153 
    154             val = self.hw.getContignuous('/Mixer/Feature_2')/-768 
     154            val = self.hw.getContignuous('/Mixer/Feature_Volume_2')/-768 
    155155            if val > 4: 
    156156                self.cmbLineLevel.setCurrentIndex(4)