Show
Ignore:
Timestamp:
06/05/07 13:04:20 (15 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/bounce/bounce_avdevice.cpp

    r445 r479  
    132132} 
    133133 
     134int BounceDevice::getConfigurationId( ) { 
     135    return 0; 
     136} 
     137 
    134138bool BounceDevice::setSamplingFrequency( ESamplingFrequency samplingFrequency ) { 
    135139    int retval=convertESamplingFrequency( samplingFrequency ); 
  • trunk/libffado/src/bounce/bounce_avdevice.h

    r445 r479  
    7575 
    7676    static bool probe( ConfigRom& configRom ); 
    77     bool discover(); 
     77    virtual bool discover(); 
    7878 
    79     bool setSamplingFrequency( ESamplingFrequency samplingFrequency ); 
    80     int getSamplingFrequency( ); 
     79    virtual bool setSamplingFrequency( ESamplingFrequency samplingFrequency ); 
     80    virtual int getSamplingFrequency( ); 
     81    virtual int getConfigurationId( ); 
    8182 
    82     bool prepare(); 
    83     bool lock(); 
    84     bool unlock(); 
     83    virtual bool prepare(); 
     84    virtual bool lock(); 
     85    virtual bool unlock(); 
    8586 
    86     int getStreamCount(); 
     87    virtual int getStreamCount(); 
    8788 
    88     Streaming::StreamProcessor *getStreamProcessorByIndex(int i); 
     89    virtual Streaming::StreamProcessor *getStreamProcessorByIndex(int i); 
    8990 
    90     bool startStreamByIndex(int i); 
    91     bool stopStreamByIndex(int i); 
     91    virtual bool startStreamByIndex(int i); 
     92    virtual bool stopStreamByIndex(int i); 
    9293 
    93     void showDevice(); 
     94    virtual void showDevice(); 
    9495 
    9596protected: