Show
Ignore:
Timestamp:
09/09/07 12:04:35 (17 years ago)
Author:
ppalmers
Message:

- Introduce a generic infrastructure for FFADODevices to present the clock sources they support and their state
- Implement this infrastructure for BeBoB devices
- Implement this infrastructure for ECHO Fireworks devices

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/metrichalo/mh_avdevice.cpp

    r584 r639  
    125125} 
    126126 
     127FFADODevice::ClockSourceVector 
     128MHAvDevice::getSupportedClockSources() { 
     129    FFADODevice::ClockSourceVector r; 
     130    return r; 
     131} 
     132 
     133bool 
     134MHAvDevice::setActiveClockSource(ClockSource s) { 
     135    return false; 
     136} 
     137 
     138FFADODevice::ClockSource 
     139MHAvDevice::getActiveClockSource() { 
     140    ClockSource s; 
     141    return s; 
     142} 
     143 
     144 
    127145int 
    128146MHAvDevice::getConfigurationId( ) { 
  • trunk/libffado/src/metrichalo/mh_avdevice.h

    r583 r639  
    6262    virtual int getSamplingFrequency( ); 
    6363 
     64    virtual ClockSourceVector getSupportedClockSources(); 
     65    virtual bool setActiveClockSource(ClockSource); 
     66    virtual ClockSource getActiveClockSource(); 
     67 
    6468    virtual int getStreamCount(); 
    6569    virtual Streaming::StreamProcessor *getStreamProcessorByIndex(int i);