Changeset 636
- Timestamp:
- 09/09/07 04:14:17 (16 years ago)
- Files:
-
- trunk/libffado/src/libavc/general/avc_unit.cpp (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libavc/general/avc_unit.cpp
r630 r636 371 371 bool 372 372 Unit::discoverPlugsPCR( Plug::EPlugDirection plugDirection, 373 373 plug_id_t plugMaxId ) 374 374 { 375 375 debugOutput( DEBUG_LEVEL_NORMAL, "Discovering PCR plugs, direction %d...\n",plugDirection); … … 379 379 { 380 380 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 ); 387 387 388 388 if( plug ) plug->setVerboseLevel(getDebugLevel()); … … 404 404 bool 405 405 Unit::discoverPlugsExternal( Plug::EPlugDirection plugDirection, 406 406 plug_id_t plugMaxId ) 407 407 { 408 408 debugOutput( DEBUG_LEVEL_NORMAL, "Discovering External plugs, direction %d...\n",plugDirection); … … 530 530 Plug* 531 531 Unit::getPlugById( PlugVector& plugs, 532 533 532 Plug::EPlugDirection plugDirection, 533 int id ) 534 534 { 535 535 for ( PlugVector::iterator it = plugs.begin(); … … 550 550 PlugVector 551 551 Unit::getPlugsByType( PlugVector& plugs, 552 553 552 Plug::EPlugDirection plugDirection, 553 Plug::EPlugType type) 554 554 { 555 555 PlugVector plugVector; … … 597 597 598 598 PlugVector syncPCRInputPlugs = getPlugsByType( m_pcrPlugs, 599 600 599 Plug::eAPD_Input, 600 Plug::eAPT_Sync ); 601 601 if ( !syncPCRInputPlugs.size() ) { 602 602 debugWarning( "No PCR sync input plug found\n" ); … … 604 604 605 605 PlugVector syncPCROutputPlugs = getPlugsByType( m_pcrPlugs, 606 607 606 Plug::eAPD_Output, 607 Plug::eAPT_Sync ); 608 608 if ( !syncPCROutputPlugs.size() ) { 609 609 debugWarning( "No PCR sync output plug found\n" ); … … 611 611 612 612 PlugVector isoPCRInputPlugs = getPlugsByType( m_pcrPlugs, 613 614 613 Plug::eAPD_Input, 614 Plug::eAPT_IsoStream ); 615 615 if ( !isoPCRInputPlugs.size() ) { 616 616 debugWarning( "No PCR iso input plug found\n" ); … … 619 619 620 620 PlugVector isoPCROutputPlugs = getPlugsByType( m_pcrPlugs, 621 622 621 Plug::eAPD_Output, 622 Plug::eAPT_IsoStream ); 623 623 if ( !isoPCROutputPlugs.size() ) { 624 624 debugWarning( "No PCR iso output plug found\n" ); … … 627 627 628 628 PlugVector digitalExternalInputPlugs = getPlugsByType( m_externalPlugs, 629 Plug::eAPD_Input,630 Plug::eAPT_Digital );629 Plug::eAPD_Input, 630 Plug::eAPT_Digital ); 631 631 if ( !digitalExternalInputPlugs.size() ) { 632 632 debugOutput( DEBUG_LEVEL_VERBOSE, "No external digital input plugs found\n" ); … … 635 635 636 636 PlugVector syncExternalInputPlugs = getPlugsByType( m_externalPlugs, 637 Plug::eAPD_Input,638 Plug::eAPT_Sync );637 Plug::eAPD_Input, 638 Plug::eAPT_Sync ); 639 639 if ( !syncExternalInputPlugs.size() ) { 640 640 debugOutput( DEBUG_LEVEL_VERBOSE, "No external sync input plugs found\n" ); … … 758 758 bool 759 759 Unit::checkSyncConnectionsAndAddToList( PlugVector& plhs, 760 761 760 PlugVector& prhs, 761 std::string syncDescription ) 762 762 { 763 763 for ( PlugVector::iterator plIt = plhs.begin();