Changeset 2712:af9178518e1b in roaraudio
- Timestamp:
- 09/15/09 00:09:58 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roarclients
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarcat.c
r2681 r2712 42 42 " --raw - Use raw input\n" 43 43 " --complex - Use complex input\n" 44 " --rdtcs - Use Radio Data and Transmitter Control System input\n" 44 45 " --rel-id ID - Set ID of relative stream\n" 45 46 " --help - Show this help\n" … … 104 105 } else if ( !strcmp(k, "--complex") ) { 105 106 dir = ROAR_DIR_COMPLEX_IN; 107 } else if ( !strcmp(k, "--rdtcs") ) { 108 dir = ROAR_DIR_RDTCS_IN; 106 109 107 110 } else if ( !strcmp(k, "--rel-id") ) { … … 149 152 if ( codec == -1 ) codec = ROAR_COMPLEX_CODEC; 150 153 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; 151 160 case ROAR_DIR_RAW_IN: 152 161 default: -
roarclients/roarmon.c
r2692 r2712 42 42 " --raw - Output raw data\n" 43 43 " --complex - Output complex data\n" 44 " --rdtcs - Output Radio Data and Transmitter Control System data\n" 44 45 " --thru - Output copy of other stream\n" 45 46 " --rel-id ID - Set ID of relative stream\n" … … 104 105 } else if ( !strcmp(k, "--complex") ) { 105 106 dir = ROAR_DIR_COMPLEX_OUT; 107 } else if ( !strcmp(k, "--rdtcs") ) { 108 dir = ROAR_DIR_RDTCS_OUT; 106 109 } else if ( !strcmp(k, "--thru") ) { 107 110 dir = ROAR_DIR_THRU; … … 150 153 if ( codec == -1 ) codec = ROAR_COMPLEX_CODEC; 151 154 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; 152 161 case ROAR_DIR_RAW_OUT: 153 162 case ROAR_DIR_THRU:
Note: See TracChangeset
for help on using the changeset viewer.