Changeset 1212

Show
Ignore:
Timestamp:
05/25/08 02:12:22 (13 years ago)
Author:
ppalmers
Message:

add a config option to globally disable the cache

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/config.h.in

    r1186 r1212  
    8282// debug logging in the critical sections 
    8383#define DEBUG_EXTREME_ENABLE                 0 
     84 
     85// discovery 
     86#define ENABLE_DISCOVERY_CACHE               0 
    8487 
    8588// watchdog 
  • trunk/libffado/src/devicemanager.cpp

    r1163 r1212  
    316316DeviceManager::discover( bool useCache, bool rediscover ) 
    317317{ 
     318    useCache = useCache && ENABLE_DISCOVERY_CACHE; 
    318319    m_used_cache_last_time = useCache; 
    319320    bool slaveMode=false;