Changeset 3944:631ee4d9fc93 in roaraudio


Ignore:
Timestamp:
06/24/10 00:00:36 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected display of profiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r3942 r3944  
    884884 
    885885 printf("Profile Name          : %s\n", profile); 
    886  printf("Profile sample rate   : %i\n", info.rate); 
    887  printf("Profile bits          : %i\n", info.bits); 
    888  printf("Profile channels      : %i\n", info.channels); 
     886 
     887 if ( info.rate ) 
     888  printf("Profile sample rate   : %i\n", info.rate); 
     889 if ( info.bits ) 
     890  printf("Profile bits          : %i\n", info.bits); 
     891 if ( info.channels ) 
     892  printf("Profile channels      : %i\n", info.channels); 
     893 
    889894 printf("Profile codec         : %2i (%s%s)\n", info.codec, roar_codec2str(info.codec), 
    890895                                       info.codec == ROAR_CODEC_DEFAULT ? " native" : ""); 
Note: See TracChangeset for help on using the changeset viewer.