Lines Matching refs:iface
38 snd_ctl_elem_iface_t iface;
122 switch (list->iface) {
473 if (next_devices[list->iface] != NULL) {
476 err = next_devices[list->iface](list->ctl, &device);
482 err = next_devices[list->iface](list->ctl, &device);
560 * \param iface Interface identification (like "pcm", "rawmidi", "timer", "seq")
583 int snd_device_name_hint(int card, const char *iface, void ***hints)
603 list.siface = iface;
606 if (strcmp(iface, "pcm") == 0)
607 list.iface = SND_CTL_ELEM_IFACE_PCM;
608 else if (strcmp(iface, "rawmidi") == 0)
609 list.iface = SND_CTL_ELEM_IFACE_RAWMIDI;
610 else if (strcmp(iface, "timer") == 0)
611 list.iface = SND_CTL_ELEM_IFACE_TIMER;
612 else if (strcmp(iface, "seq") == 0)
613 list.iface = SND_CTL_ELEM_IFACE_SEQUENCER;
614 else if (strcmp(iface, "hwdep") == 0)
615 list.iface = SND_CTL_ELEM_IFACE_HWDEP;
616 else if (strcmp(iface, "ctl") == 0)
617 list.iface = SND_CTL_ELEM_IFACE_MIXER;