Changeset 1923:cd3072dcde5f in roaraudio
- Timestamp:
- 05/29/09 15:14:30 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/light.h
r1821 r1923 28 28 #include <roaraudio.h> 29 29 30 #define LIGHT_CHANNELS_DEFAULT 512 /* one DMX Universe */ 31 30 32 struct { 31 33 unsigned int channels; -
roard/roard.c
r1920 r1923 53 53 ); 54 54 55 printf("\nDriver Options: \n\n");55 printf("\nDriver Options: (obsolete, do not use, Use Ouput Options)\n\n"); 56 56 printf(" -d --driver DRV - Set the driver (default: %s)\n", ROAR_DRIVER_DEFAULT); 57 57 printf(" -D --device DEV - Set the device\n"); … … 76 76 printf("\nCodec Filter Options:\n\n"); 77 77 printf(" --list-cf - List all codec filter\n" 78 ); 79 80 printf("\nMIDI Options:\n\n"); 81 82 printf("\nLight Control Options:\n\n"); 83 printf(" --light-channels NUM - Sets the number of channels for Light control (default: %i)\n", 84 LIGHT_CHANNELS_DEFAULT 78 85 ); 79 86 … … 360 367 int o_prim = 0; 361 368 int o_count = 0; 362 int light_channels = 512;369 int light_channels = LIGHT_CHANNELS_DEFAULT; 363 370 char * sock_grp = ROAR_DEFAULT_SOCKGRP; 364 371 char * sock_user = NULL; … … 562 569 s_drv = "cf"; 563 570 s_prim = 0; 571 572 } else if ( strcmp(k, "--light-channels") == 0 ) { 573 light_channels = atoi(argv[++i]); 564 574 565 575 } else if ( strcmp(k, "-p") == 0 || strcmp(k, "--port") == 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.