Changeset 1863

Show
Ignore:
Timestamp:
07/01/10 07:21:28 (2 years ago)
Author:
jwoithe
Message:

MOTU: don't print receive stream debugging dump unless a non-zero debug level is in use. This keeps output clean for production use while still making it relatively easy to get at the data dump when necessary.

Files:

Legend:

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

    r1844 r1863  
    173173        // For debugging only - to be removed once Ultralite mk3 issues have been  
    174174        // resolved.  JMW, 31 May 2010. 
    175         if (!len_shown) { 
     175        if (!len_shown && getDebugLevel()>0 ) { 
    176176            unsigned int i; 
    177177            debugOutput(DEBUG_LEVEL_VERBOSE,"Packet from MOTU: length = %d\n", length); 
    178             len_shown = 1; 
    179178            for (i=0; i<length; i++) { 
    180179              if ((i&0x000f) == 0) 
     
    188187            fprintf(stderr, "\n"); 
    189188        } 
     189        len_shown = 1; 
    190190 
    191191        return eCRV_OK;