Changeset 537
- Timestamp:
- 08/21/07 07:57:04 (16 years ago)
- Files:
-
- trunk/libffado/src/bebob/bebob_avdevice.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/bebob/bebob_avdevice.cpp
r530 r537 62 62 {0x000f1b, 0x00010064, "ESI", "Quatafire 610"}, 63 63 64 {0x00130e, 0x00000000, "Focusrite", "Saffire (LE)"}, 64 65 {0x00130e, 0x00000003, "Focusrite", "Saffire Pro26IO"}, 65 66 {0x00130e, 0x00000006, "Focusrite", "Saffire Pro10IO"}, … … 440 441 } 441 442 442 AvPlugVector digital PCRInputPlugs = getPlugsByType( m_externalPlugs,443 AvPlugVector digitalExternalInputPlugs = getPlugsByType( m_externalPlugs, 443 444 AvPlug::eAPD_Input, 444 445 AvPlug::eAPT_Digital ); 446 if ( !digitalExternalInputPlugs.size() ) { 447 debugOutput( DEBUG_LEVEL_VERBOSE, "No external digital input plugs found\n" ); 448 449 } 450 451 AvPlugVector syncExternalInputPlugs = getPlugsByType( m_externalPlugs, 452 AvPlug::eAPD_Input, 453 AvPlug::eAPT_Sync ); 454 if ( !syncExternalInputPlugs.size() ) { 455 debugOutput( DEBUG_LEVEL_VERBOSE, "No external sync input plugs found\n" ); 456 457 } 445 458 446 459 AvPlugVector syncMSUInputPlugs = m_pPlugManager->getPlugsByType( … … 476 489 debugOutput( DEBUG_LEVEL_VERBOSE, "PCR Iso Output Plugs:\n" ); 477 490 showAvPlugs( isoPCROutputPlugs ); 478 debugOutput( DEBUG_LEVEL_VERBOSE, "PCR digital Input Plugs:\n" ); 479 showAvPlugs( digitalPCRInputPlugs ); 491 debugOutput( DEBUG_LEVEL_VERBOSE, "External digital Input Plugs:\n" ); 492 showAvPlugs( digitalExternalInputPlugs ); 493 debugOutput( DEBUG_LEVEL_VERBOSE, "External sync Input Plugs:\n" ); 494 showAvPlugs( syncExternalInputPlugs ); 480 495 debugOutput( DEBUG_LEVEL_VERBOSE, "MSU Sync Input Plugs:\n" ); 481 496 showAvPlugs( syncMSUInputPlugs ); … … 507 522 "Internal (CSP)" ); 508 523 509 // Check all external PCRdigital input to MSU input connections524 // Check all external digital input to MSU input connections 510 525 // -> SPDIF/ADAT sync 511 checkSyncConnectionsAndAddToList( digitalPCRInputPlugs, 526 checkSyncConnectionsAndAddToList( digitalExternalInputPlugs, 527 syncMSUInputPlugs, 528 "Digital Input Sync" ); 529 530 // Check all external sync input to MSU input connections 531 // -> SPDIF/ADAT sync 532 checkSyncConnectionsAndAddToList( syncExternalInputPlugs, 512 533 syncMSUInputPlugs, 513 534 "Digital Input Sync" ); … … 1161 1182 return false; 1162 1183 } 1163 1184 1164 1185 if (!addPlugToProcessor(*outputPlug,p, 1165 1186 Streaming::Port::E_Capture)) { … … 1282 1303 case ExtendedPlugInfoClusterInfoSpecificData::ePT_MADI: 1283 1304 case ExtendedPlugInfoClusterInfoSpecificData::ePT_Digital: 1305 p=new Streaming::AmdtpAudioPort( 1306 portname.str(), 1307 direction, 1308 // \todo: streaming backend expects indexing starting from 0 1309 // but bebob reports it starting from 1. Decide where 1310 // and how to handle this (pp: here) 1311 channelInfo->m_streamPosition - 1, 1312 channelInfo->m_location - 1, 1313 Streaming::AmdtpPortInfo::E_MBLA 1314 ); 1315 break; 1284 1316 case ExtendedPlugInfoClusterInfoSpecificData::ePT_NoType: 1285 1317 default: