Home | History | Annotate | Download | only in bthset

Lines Matching defs:mixer

84 static struct event mixer_ev;		/* mixer changed */
93 static int mx; /* mixer fd */
150 const char *mixer;
158 mixer = getenv("BTHSET_MIXER");
159 if (mixer == NULL)
160 mixer = "/dev/mixer";
169 mixer = optarg;
190 if (mixer == NULL)
217 if (init_mixer(&info, mixer) < 0)
218 err(EXIT_FAILURE, "%s", mixer);
228 printf("\tmixer: %s\n", mixer);
246 "usage: %s [-hv] [-c command] [-m mixer] [-p file] [-s channel]\n"
251 "\t-m mixer mixer path\n"
292 * The mixer device has been twiddled. We check mic and speaker
453 * Initialise mixer event
456 init_mixer(struct btsco_info *info, const char *mixer)
459 mx = open(mixer, O_WRONLY, 0);
477 /* set up mixer changed event */