Changeset 1878

Show
Ignore:
Timestamp:
08/05/10 07:35:41 (14 years ago)
Author:
jwoithe
Message:

MOTU: add some debugging output to assist with Traveler Mk3 streaming format testing.

Files:

Legend:

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

    r1863 r1878  
    136136{ 
    137137    static int len_shown = 0; 
     138    static int ts_print_cx = 0; 
    138139 
    139140    if (length > 8) { 
     
    175176        if (!len_shown && getDebugLevel()>0 ) { 
    176177            unsigned int i; 
    177             debugOutput(DEBUG_LEVEL_VERBOSE,"Packet from MOTU: length = %d\n", length); 
     178            debugOutput(DEBUG_LEVEL_VERBOSE,"Packet from MOTU: length=%d, eventsize=%d, n_events=%d\n", length, m_event_size, n_events); 
    178179            for (i=0; i<length; i++) { 
    179180              if ((i&0x000f) == 0) 
     
    188189        } 
    189190        len_shown = 1; 
     191        if (ts_print_cx<20 && getDebugLevel()>0 ) { 
     192          debugOutput(DEBUG_LEVEL_VERBOSE,"last ts=0x%08x\n", last_sph); 
     193          ts_print_cx++; 
     194        } 
    190195 
    191196        return eCRV_OK;