Searched refs:mixer (Results 1 – 8 of 8) sorted by relevance
77 struct mixer* mixer; in setChannelStatusToCompressed() local83 mixer = mixer_open(mALSACardID); in setChannelStatusToCompressed()84 if (mixer == NULL) { in setChannelStatusToCompressed()90 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, ctlName); in setChannelStatusToCompressed()115 mixer_close(mixer); in setChannelStatusToCompressed()
97 struct mixer* mixer = NULL; in loadCaps() local107 if (NULL == (mixer = mixer_open(ALSADeviceID))) { in loadCaps()116 ctrls[i] = mixer_get_ctl_by_name(mixer, kCtrlNames[i]); in loadCaps()202 if (NULL != mixer) in loadCaps()203 mixer_close(mixer); in loadCaps()
71 struct mixer *mixer; member106 stdev->mixer = mixer_open(DRAGON_MIXER_VAD); in stdev_init_mixer()107 if (!stdev->mixer) in stdev_init_mixer()110 stdev->int_mic_sw = mixer_get_ctl_by_name(stdev->mixer, DRAGON_MIC_CTRL); in stdev_init_mixer()114 stdev->hotword_model = mixer_get_ctl_by_name(stdev->mixer, in stdev_init_mixer()124 if (stdev->mixer) in stdev_init_mixer()125 mixer_close(stdev->mixer); in stdev_init_mixer()145 mixer_close(stdev->mixer); in stdev_close_mixer()
73 struct mixer *mixer; member116 stdev->mixer = mixer_open(FLOUNDER_MIXER_VAD); in stdev_init_mixer()117 if (!stdev->mixer) in stdev_init_mixer()120 stdev->ctl_dsp = mixer_get_ctl_by_name(stdev->mixer, FLOUNDER_CTRL_DSP); in stdev_init_mixer()130 if (stdev->mixer) in stdev_init_mixer()131 mixer_close(stdev->mixer); in stdev_init_mixer()151 mixer_close(stdev->mixer); in stdev_close_mixer()
293 struct mixer* mixer; member
318 struct mixer *mixer; in mixer_init() local331 mixer = mixer_open(card); in mixer_init()332 if (mixer == NULL) { in mixer_init()340 } while (mixer == NULL); in mixer_init()351 mixer_card->mixer = mixer; in mixer_init()
372 struct mixer* mixer; member
350 struct mixer *mixer; in mixer_init() local363 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() local2915 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()[all …]