Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/alsa/
DMixer.cpp128 struct mixer_ctl* mctl; in getVolumes() local
129 RETURN_STATUS_IF_ERROR(findControl(Mixer::HW_VOLUME, &mctl)); in getVolumes()
132 if (int err = getMixerControlPercent(mctl, &percents); err != 0) { in getVolumes()
158 struct mixer_ctl* mctl; in setVolumes() local
159 RETURN_STATUS_IF_ERROR(findControl(Mixer::HW_VOLUME, &mctl)); in setVolumes()
165 if (int err = setMixerControlPercent(mctl, percents); err != 0) { in setVolumes()
184 struct mixer_ctl* mctl; in getMixerControlMute() local
185 RETURN_STATUS_IF_ERROR(findControl(ctl, &mctl)); in getMixerControlMute()
188 if (int err = getMixerControlValues(mctl, &mutedValues); err != 0) { in getMixerControlMute()
201 struct mixer_ctl* mctl; in getMixerControlVolume() local
[all …]