Changeset 449

Show
Ignore:
Timestamp:
04/08/07 05:47:44 (16 years ago)
Author:
ppalmers
Message:

- switched osc node name to the device ID instead of the node id

Files:

Legend:

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

    r445 r449  
    6262IAvDevice::setId( unsigned int id) 
    6363{ 
     64    bool retval; 
    6465    // FIXME: decent ID system nescessary 
    6566    std::ostringstream idstr; 
     
    6768    debugOutput( DEBUG_LEVEL_VERBOSE, "Set id to %s...\n", idstr.str().c_str()); 
    6869 
    69     return setOption("id",idstr.str()); 
     70     
     71    retval=setOption("id",idstr.str()); 
     72    if (retval) { 
     73        setOscBase(idstr.str()); 
     74    } 
     75    return retval; 
    7076} 
    7177