Lines Matching defs:channel
16 -c CHANNEL Set/show volume of CHANNEL (default first channel found)
19 -r RIGHT Volume of right stereo channel (with -r, -l sets left volume)
34 int mask, channel = -1, level, fd;
40 for (channel = 0; channel < SOUND_MIXER_NRDEVICES; channel++) {
41 if ((1<<channel) & mask) {
43 if (!strcmp(channels[channel], TT.c)) break;
45 else printf("%s\n", channels[channel]);
50 else if (channel == SOUND_MIXER_NRDEVICES) error_exit("bad -c '%s'", TT.c);
53 xioctl(fd, MIXER_READ(channel), &level);
56 TT.d, channels[channel], level>>8, level & 0xFF);
57 else xprintf("%s:%s = %d\n", TT.d, channels[channel], level);
62 xioctl(fd, MIXER_WRITE(channel), &level);