Lines Matching refs:ctl
161 struct loopback_control *ctl) in control_init1() argument
165 snd_ctl_elem_info_set_id(ctl->info, ctl->id); in control_init1()
166 snd_ctl_elem_value_set_id(ctl->value, ctl->id); in control_init1()
167 if (lhandle->ctl == NULL) { in control_init1()
168 logit(LOG_WARNING, "Unable to read control info for '%s'\n", id_str(ctl->id)); in control_init1()
171 err = snd_ctl_elem_info(lhandle->ctl, ctl->info); in control_init1()
173 logit(LOG_WARNING, "Unable to read control info '%s': %s\n", id_str(ctl->id), snd_strerror(err)); in control_init1()
176 err = snd_ctl_elem_read(lhandle->ctl, ctl->value); in control_init1()
178 …logit(LOG_WARNING, "Unable to read control value (init1) '%s': %s\n", id_str(ctl->id), snd_strerro… in control_init1()
253 snd_ctl_elem_remove(loop->capt->ctl, mix->dst.id); in control_init2()
256 err = snd_ctl_elem_add_boolean(loop->capt->ctl, in control_init2()
261 err = snd_ctl_elem_add_integer(loop->capt->ctl, in control_init2()
277 err = snd_ctl_elem_unlock(loop->capt->ctl, mix->dst.id); in control_init2()
282 err = snd_ctl_elem_info(loop->capt->ctl, mix->dst.info); in control_init2()
289 err = snd_ctl_elem_tlv_read(loop->play->ctl, in control_init2()
296 err = snd_ctl_elem_tlv_write(loop->capt->ctl, in control_init2()
304 err = snd_ctl_elem_write(loop->capt->ctl, mix->dst.value); in control_init2()
347 if (loop->capt->ctl == NULL) in control_done()
357 err = snd_ctl_elem_remove(loop->capt->ctl, mix->dst.id); in control_done()
378 err = snd_ctl_elem_read(loop->play->ctl, mix->src.value); in control_event1()
384 err = snd_ctl_elem_write(loop->capt->ctl, mix->dst.value); in control_event1()
390 err = snd_ctl_elem_read(loop->capt->ctl, mix->dst.value); in control_event1()
396 err = snd_ctl_elem_write(loop->play->ctl, mix->src.value); in control_event1()