Lines Matching defs:ctl
1289 snd_ctl_t *ctl;
1296 ret = snd_ctl_hw_open(&ctl, NULL, card, 0);
1303 ret = snd_ctl_elem_tlv_read(ctl, &id, tlv, sizeof(tlv));
1304 snd_ctl_close(ctl);
1403 snd_ctl_t *ctl;
1432 ret = snd_ctl_hw_open(&ctl, NULL, hw->card, 0);
1441 ret = snd_ctl_elem_read(ctl, &val);
1442 snd_ctl_close(ctl);
1445 SYSMSG("Cannot read Channel Map ctl");
1458 snd_ctl_t *ctl;
1479 ret = snd_ctl_hw_open(&ctl, NULL, hw->card, 0);
1490 ret = snd_ctl_elem_write(ctl, &val);
1491 snd_ctl_close(ctl);
1499 SYSMSG("Cannot write Channel Map ctl");
1763 snd_ctl_t *ctl;
1767 if ((ret = snd_ctl_hw_open(&ctl, NULL, card, 0)) < 0)
1788 ret = snd_ctl_pcm_prefer_subdevice(ctl, subdevice);
1817 snd_ctl_close(ctl);
1822 snd_ctl_close(ctl);