other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SND_CTL_FIND_ID(9) | Control/Mixer API | SND_CTL_FIND_ID(9) |
NAME¶
snd_ctl_find_id - find the control instance with the given idSYNOPSIS¶
struct snd_kcontrol *
snd_ctl_find_id(struct snd_card * card,
struct snd_ctl_elem_id * id);
ARGUMENTS¶
cardthe card instance
id
the id to search
DESCRIPTION¶
Finds the control instance with the given id from the card. The caller must down card->controls_rwsem before calling this function (if the race condition can happen).RETURN¶
The pointer of the instance if found, or NULL if not.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |