• Home
  • Raw
  • Download

Lines Matching refs:mixer_fd

124     int mixer_fd;  member
830 …if (pa_oss_get_volume(u->mixer_fd, SOUND_MIXER_READ_VOLUME, &s->sample_spec, &s->real_volume) >= 0) in sink_get_volume()
834 … if (pa_oss_get_volume(u->mixer_fd, SOUND_MIXER_READ_PCM, &s->sample_spec, &s->real_volume) >= 0) in sink_get_volume()
848 … (void) pa_oss_set_volume(u->mixer_fd, SOUND_MIXER_WRITE_VOLUME, &s->sample_spec, &s->real_volume); in sink_set_volume()
851 … (void) pa_oss_set_volume(u->mixer_fd, SOUND_MIXER_WRITE_PCM, &s->sample_spec, &s->real_volume); in sink_set_volume()
862 … if (pa_oss_get_volume(u->mixer_fd, SOUND_MIXER_READ_IGAIN, &s->sample_spec, &s->real_volume) >= 0) in source_get_volume()
866 …if (pa_oss_get_volume(u->mixer_fd, SOUND_MIXER_READ_RECLEV, &s->sample_spec, &s->real_volume) >= 0) in source_get_volume()
870 … if (pa_oss_get_volume(u->mixer_fd, SOUND_MIXER_READ_MIC, &s->sample_spec, &s->real_volume) >= 0) in source_get_volume()
884 … (void) pa_oss_set_volume(u->mixer_fd, SOUND_MIXER_WRITE_IGAIN, &s->sample_spec, &s->real_volume); in source_set_volume()
887 … (void) pa_oss_set_volume(u->mixer_fd, SOUND_MIXER_WRITE_RECLEV, &s->sample_spec, &s->real_volume); in source_set_volume()
890 … (void) pa_oss_set_volume(u->mixer_fd, SOUND_MIXER_WRITE_MIC, &s->sample_spec, &s->real_volume); in source_set_volume()
1164 int mixer_fd = u->mixer_fd; in thread_func() local
1166 if (mixer_fd > -1 && ioctl(mixer_fd, SOUND_MIXER_READ_DEVMASK, &devmask) < 0) { in thread_func()
1280 u->mixer_fd = -1; in pa__init()
1452 if ((u->mixer_fd = pa_oss_open_mixer_for_device(u->device_name)) >= 0) { in pa__init()
1455 if (ioctl(u->mixer_fd, SOUND_MIXER_READ_DEVMASK, &u->mixer_devmask) < 0) in pa__init()
1476 pa_close(u->mixer_fd); in pa__init()
1477 u->mixer_fd = -1; in pa__init()
1598 if (u->mixer_fd >= 0) in pa__done()
1599 pa_close(u->mixer_fd); in pa__done()