Changeset 2127:85fca7cf35bb in roaraudio


Ignore:
Timestamp:
07/23/09 20:34:36 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --driver and --device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarphone.c

    r2126 r2127  
    4040        "  --chans  CHANNELS  - Set number of channels\n" 
    4141        "  --codec  CODEC     - Set the codec\n" 
     42        "  --driver DRIVER    - Set the driver\n" 
     43        "  --device DEVICE    - Set the device\n" 
    4244        "  --help             - Show this help\n" 
    4345       ); 
     
    7173  } else if ( strcmp(k, "--codec") == 0 ) { 
    7274   info.codec = roar_str2codec(argv[++i]); 
     75  } else if ( strcmp(k, "--driver") == 0 ) { 
     76   driver = argv[++i]; 
     77  } else if ( strcmp(k, "--device") == 0 ) { 
     78   device = argv[++i]; 
    7379  } else if ( strcmp(k, "--help") == 0 ) { 
    7480   usage(); 
Note: See TracChangeset for help on using the changeset viewer.