Changeset 623

Show
Ignore:
Timestamp:
09/07/07 08:12:49 (15 years ago)
Author:
ppalmers
Message:

introduce getSyncState

Files:

Legend:

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

    r584 r623  
    9696} 
    9797 
     98enum FFADODevice::eSyncState 
     99FFADODevice::getSyncState( ) { 
     100    return eSS_Unknown; 
     101} 
     102 
    98103bool 
    99104FFADODevice::setId( unsigned int id) 
  • trunk/libffado/src/ffadodevice.h

    r587 r623  
    134134 
    135135    /** 
     136     * @brief sync state enum 
     137     */ 
     138    enum eSyncState { 
     139        eSS_Unknown=0, 
     140        eSS_Locked=1, 
     141        eSS_Unlocked=2, 
     142    }; 
     143 
     144    /** 
     145     * @brief gets the devices current synchronization state 
     146     * @return the device's sync state 
     147     */ 
     148    virtual enum eSyncState getSyncState( ); 
     149 
     150    /** 
    136151     * @brief This is called by the device manager to give the device a unique ID. 
    137152     *