Lines Matching refs:mixer
81 snd_mixer_t *mixer; member
98 snd_mixer_t **mixer) in alsa_mixer_open() argument
102 *mixer = NULL; in alsa_mixer_open()
103 rc = snd_mixer_open(mixer, 0); in alsa_mixer_open()
108 rc = snd_mixer_attach(*mixer, mixdev); in alsa_mixer_open()
113 rc = snd_mixer_selem_register(*mixer, NULL, NULL); in alsa_mixer_open()
118 rc = snd_mixer_load(*mixer); in alsa_mixer_open()
126 snd_mixer_close(*mixer); in alsa_mixer_open()
127 *mixer = NULL; in alsa_mixer_open()
340 elem = snd_mixer_find_selem(cmix->mixer, sid); in mixer_control_create_by_name()
657 alsa_mixer_open(card_name, &cmix->mixer); in cras_alsa_mixer_create()
699 if (cmix->mixer == NULL) { in cras_alsa_mixer_add_controls_by_name_matching()
724 for(elem = snd_mixer_first_elem(cmix->mixer); in cras_alsa_mixer_add_controls_by_name_matching()
865 if (cmix->mixer == NULL) { in cras_alsa_mixer_add_controls_in_section()
908 if (cras_mixer->mixer) in cras_alsa_mixer_destroy()
909 snd_mixer_close(cras_mixer->mixer); in cras_alsa_mixer_destroy()
1118 if (!c && cras_mixer->mixer && create_missing) { in cras_alsa_mixer_get_control_matching_name()