Changeset 1784

Show
Ignore:
Timestamp:
01/05/10 14:19:48 (2 years ago)
Author:
jwoithe
Message:

MOTU: add temporary debugging output to help track down 896HD issues. It should be removed once the problems have been identified and fixed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libstreaming/motu/MotuReceiveStreamProcessor.cpp

    r1763 r1784  
    128128                                                uint32_t pkt_ctr) 
    129129{ 
     130    static int len_shown = 0; 
     131 
    130132    if (length > 8) { 
    131133        // The iso data blocks from the MOTUs comprise a CIP-like 
     
    155157        uint32_t last_sph = CondSwapFromBus32(*(quadlet_t *)(data+8+(n_events-1)*m_event_size)); 
    156158        m_last_timestamp = sphRecvToFullTicks(last_sph, m_Parent.get1394Service().getCycleTimer()); 
     159 
     160        // For debugging only - to be removed once 896HD issues have been  
     161        // resolved.  JMW, 6 Jan 2010. 
     162        if (!len_shown) { 
     163            debugOutput(DEBUG_LEVEL_VERBOSE,"Packet from MOTU: length = %d\n", length); 
     164            len_shown = 1; 
     165        } 
    157166 
    158167        return eCRV_OK;