Changeset 741

Show
Ignore:
Timestamp:
11/28/07 14:40:32 (16 years ago)
Author:
ppalmers
Message:

Fixes #54

Files:

Legend:

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

    r740 r741  
    12461246    debugOutputShort(DEBUG_LEVEL_VERBOSE, "\n"); 
    12471247 
     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 
    12481268    flushDebugOutput(); 
    12491269} 
     
    14121432        result &= ser.write( strstrm.str() + "/m_location", info.m_location ); 
    14131433        result &= ser.write( strstrm.str() + "/m_name", info.m_name ); 
     1434        i++; 
    14141435    } 
    14151436 
     
    14731494        result &= serializeChannelInfos( strstrm.str() + "/m_channelInfo", ser, info ); 
    14741495        result &= ser.write( strstrm.str() + "/m_streamFormat", info.m_streamFormat ); 
    1475  
     1496        i++; 
    14761497    } 
    14771498 
     
    15361557        result &= ser.write( strstrm.str() + "/m_midiChannels", info.m_midiChannels ); 
    15371558        result &= ser.write( strstrm.str() + "/m_index", info.m_index ); 
     1559        i++; 
    15381560    } 
    15391561    return result;