Changeset 2119 for trunk

Show
Ignore:
Timestamp:
04/16/12 05:21:40 (9 years ago)
Author:
jwoithe
Message:

If streaming is started when ffado-mixer is running, make ffado-mixer's sample rate agree with that in use (jackd can change this on startup independently of ffado-mixer).

Files:

Legend:

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

    r1640 r2119  
    115115            self.txtNickname.setEnabled(False) 
    116116 
     117        self.streaming_status = self.streamingstatus.selected() 
     118 
    117119    def polledUpdate(self): 
    118120        self.samplerate.setEnabled(self.samplerateselect.canChangeValue()) 
     
    134136            self.chkStreamOut.setChecked(True) 
    135137 
     138        if (ss!=self.streaming_status and ss_txt!='Idle'): 
     139            self.samplerate.setCurrentIndex( self.samplerateselect.selected() ) 
     140        self.streaming_status = ss 
     141 
    136142# vim: et