#include "common.h"
int main(int argc, char **argv)
{
extern char *optarg;
int opt;
int i, n, debug;
debug = 0;
while ((opt = getopt(argc, argv, "D:")) != -1) {
switch (opt) {
case 'D':
debug = atoi(optarg);
break;
default:
fprintf(stderr, "usage: dumpeax [ -D debuglvl ]\n");
return 1;
}
}
if (debug)
fprintf(stderr, "could not locate any jukeboxes\n");
exit(1);
}
if (n == 0) {
fprintf(stderr, "no NJB devices found\n");
return 0;
}
njb = njbs;
return 1;
}
return 1;
}
printf("------------------------------------------\n");
printf(
"Effect number: %04X\n", eax->
number);
printf(
"Effect name: %s\n", eax->
name);
printf(
"Effect group %d\n", eax->
group);
printf("Effect is exclusive\n");
}
if (eax->
type == NJB_EAX_FIXED_OPTION_CONTROL) {
printf("Effect has fixed options:\n");
}
}
if (eax->
type == NJB_EAX_SLIDER_CONTROL) {
printf("Effect is a slider:\n");
}
}
return 0;
}
int NJB_Discover(njb_t *njbs, int limit, int *n)
Definition: procedure.c:108