Home
last modified time | relevance | path

Searched refs:mixer (Results 1 – 5 of 5) 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/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/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 …]