Show
Ignore:
Timestamp:
12/07/08 05:50:41 (3 years ago)
Author:
ppalmers
Message:

Merge all changes from 2.0 branch into trunk (since r1361). This _should_ contain all forward merges done in the mean time. At this moment in time both branches should be in sync.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/bebob/focusrite/focusrite_saffire.cpp

    r1336 r1498  
    3535                 getConfigRom().getNodeId() ); 
    3636 
    37     // the saffire doesn't seem to like it if the commands are too fast 
    38     if (AVC::AVCCommand::getSleepAfterAVCCommand() < 1000) { 
    39         AVC::AVCCommand::setSleepAfterAVCCommand( 1000 ); 
    40     } 
    41  
    4237    if(getConfigRom().getGuid() < 0x130e0100040000LL) { 
    4338        m_isSaffireLE = false; 
     
    253248        result &= m_MixerContainer->addElement( 
    254249            new DialPositionControl(*this,  
    255                     FR_SAFFIRE_CMD_ID_MONITOR_DIAL, 
     250                    FR_SAFFIRE_CMD_ID_MONITOR_DIAL, 0, 
    256251                    "MonitorDial", "Monitor Dial", "Monitor Dial Value")); 
    257252 
     
    384379    delete m_MixerContainer; 
    385380    return true; 
     381} 
     382 
     383std::vector<int> 
     384SaffireDevice::getSupportedSamplingFrequencies() 
     385{ 
     386    std::vector<int> frequencies; 
     387    frequencies.push_back(44100); 
     388    frequencies.push_back(48000); 
     389    frequencies.push_back(88200); 
     390    frequencies.push_back(96000); 
     391    return frequencies; 
    386392} 
    387393