Changeset 741
- Timestamp:
- 11/28/07 14:40:32 (15 years ago)
- Files:
-
- trunk/libffado/src/libavc/general/avc_plug.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libavc/general/avc_plug.cpp
r740 r741 1246 1246 debugOutputShort(DEBUG_LEVEL_VERBOSE, "\n"); 1247 1247 1248 debugOutput( DEBUG_LEVEL_VERBOSE, "\tChannel info:\n"); 1249 for ( Plug::ClusterInfoVector::const_iterator it = m_clusterInfos.begin(); 1250 it != m_clusterInfos.end(); 1251 ++it ) 1252 { 1253 const Plug::ClusterInfo* clusterInfo = &( *it ); 1254 1255 debugOutput(DEBUG_LEVEL_VERBOSE, " Cluster %s (idx=%2d, type=0x%02X, ch=%2d, format=0x%02X)\n", 1256 clusterInfo->m_name.c_str(), clusterInfo->m_portType, clusterInfo->m_nrOfChannels, clusterInfo->m_streamFormat); 1257 Plug::ChannelInfoVector channelInfos = clusterInfo->m_channelInfos; 1258 for ( Plug::ChannelInfoVector::const_iterator it = channelInfos.begin(); 1259 it != channelInfos.end(); 1260 ++it ) 1261 { 1262 const Plug::ChannelInfo* channelInfo = &( *it ); 1263 debugOutput(DEBUG_LEVEL_VERBOSE, " Channel %s (pos=0x%02X, loc=0x%02X)\n", 1264 channelInfo->m_name.c_str(), channelInfo->m_streamPosition, channelInfo->m_location); 1265 } 1266 } 1267 1248 1268 flushDebugOutput(); 1249 1269 } … … 1412 1432 result &= ser.write( strstrm.str() + "/m_location", info.m_location ); 1413 1433 result &= ser.write( strstrm.str() + "/m_name", info.m_name ); 1434 i++; 1414 1435 } 1415 1436 … … 1473 1494 result &= serializeChannelInfos( strstrm.str() + "/m_channelInfo", ser, info ); 1474 1495 result &= ser.write( strstrm.str() + "/m_streamFormat", info.m_streamFormat ); 1475 1496 i++; 1476 1497 } 1477 1498 … … 1536 1557 result &= ser.write( strstrm.str() + "/m_midiChannels", info.m_midiChannels ); 1537 1558 result &= ser.write( strstrm.str() + "/m_index", info.m_index ); 1559 i++; 1538 1560 } 1539 1561 return result;