Changeset 363 for trunk

Show
Ignore:
Timestamp:
01/02/07 04:44:46 (17 years ago)
Author:
wagi
Message:

AvDevice::setSamplingFrequencyPlug: do not test format info status when iterating over supported sample rates. same fix was applied onto 1.0 branch earlier.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libfreebob/src/bebob/bebob_avdevice.cpp

    r360 r363  
    796796            if ( compoundStream ) { 
    797797                foundFreq = 
    798                     static_cast<ESamplingFrequency>( 
     798                    static_cast< ESamplingFrequency >( 
    799799                        compoundStream->m_samplingFrequency ); 
    800800            } 
     
    805805            if ( syncStream ) { 
    806806                foundFreq = 
    807                     static_cast<ESamplingFrequency>( 
     807                    static_cast< ESamplingFrequency >( 
    808808                        syncStream->m_samplingFrequency ); 
    809809            } 
     
    819819    } while ( cmdSuccess 
    820820              && ( extStreamFormatCmd.getResponse() == 
    821                    ExtendedStreamFormatCmd::eR_Implemented ) 
    822               && ( extStreamFormatCmd.getStatus() != 
    823                    ExtendedStreamFormatCmd::eS_NotUsed ) ); 
     821                   ExtendedStreamFormatCmd::eR_Implemented ) ); 
    824822 
    825823    if ( !cmdSuccess ) {