Changeset 1244

Show
Ignore:
Timestamp:
06/05/08 11:30:57 (13 years ago)
Author:
ppalmers
Message:

fix small bug in cache filename generation

Files:

Legend:

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

    r1243 r1244  
    450450    if ( !extStreamFormatCmd.fire() ) { 
    451451        debugError( "Stream format command failed\n" ); 
    452         return false
     452        return 0
    453453    } 
    454454 
     
    487487    if ( !extPlugInfoCmd.fire() ) { 
    488488        debugError( "Number of channels command failed\n" ); 
    489         return false
     489        return 0
    490490    } 
    491491 
     
    503503} 
    504504 
    505 uint8_t 
     505uint16_t 
    506506AvDevice::getConfigurationIdSyncMode() 
    507507{ 
     
    519519    if ( !signalSourceCmd.fire() ) { 
    520520        debugError( "Signal source command failed\n" ); 
    521         return false
     521        return 0
    522522    } 
    523523 
     
    557557    id |= getConfigurationIdNumberOfChannel( PlugAddress::ePD_Input ) << 8; 
    558558    id |= getConfigurationIdNumberOfChannel( PlugAddress::ePD_Output ) << 16; 
    559     id |= getConfigurationIdSyncMode() << 24; 
     559    id |= ((uint64_t)getConfigurationIdSyncMode()) << 24; 
    560560    return id; 
    561561} 
  • branches/libffado-2.0/src/bebob/bebob_avdevice.h

    r1241 r1244  
    106106    virtual uint8_t getConfigurationIdSampleRate(); 
    107107    virtual uint8_t getConfigurationIdNumberOfChannel( AVC::PlugAddress::EPlugDirection ePlugDirection ); 
    108     virtual uint8_t getConfigurationIdSyncMode(); 
     108    virtual uint16_t getConfigurationIdSyncMode(); 
    109109 
    110110protected: 
  • branches/libffado-2.0/src/bebob/terratec/terratec_device.cpp

    r1235 r1244  
    121121} 
    122122 
    123 uint8_t 
     123uint16_t 
    124124Phase88Device::getConfigurationIdSyncMode() 
    125125{ 
  • branches/libffado-2.0/src/bebob/terratec/terratec_device.h

    r1175 r1244  
    4646 
    4747protected: 
    48     virtual uint8_t getConfigurationIdSyncMode(); 
     48    virtual uint16_t getConfigurationIdSyncMode(); 
    4949 
    5050private: