Changeset 1775

Show
Ignore:
Timestamp:
01/01/10 15:16:03 (14 years ago)
Author:
arnonym
Message:

Saffire Pro24: Display only the connected ports in the mixer.

This one shows that somewhere in the router or mixer a blockname is used from blockToName, while a real name was given in code. Will look at this tomorrow.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/dice/focusrite/saffire_pro24.cpp

    r1766 r1775  
    4242FocusriteEAP::Poti* SaffirePro24::SaffirePro24EAP::getDimPoti(std::string name) { 
    4343    return new FocusriteEAP::Poti(this, name, 0x54); 
     44} 
     45 
     46void SaffirePro24::SaffirePro24EAP::setupSources() { 
     47    addSource("SPDIF",    eRS_AES,   6, 2); 
     48    addSource("ADAT",     eRS_ADAT,  0, 8); 
     49    addSource("INS0",     eRS_InS0,  0, 4); 
     50    addSource("MixerOut", eRS_Mixer, 0, 16); 
     51    addSource("1394",     eRS_ARX0,  0, 8); 
     52} 
     53void SaffirePro24::SaffirePro24EAP::setupDestinations() { 
     54    addDestination("SPDIF", eRD_AES, 6, 2); 
     55    addDestination("INS0", eRD_InS0, 0, 6); 
     56    addDestination("MixerIn", eRD_Mixer0, 0, 16); 
     57    addDestination("MixerIn", eRD_Mixer1, 16, 2); 
     58    addDestination("1394", eRD_ATX0, 0, 16); 
    4459} 
    4560 
  • trunk/libffado/src/dice/focusrite/saffire_pro24.h

    r1766 r1775  
    6161        Poti* getMonitorPoti(std::string); 
    6262        Poti* getDimPoti(std::string); 
     63 
     64        void setupSources(); 
     65        void setupDestinations(); 
    6366    }; 
    6467    Dice::EAP* createEAP();