Changeset 1242

Show
Ignore:
Timestamp:
06/02/08 00:42:10 (13 years ago)
Author:
ppalmers
Message:

don't sum the channel counts on generation of the config id

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/src/bebob/bebob_avdevice.cpp

    r1241 r1242  
    555555    uint64_t id = 0; 
    556556    id = getConfigurationIdSampleRate(); 
    557     id |= ( getConfigurationIdNumberOfChannel( PlugAddress::ePD_Input ) 
    558             + getConfigurationIdNumberOfChannel( PlugAddress::ePD_Output ) ) << 8; 
    559     id |= getConfigurationIdSyncMode() << 16; 
    560  
     557    id |= getConfigurationIdNumberOfChannel( PlugAddress::ePD_Input ) << 8; 
     558    id |= getConfigurationIdNumberOfChannel( PlugAddress::ePD_Output ) << 16; 
     559    id |= getConfigurationIdSyncMode() << 24; 
    561560    return id; 
    562561}