Changeset 1785

Show
Ignore:
Timestamp:
01/05/10 22:05:21 (11 years ago)
Author:
jwoithe
Message:

MOTU: the MOTU driver doesn't currently implement boost/level for the 896HD, probably because that interface doesn't have them. Therefore disable them in ffado-mixer.

Files:

Legend:

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

    r1767 r1785  
    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 Ultralite 
    707         # doesn't implement them.  All other interfaces have them over analog 1-8. 
    708         if (self.model==MOTU_MODEL_TRAVELER or self.model==MOTU_MODEL_ULTRALITE): 
     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): 
    709710            self.disable_hide(self.ana1_level) 
    710711            self.disable_hide(self.ana2_level) 
     
    715716            self.disable_hide(self.ana3_boost) 
    716717            self.disable_hide(self.ana4_boost) 
    717         if (self.model == MOTU_MODEL_ULTRALITE): 
     718        if (self.model==MOTU_MODEL_ULTRALITE or self.model==MOTU_MODEL_896HD): 
    718719            self.disable_hide(self.ana5_level) 
    719720            self.disable_hide(self.ana6_level)