Show
Ignore:
Timestamp:
06/05/07 13:04:20 (17 years ago)
Author:
wagi
Message:

- added all missing 'virtual' to function declared in avdevice implementation
- added getConfigurationId function (used for av/c model caching)

Files:

Legend:

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

    r445 r479  
    169169 
    170170    return convertESamplingFrequency(samplingFrequency); 
     171} 
     172 
     173int 
     174DiceAvDevice::getConfigurationId() 
     175{ 
     176    return 0; 
    171177} 
    172178 
  • trunk/libffado/src/dice/dice_avdevice.h

    r445 r479  
    6262 
    6363    static bool probe( ConfigRom& configRom ); 
    64     bool discover(); 
     64    virtual bool discover(); 
    6565 
    66     void showDevice(); 
     66    virtual void showDevice(); 
    6767 
    68     bool setSamplingFrequency( ESamplingFrequency samplingFrequency ); 
    69     int getSamplingFrequency( ); 
     68    virtual bool setSamplingFrequency( ESamplingFrequency samplingFrequency ); 
     69    virtual int getSamplingFrequency( ); 
     70    virtual int getConfigurationId( ); 
    7071 
    71     int getStreamCount(); 
    72     Streaming::StreamProcessor *getStreamProcessorByIndex(int i); 
     72    virtual int getStreamCount(); 
     73    virtual Streaming::StreamProcessor *getStreamProcessorByIndex(int i); 
    7374 
    74     bool prepare(); 
     75    virtual bool prepare(); 
    7576 
    76     bool lock(); 
    77     bool unlock(); 
     77    virtual bool lock(); 
     78    virtual bool unlock(); 
    7879 
    79     bool startStreamByIndex(int i); 
    80     bool stopStreamByIndex(int i); 
     80    virtual bool startStreamByIndex(int i); 
     81    virtual bool stopStreamByIndex(int i); 
    8182 
    82     bool enableStreaming(); 
    83     bool disableStreaming(); 
     83    virtual bool enableStreaming(); 
     84    virtual bool disableStreaming(); 
    8485 
    8586protected: