Show
Ignore:
Timestamp:
09/09/07 12:04:35 (15 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/bounce/bounce_avdevice.cpp

    r618 r639  
    145145} 
    146146 
     147FFADODevice::ClockSourceVector 
     148BounceDevice::getSupportedClockSources() { 
     149    FFADODevice::ClockSourceVector r; 
     150    return r; 
     151} 
     152 
     153bool 
     154BounceDevice::setActiveClockSource(ClockSource s) { 
     155    return false; 
     156} 
     157 
     158FFADODevice::ClockSource 
     159BounceDevice::getActiveClockSource() { 
     160    ClockSource s; 
     161    return s; 
     162} 
     163 
    147164int BounceDevice::getConfigurationId( ) { 
    148165    return 0; 
  • trunk/libffado/src/bounce/bounce_avdevice.h

    r583 r639  
    8181    virtual bool setSamplingFrequency( int samplingFrequency ); 
    8282    virtual int getSamplingFrequency( ); 
     83     
     84    virtual ClockSourceVector getSupportedClockSources(); 
     85    virtual bool setActiveClockSource(ClockSource); 
     86    virtual ClockSource getActiveClockSource(); 
    8387 
    8488    virtual bool prepare();