Changeset 362

Show
Ignore:
Timestamp:
01/02/07 04:42:07 (15 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
  • branches/libfreebob-1.4/src/bebob/bebob_avdevice.cpp

    r330 r362  
    754754            if ( compoundStream ) { 
    755755                foundFreq = 
    756                     static_cast<ESamplingFrequency>( 
     756                    static_cast< ESamplingFrequency >( 
    757757                        compoundStream->m_samplingFrequency ); 
    758758            } 
     
    763763            if ( syncStream ) { 
    764764                foundFreq = 
    765                     static_cast<ESamplingFrequency>( 
     765                    static_cast< ESamplingFrequency >( 
    766766                        syncStream->m_samplingFrequency ); 
    767767            } 
     
    777777    } while ( cmdSuccess 
    778778              && ( extStreamFormatCmd.getResponse() == 
    779                    ExtendedStreamFormatCmd::eR_Implemented ) 
    780               && ( extStreamFormatCmd.getStatus() != 
    781                    ExtendedStreamFormatCmd::eS_NotUsed ) ); 
     779                   ExtendedStreamFormatCmd::eR_Implemented ) ); 
    782780 
    783781    if ( !cmdSuccess ) {