1SND_CTL_FIND_ID(9) Control/Mixer API SND_CTL_FIND_ID(9)
2
3
4
6 snd_ctl_find_id - find the control instance with the given id
7
9 struct snd_kcontrol * snd_ctl_find_id(struct snd_card * card,
10 struct snd_ctl_elem_id * id);
11
13 card
14 the card instance
15
16 id
17 the id to search
18
20 Finds the control instance with the given id from the card.
21
22 Returns the pointer of the instance if found, or NULL if not.
23
24 The caller must down card->controls_rwsem before calling this function
25 (if the race condition can happen).
26
28Kernel Hackers Manual 2.6. June 2019 SND_CTL_FIND_ID(9)