Home | History | Annotate | Download | only in bootanimation

Lines Matching defs:mixer

71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values)
73 if (!mixer) {
74 ALOGE("no mixer in setMixerValue");
77 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, name);
114 ALOGE("unsupported mixer type %d for %s", type, name);
134 * This header is followed by zero or more mixer settings, each with the format:
135 * mixer "<name>" = <value list>
136 * Since mixer names can contain spaces, the name must be enclosed in double quotes.
143 struct mixer* mixer = NULL;
160 mixer = mixer_open(mCard);
161 if (!mixer) {
162 ALOGE("could not open mixer for card %d", mCard);
174 } else if (sscanf(l, "mixer \"%[0-9a-zA-Z _]s\"", name) == 1) {
179 setMixerValue(mixer, name, values);
187 mixer_close(mixer);