Changeset 2681:359a85bcf5e9 in roaraudio for roarclients/roarmon.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/roarmon.c

    r2420 r2681  
    4141        "  --light              - Output light control\n" 
    4242        "  --raw                - Output raw data\n" 
     43        "  --complex            - Output complex data\n" 
    4344        "  --thru               - Output copy of other stream\n" 
    4445        "  --rel-id ID          - Set ID of relative stream\n" 
     
    101102  } else if ( !strcmp(k, "--raw") ) { 
    102103   dir   = ROAR_DIR_RAW_OUT; 
     104  } else if ( !strcmp(k, "--complex") ) { 
     105   dir   = ROAR_DIR_COMPLEX_OUT; 
    103106  } else if ( !strcmp(k, "--thru") ) { 
    104107   dir   = ROAR_DIR_THRU; 
     
    141144    if ( codec    == -1 ) codec    = ROAR_CODEC_DMX512; 
    142145   break; 
     146  case ROAR_DIR_COMPLEX_IN: 
     147    if ( rate     == -1 ) rate     = ROAR_COMPLEX_RATE; 
     148    if ( bits     == -1 ) bits     = ROAR_COMPLEX_BITS; 
     149    if ( channels == -1 ) channels = ROAR_COMPLEX_CHANNELS; 
     150    if ( codec    == -1 ) codec    = ROAR_COMPLEX_CODEC; 
     151   break; 
    143152  case ROAR_DIR_RAW_OUT: 
    144153  case ROAR_DIR_THRU: 
Note: See TracChangeset for help on using the changeset viewer.