Changeset 2241:1545a04f0255 in roaraudio


Ignore:
Timestamp:
07/28/09 04:06:52 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --raw to roarcat/roarmon

Location:
roarclients
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarcat.c

    r2044 r2241  
    4040        "  --midi                - Use MIDI Audio as input\n" 
    4141        "  --light               - Use light control input\n" 
     42        "  --raw                 - Use raw input\n" 
    4243        "  --help                - Show this help\n" 
    4344       ); 
     
    9293   if ( codec == ROAR_CODEC_DEFAULT ) 
    9394    codec = ROAR_CODEC_DMX512; 
     95  } else if ( !strcmp(k, "--raw") ) { 
     96   dir   = ROAR_DIR_RAW_IN; 
    9497 
    9598  } else if ( !strcmp(k, "--help") || !strcmp(k, "-h") ) { 
  • roarclients/roarmon.c

    r2045 r2241  
    4040        "  --midi               - Output MIDI Audio\n" 
    4141        "  --light              - Output light control\n" 
     42        "  --raw                - Output raw data\n" 
    4243        "  --thru               - Output copy of other stream\n" 
    4344        "  --rel-id ID          - Set ID of relative stream\n" 
     
    102103   if ( codec == ROAR_CODEC_DEFAULT ) 
    103104    codec = ROAR_CODEC_DMX512; 
     105  } else if ( !strcmp(k, "--raw") ) { 
     106   dir   = ROAR_DIR_RAW_OUT; 
    104107  } else if ( !strcmp(k, "--thru") ) { 
    105108   dir   = ROAR_DIR_THRU; 
Note: See TracChangeset for help on using the changeset viewer.