Show
Ignore:
Timestamp:
11/28/07 14:06:04 (13 years ago)
Author:
ppalmers
Message:

fix propagation of debug/verbose level

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libavc/general/avc_subunit.cpp

    r736 r740  
    6969Subunit::setVerboseLevel(int l) 
    7070{ 
     71    setDebugLevel(l); 
    7172    debugOutput( DEBUG_LEVEL_VERBOSE, "Setting verbose level to %d...\n", l ); 
    72     setDebugLevel(l); 
    7373} 
    7474 
     
    238238    result  = ser.write( basePath + "m_sbType", m_sbType ); 
    239239    result &= ser.write( basePath + "m_sbId", m_sbId ); 
    240     result &= ser.write( basePath + "m_verboseLevel", getDebugLevel() ); 
    241240    result &= serializePlugVector( basePath + "m_plugs", ser, m_plugs ); 
    242241    result &= serializeChild( basePath, ser ); 
     
    283282    result &= deserializePlugVector( basePath + "m_plugs", deser, 
    284283                                     unit.getPlugManager(), pSubunit->m_plugs ); 
    285     int verboseLevel; 
    286     result &= deser.read( basePath + "m_verboseLevel", verboseLevel ); 
    287     setDebugLevel(verboseLevel); 
    288284    result &= pSubunit->deserializeChild( basePath, deser, unit ); 
    289285