Changeset 2681:359a85bcf5e9 in roaraudio for roarclients/roarcat.c


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

added new subsystem complex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarcat.c

    r2646 r2681  
    4141        "  --light               - Use light control input\n" 
    4242        "  --raw                 - Use raw input\n" 
     43        "  --complex             - Use complex input\n" 
    4344        "  --rel-id ID           - Set ID of relative stream\n" 
    4445        "  --help                - Show this help\n" 
     
    101102  } else if ( !strcmp(k, "--raw") ) { 
    102103   dir   = ROAR_DIR_RAW_IN; 
     104  } else if ( !strcmp(k, "--complex") ) { 
     105   dir   = ROAR_DIR_COMPLEX_IN; 
    103106 
    104107  } else if ( !strcmp(k, "--rel-id") ) { 
     
    140143    if ( codec    == -1 ) codec    = ROAR_CODEC_DMX512; 
    141144   break; 
     145  case ROAR_DIR_COMPLEX_IN: 
     146    if ( rate     == -1 ) rate     = ROAR_COMPLEX_RATE; 
     147    if ( bits     == -1 ) bits     = ROAR_COMPLEX_BITS; 
     148    if ( channels == -1 ) channels = ROAR_COMPLEX_CHANNELS; 
     149    if ( codec    == -1 ) codec    = ROAR_COMPLEX_CODEC; 
     150   break; 
    142151  case ROAR_DIR_RAW_IN: 
    143152  default: 
Note: See TracChangeset for help on using the changeset viewer.