Lines Matching defs:audio
36 * audio
37 * /dev/audio
99 /* "/dev/audio", "/dev/audioctl", "/dev/sound/..." */
100 struct audio {
104 } *audio;
470 if (strcmp(dep->d_name, "audio") &&
477 naudio = expandmem(i, (void **)&audio,
478 sizeof (struct audio));
487 audio[i].name = nm;
490 if (lstat(audio[i].name, &stat) < 0) {
498 if ((sz = readlink(audio[i].name, linkvalue,
506 audio[i].device = nm;
508 cp = strrchr(audio[i].device, '/');
510 (void) sscanf(cp, "%d", &audio[i].number);
529 naudio = expandmem(i, (void **)&audio,
530 sizeof (struct audio));
540 audio[i].name = nm;
548 audio[i].device = nm;
550 (void) sscanf(dep->d_name, "%d", &audio[i].number);
563 if (strcmp(audio[i].device, audio[j].device))
565 audio[j].number = -1;
569 /* print out device_allocate entries for audio devices */
576 if (audio[j].number != i)
581 (void) da_add_list(&devlist, audio[j].name,
584 /* print device_allocate for audio devices */
599 (void) printf("audio;audio;");
607 /* print device_maps for audio devices */
619 (void) printf("audio:\\\n");
625 (void) printf("%s", audio[j].name);
637 for (entry = devlist.audio; entry != NULL;
1260 audio = (struct audio *)calloc(DFLT_NAUDIO, sizeof (struct audio));
1274 if (tape == NULL || audio == NULL || cd == NULL || fp == NULL)
1277 devlist.audio = devlist.cd = devlist.floppy = devlist.rmdisk =