Changeset 5533:42f48072307c in roaraudio for roarclients/roardtmf.c


Ignore:
Timestamp:
06/12/12 14:39:40 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Fixed usage of -R/-B/-C/-E as well as --aiprofile in roarclients (Closes: #176)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roardtmf.c

    r5381 r5533  
    6868 
    6969 printf("  --server SERVER    - Set server hostname\n" 
    70         "  --rate   RATE      - Set sample rate\n" 
    71 //        "  --bits   BITS      - Set bits per sample\n" 
    72 //        "  --codec  CODEC     - Set the codec\n" 
     70        "  --rate  -R RATE    - Set sample rate\n" 
    7371        "  --help             - Show this help\n" 
    7472       ); 
     
    141139  if ( !strcmp(k, "--server") || !strcmp(k, "-s") ) { 
    142140   server = argv[++i]; 
    143   } else if ( !strcmp(k, "--rate") || !strcmp(k, "-r") ) { 
     141  } else if ( !strcmp(k, "--rate") || !strcmp(k, "-r") || !strcmp(k, "-R") ) { 
    144142   rate = roar_str2rate(argv[++i]); 
    145143  } else if ( !strcmp(k, "--help") ) { 
Note: See TracChangeset for help on using the changeset viewer.