Lines Matching refs:mixer
350 struct mixer *mixer; in mixer_init() local
363 mixer = mixer_open(card); in mixer_init()
364 if (mixer == NULL) { in mixer_init()
372 } while (mixer == NULL); in mixer_init()
383 mixer_card->mixer = mixer; in mixer_init()
2910 struct mixer *mixer = NULL; in out_set_volume() local
2915 mixer = mixer_open(MIXER_CARD); in out_set_volume()
2916 if (!mixer) { in out_set_volume()
2921 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_COMPRESS_PLAYBACK_VOLUME); in out_set_volume()
2925 mixer_close(mixer); in out_set_volume()
2931 mixer_close(mixer); in out_set_volume()
4438 struct mixer *mixer = NULL; in dummybuf_thread() local
4465 mixer = mixer_open(profile->card); in dummybuf_thread()
4466 if (mixer) { in dummybuf_thread()
4468 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_HEADPHONE_JACK_SWITCH); in dummybuf_thread()
4476 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_CODEC_VMIXER_CODEC_SWITCH); in dummybuf_thread()
4484 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_SPK_VMIXER_SPK_SWITCH); in dummybuf_thread()
4530 if (mixer) { in dummybuf_thread()
4532 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_HEADPHONE_JACK_SWITCH); in dummybuf_thread()
4535 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_CODEC_VMIXER_CODEC_SWITCH); in dummybuf_thread()
4539 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_SPK_VMIXER_SPK_SWITCH); in dummybuf_thread()
4543 mixer_close(mixer); in dummybuf_thread()