Changeset 2712:af9178518e1b in roaraudio


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

added RDTCS to basic tools

Location:
roarclients
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarcat.c

    r2681 r2712  
    4242        "  --raw                 - Use raw input\n" 
    4343        "  --complex             - Use complex input\n" 
     44        "  --rdtcs               - Use Radio Data and Transmitter Control System input\n" 
    4445        "  --rel-id ID           - Set ID of relative stream\n" 
    4546        "  --help                - Show this help\n" 
     
    104105  } else if ( !strcmp(k, "--complex") ) { 
    105106   dir   = ROAR_DIR_COMPLEX_IN; 
     107  } else if ( !strcmp(k, "--rdtcs") ) { 
     108   dir   = ROAR_DIR_RDTCS_IN; 
    106109 
    107110  } else if ( !strcmp(k, "--rel-id") ) { 
     
    149152    if ( codec    == -1 ) codec    = ROAR_COMPLEX_CODEC; 
    150153   break; 
     154  case ROAR_DIR_RDTCS_IN: 
     155    if ( rate     == -1 ) rate     = ROAR_RDTCS_RATE; 
     156    if ( bits     == -1 ) bits     = ROAR_RDTCS_BITS; 
     157    if ( channels == -1 ) channels = ROAR_RDTCS_CHANNELS; 
     158    if ( codec    == -1 ) codec    = ROAR_RDTCS_CODEC; 
     159   break; 
    151160  case ROAR_DIR_RAW_IN: 
    152161  default: 
  • 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.