1SND_CTL_FIND_NUMID(9) Control/Mixer API SND_CTL_FIND_NUMID(9)
2
3
4
6 snd_ctl_find_numid - find the control instance with the given number-id
7
9 struct snd_kcontrol * snd_ctl_find_numid(struct snd_card * card,
10 unsigned int numid);
11
13 card
14 the card instance
15
16 numid
17 the number-id to search
18
20 Finds the control instance with the given number-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. November 2011 SND_CTL_FIND_NUMID(9)