Changeset 1810:b58f4673a31f in roaraudio


Ignore:
Timestamp:
05/22/09 18:11:57 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not print ch/bits/rate on light streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r1782 r1810  
    259259  if ( g_verbose > 1 ) 
    260260   printf("Position              : %lu S (%.3fs)\n", (unsigned long int) s.pos, (float)s.pos/(s.info.rate*s.info.channels)); 
    261   printf("Input rate            : %i\n", s.info.rate); 
    262   printf("Input bits            : %i\n", s.info.bits); 
    263   printf("Input channels        : %i\n", s.info.channels); 
     261 
     262  if ( s.dir != ROAR_DIR_LIGHT_IN && s.dir != ROAR_DIR_LIGHT_OUT ) { 
     263   printf("Input rate            : %i\n", s.info.rate); 
     264   printf("Input bits            : %i\n", s.info.bits); 
     265   printf("Input channels        : %i\n", s.info.channels); 
     266  } 
     267 
    264268  printf("Input codec           : %2i (%s%s)\n", s.info.codec, roar_codec2str(s.info.codec), 
    265269                                       s.info.codec == ROAR_CODEC_DEFAULT ? " native" : ""); 
Note: See TracChangeset for help on using the changeset viewer.