Show
Ignore:
Timestamp:
09/09/07 04:14:17 (17 years ago)
Author:
wagi
Message:

indention fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libavc/general/avc_unit.cpp

    r630 r636  
    371371bool 
    372372Unit::discoverPlugsPCR( Plug::EPlugDirection plugDirection, 
    373                             plug_id_t plugMaxId ) 
     373                        plug_id_t plugMaxId ) 
    374374{ 
    375375    debugOutput( DEBUG_LEVEL_NORMAL, "Discovering PCR plugs, direction %d...\n",plugDirection); 
     
    379379    { 
    380380        Plug* plug  = createPlug( this, 
    381                                 NULL, 
    382                                 0xff, 
    383                                 0xff, 
    384                                 Plug::eAPA_PCR, 
    385                                 plugDirection, 
    386                                 plugId ); 
     381                                  NULL, 
     382                                  0xff, 
     383                                  0xff, 
     384                                  Plug::eAPA_PCR, 
     385                                  plugDirection, 
     386                                  plugId ); 
    387387 
    388388        if( plug ) plug->setVerboseLevel(getDebugLevel()); 
     
    404404bool 
    405405Unit::discoverPlugsExternal( Plug::EPlugDirection plugDirection, 
    406                                  plug_id_t plugMaxId ) 
     406                             plug_id_t plugMaxId ) 
    407407{ 
    408408    debugOutput( DEBUG_LEVEL_NORMAL, "Discovering External plugs, direction %d...\n",plugDirection); 
     
    530530Plug* 
    531531Unit::getPlugById( PlugVector& plugs, 
    532                        Plug::EPlugDirection plugDirection, 
    533                        int id ) 
     532                   Plug::EPlugDirection plugDirection, 
     533                   int id ) 
    534534{ 
    535535    for ( PlugVector::iterator it = plugs.begin(); 
     
    550550PlugVector 
    551551Unit::getPlugsByType( PlugVector& plugs, 
    552                           Plug::EPlugDirection plugDirection, 
    553                           Plug::EPlugType type) 
     552                      Plug::EPlugDirection plugDirection, 
     553                      Plug::EPlugType type) 
    554554{ 
    555555    PlugVector plugVector; 
     
    597597 
    598598    PlugVector syncPCRInputPlugs = getPlugsByType( m_pcrPlugs, 
    599                                                      Plug::eAPD_Input, 
    600                                                      Plug::eAPT_Sync ); 
     599                                                   Plug::eAPD_Input, 
     600                                                   Plug::eAPT_Sync ); 
    601601    if ( !syncPCRInputPlugs.size() ) { 
    602602        debugWarning( "No PCR sync input plug found\n" ); 
     
    604604 
    605605    PlugVector syncPCROutputPlugs = getPlugsByType( m_pcrPlugs, 
    606                                                       Plug::eAPD_Output, 
    607                                                       Plug::eAPT_Sync ); 
     606                                                    Plug::eAPD_Output, 
     607                                                    Plug::eAPT_Sync ); 
    608608    if ( !syncPCROutputPlugs.size() ) { 
    609609        debugWarning( "No PCR sync output plug found\n" ); 
     
    611611 
    612612    PlugVector isoPCRInputPlugs = getPlugsByType( m_pcrPlugs, 
    613                                                     Plug::eAPD_Input, 
    614                                                     Plug::eAPT_IsoStream ); 
     613                                                  Plug::eAPD_Input, 
     614                                                  Plug::eAPT_IsoStream ); 
    615615    if ( !isoPCRInputPlugs.size() ) { 
    616616        debugWarning( "No PCR iso input plug found\n" ); 
     
    619619 
    620620    PlugVector isoPCROutputPlugs = getPlugsByType( m_pcrPlugs, 
    621                                                     Plug::eAPD_Output, 
    622                                                     Plug::eAPT_IsoStream ); 
     621                                                   Plug::eAPD_Output, 
     622                                                   Plug::eAPT_IsoStream ); 
    623623    if ( !isoPCROutputPlugs.size() ) { 
    624624        debugWarning( "No PCR iso output plug found\n" ); 
     
    627627 
    628628    PlugVector digitalExternalInputPlugs = getPlugsByType( m_externalPlugs, 
    629                                                     Plug::eAPD_Input, 
    630                                                     Plug::eAPT_Digital ); 
     629                                                           Plug::eAPD_Input, 
     630                                                           Plug::eAPT_Digital ); 
    631631    if ( !digitalExternalInputPlugs.size() ) { 
    632632        debugOutput( DEBUG_LEVEL_VERBOSE, "No external digital input plugs found\n" ); 
     
    635635 
    636636    PlugVector syncExternalInputPlugs = getPlugsByType( m_externalPlugs, 
    637                                                     Plug::eAPD_Input, 
    638                                                     Plug::eAPT_Sync ); 
     637                                                        Plug::eAPD_Input, 
     638                                                        Plug::eAPT_Sync ); 
    639639    if ( !syncExternalInputPlugs.size() ) { 
    640640        debugOutput( DEBUG_LEVEL_VERBOSE, "No external sync input plugs found\n" ); 
     
    758758bool 
    759759Unit::checkSyncConnectionsAndAddToList( PlugVector& plhs, 
    760                                             PlugVector& prhs, 
    761                                             std::string syncDescription ) 
     760                                        PlugVector& prhs, 
     761                                        std::string syncDescription ) 
    762762{ 
    763763    for ( PlugVector::iterator plIt = plhs.begin();