Changeset 1844

Show
Ignore:
Timestamp:
05/31/10 05:30:56 (2 years ago)
Author:
jwoithe
Message:

MOTU: add some debugging output to gain some insights into the streaming data format used by the Ultralite mk3 hybrid.

Files:

Legend:

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

    r1819 r1844  
    171171        m_last_timestamp = sphRecvToFullTicks(last_sph, m_Parent.get1394Service().getCycleTimer()); 
    172172 
    173         // For debugging only - to be removed once 896HD issues have been  
    174         // resolved.  JMW, 6 Jan 2010. 
     173        // For debugging only - to be removed once Ultralite mk3 issues have been  
     174        // resolved.  JMW, 31 May 2010. 
    175175        if (!len_shown) { 
     176            unsigned int i; 
    176177            debugOutput(DEBUG_LEVEL_VERBOSE,"Packet from MOTU: length = %d\n", length); 
    177178            len_shown = 1; 
     179            for (i=0; i<length; i++) { 
     180              if ((i&0x000f) == 0) 
     181                fprintf(stderr, "%08x  ", i); 
     182              fprintf(stderr, "%02x ", data[i]); 
     183              if ((i&0x000f) == 7) 
     184                fprintf(stderr, "- "); 
     185              if ((i&0x000f) == 0xf) 
     186                fprintf(stderr, "\n"); 
     187            } 
     188            fprintf(stderr, "\n"); 
    178189        } 
    179190