Lines Matching refs:ctl
184 } ctl;
551 snd_ctl_t *ctl;
554 err = snd_ctl_open(&ctl, client->name, SND_CTL_NONBLOCK);
557 client->device.ctl.handle = ctl;
558 client->device.ctl.fd = _snd_ctl_poll_descriptor(ctl);
575 add_waiter(client->device.ctl.fd, POLLIN, ctl_handler, client);
580 snd_ctl_close(ctl);
590 del_waiter(client->device.ctl.fd);
593 err = snd_ctl_close(client->device.ctl.handle);
616 snd_ctl_t *ctl;
622 ctl = client->device.ctl.handle;
625 ctrl->result = snd_ctl_async(ctl, ctrl->u.async.sig, ctrl->u.async.pid);
630 ctrl->result = snd_async_add_ctl_handler(&client->async_handler, ctl, async_handler, client);
642 ctrl->result = snd_ctl_subscribe_events(ctl, ctrl->u.subscribe_events);
645 ctrl->result = snd_ctl_card_info(ctl, &ctrl->u.card_info);
655 ctrl->result = snd_ctl_elem_list(ctl, &ctrl->u.element_list);
659 ctrl->result = snd_ctl_elem_info(ctl, &ctrl->u.element_info);
662 ctrl->result = snd_ctl_elem_read(ctl, &ctrl->u.element_read);
665 ctrl->result = snd_ctl_elem_write(ctl, &ctrl->u.element_write);
668 ctrl->result = snd_ctl_elem_lock(ctl, &ctrl->u.element_lock);
671 ctrl->result = snd_ctl_elem_unlock(ctl, &ctrl->u.element_unlock);
674 ctrl->result = snd_ctl_hwdep_next_device(ctl, &ctrl->u.device);
677 ctrl->result = snd_ctl_hwdep_info(ctl, &ctrl->u.hwdep_info);
680 ctrl->result = snd_ctl_pcm_next_device(ctl, &ctrl->u.device);
683 ctrl->result = snd_ctl_pcm_info(ctl, &ctrl->u.pcm_info);
686 ctrl->result = snd_ctl_pcm_prefer_subdevice(ctl, ctrl->u.pcm_prefer_subdevice);
689 ctrl->result = snd_ctl_rawmidi_next_device(ctl, &ctrl->u.device);
692 ctrl->result = snd_ctl_rawmidi_info(ctl, &ctrl->u.rawmidi_info);
695 ctrl->result = snd_ctl_rawmidi_prefer_subdevice(ctl, ctrl->u.rawmidi_prefer_subdevice);
698 ctrl->result = snd_ctl_set_power_state(ctl, ctrl->u.power_state);
701 ctrl->result = snd_ctl_get_power_state(ctl, &ctrl->u.power_state);
704 ctrl->result = snd_ctl_read(ctl, &ctrl->u.read);
711 return shm_ack_fd(client, _snd_ctl_poll_descriptor(ctl));