Changeset 2725:acd2b121bd92 in roaraudio


Ignore:
Timestamp:
09/16/09 12:43:03 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --rds-pi, list of other options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r2718 r2725  
    121121 printf(" --light-channels NUM  - Sets the number of channels for Light control (default: %i)\n", 
    122122                                  LIGHT_CHANNELS_DEFAULT 
     123       ); 
     124#endif 
     125 
     126#ifndef ROAR_WITHOUT_DCOMP_RDTCS 
     127 printf("\nRadio Date and Transmitter Control System Options:\n\n"); 
     128 printf(" --rds-pi   PI         - Sets the RDS Programme Identification (PI)\n" 
     129/* 
     130// TODO: 
     131        " --rds-ps   PS         - Sets the RDS Programme Service Name (PS)\n" 
     132        " --rds-pty  PTY        - Sets the RDS Programme Type (PTY)\n" 
     133        " --rds-tp              - Sets the RDS Traffic Programme (TP) flag\n" 
     134        " --rds-ct              - Enables sending of RDS Clock Time (CT)\n" 
     135*/ 
    123136       ); 
    124137#endif 
     
    11341147#endif 
    11351148 
     1149  } else if ( strcmp(k, "--rds-pi") == 0 ) { 
     1150#ifndef ROAR_WITHOUT_DCOMP_RDTCS 
     1151   g_rdtcs.rds.pi = atoi(argv[++i]); 
     1152#else 
     1153   ROAR_WARN("main(*): no RDTCS subsystem compiled in"); 
     1154#endif 
     1155 
    11361156  } else if ( strcmp(k, "--midi-no-console") == 0 ) { 
    11371157#ifndef ROAR_WITHOUT_DCOMP_CB 
Note: See TracChangeset for help on using the changeset viewer.