Home
last modified time | relevance | path

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

/device/asus/fugu/libaudio/
Dalsa_utils.cpp98 struct mixer_ctl* ctrls[kCtrlCount] = {NULL}; in loadCaps() local
116 ctrls[i] = mixer_get_ctl_by_name(mixer, kCtrlNames[i]); in loadCaps()
117 if (NULL == ctrls[i]) { in loadCaps()
125 if ((tmp = mixer_ctl_get_value(ctrls[kBasicAudNdx], 0)) <= 0) { in loadCaps()
133 if ((mode_cnt = mixer_ctl_get_value(ctrls[kModeCntNdx], 0)) < 0) in loadCaps()
137 if ((tmp = mixer_ctl_get_value(ctrls[kSpeakerAlloc], 0)) < 0) in loadCaps()
156 if (mixer_ctl_set_value(ctrls[kModeSelNdx], 0, i) < 0) in loadCaps()
160 if ((tmp = mixer_ctl_get_value(ctrls[kFmtNdx], 0)) < 0) in loadCaps()
165 if ((tmp = mixer_ctl_get_value(ctrls[kMaxChCntNdx], 0)) < 0) in loadCaps()
169 if ((tmp = mixer_ctl_get_value(ctrls[kSampRateNdx], 0)) < 0) in loadCaps()
[all …]