Changeset 1836

Show
Ignore:
Timestamp:
05/21/10 08:51:45 (14 years ago)
Author:
jwoithe
Message:

MOTU: as far as I can tell the 8pre doesn't have software-controlled boost/level controls over the analog inputs, so ffado doesn't export them via dbus. Make sure the mixer doesn't request them.

Files:

Legend:

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

    r1788 r1836  
    704704        self.disable_hide(self.ana7_pad) 
    705705        self.disable_hide(self.ana8_pad) 
    706         # The Traveler has level and boost switchs for analog 5-8.  The  
    707         # Ultralite and the 896HD don't implement them.  All other interfaces  
    708         # have them over analog 1-8. 
    709         if (self.model==MOTU_MODEL_TRAVELER or self.model==MOTU_MODEL_ULTRALITE or self.model==MOTU_MODEL_896HD): 
     706        # The Traveler has level and boost switches for analog 5-8.  The 
     707        # 8pre, Ultralite and the 896HD don't implement them.  All other 
     708        # interfaces have them over analog 1-8. 
     709        if (self.model==MOTU_MODEL_TRAVELER or self.model==MOTU_MODEL_ULTRALITE or self.model==MOTU_MODEL_896HD or self.model==MOTU_MODEL_8PRE): 
    710710            self.disable_hide(self.ana1_level) 
    711711            self.disable_hide(self.ana2_level) 
     
    716716            self.disable_hide(self.ana3_boost) 
    717717            self.disable_hide(self.ana4_boost) 
    718         if (self.model==MOTU_MODEL_ULTRALITE or self.model==MOTU_MODEL_896HD): 
     718        if (self.model==MOTU_MODEL_ULTRALITE or self.model==MOTU_MODEL_896HD or self.model==MOTU_MODEL_8PRE): 
    719719            self.disable_hide(self.ana5_level) 
    720720            self.disable_hide(self.ana6_level)