Home
last modified time | relevance | path

Searched refs:mixer (Results 1 – 8 of 8) sorted by relevance

/device/asus/fugu/libaudio/
DHDMIAudioOutput.cpp77 struct mixer* mixer; in setChannelStatusToCompressed() local
83 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()
Dalsa_utils.cpp97 struct mixer* mixer = NULL; in loadCaps() local
107 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()
/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c71 struct mixer *mixer; member
106 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()
/device/htc/flounder/audio/soundtrigger/
Dsound_trigger_hw.c73 struct mixer *mixer; member
116 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()
/device/google/dragon/audio/hal/
Daudio_hw.h293 struct mixer* mixer; member
Daudio_hw.c318 struct mixer *mixer; in mixer_init() local
331 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()
/device/htc/flounder/audio/hal/
Daudio_hw.h372 struct mixer* mixer; member
Daudio_hw.c350 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()
[all …]