Home | History | Annotate | Download | only in tinyalsa

Lines Matching refs:argv

34 int main(int argc, char **argv)
41 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]);
46 argv += 1;
47 while (*argv) {
48 if (strcmp(*argv, "-D") == 0) {
49 argv++;
50 if (*argv)
51 card = atoi(*argv);
53 if (strcmp(*argv, "-d") == 0) {
54 argv++;
55 if (*argv)
56 device = atoi(*argv);
58 if (*argv)
59 argv++;