Home | History | Annotate | Download | only in tests

Lines Matching refs:Mixer

1646     int Mixer = 0, arg = 0, status = 0;
1648 Mixer = open("/dev/sound/mixer", O_WRONLY);
1649 if (Mixer < 0) {
1650 perror("open of /dev/sound/mixer failed");
1656 status = ioctl(Mixer, SOUND_PCM_WRITE_RATE, &arg);
1662 status = ioctl(Mixer, SOUND_PCM_SETFMT, &arg);
1668 status = ioctl(Mixer, SOUND_PCM_WRITE_CHANNELS, &arg);
1676 status = ioctl(Mixer, SOUND_MIXER_WRITE_VOLUME, &arg);