Changeset 2712:af9178518e1b in roaraudio for roarclients/roarmon.c


Ignore:
Timestamp:
09/15/09 00:09:58 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added RDTCS to basic tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarmon.c

    r2692 r2712  
    4242        "  --raw                - Output raw data\n" 
    4343        "  --complex            - Output complex data\n" 
     44        "  --rdtcs              - Output Radio Data and Transmitter Control System data\n" 
    4445        "  --thru               - Output copy of other stream\n" 
    4546        "  --rel-id ID          - Set ID of relative stream\n" 
     
    104105  } else if ( !strcmp(k, "--complex") ) { 
    105106   dir   = ROAR_DIR_COMPLEX_OUT; 
     107  } else if ( !strcmp(k, "--rdtcs") ) { 
     108   dir   = ROAR_DIR_RDTCS_OUT; 
    106109  } else if ( !strcmp(k, "--thru") ) { 
    107110   dir   = ROAR_DIR_THRU; 
     
    150153    if ( codec    == -1 ) codec    = ROAR_COMPLEX_CODEC; 
    151154   break; 
     155  case ROAR_DIR_RDTCS_OUT: 
     156    if ( rate     == -1 ) rate     = ROAR_RDTCS_RATE; 
     157    if ( bits     == -1 ) bits     = ROAR_RDTCS_BITS; 
     158    if ( channels == -1 ) channels = ROAR_RDTCS_CHANNELS; 
     159    if ( codec    == -1 ) codec    = ROAR_RDTCS_CODEC; 
     160   break; 
    152161  case ROAR_DIR_RAW_OUT: 
    153162  case ROAR_DIR_THRU: 
Note: See TracChangeset for help on using the changeset viewer.