1SND_CTL_FIND_NUMID(9)          Control/Mixer API         SND_CTL_FIND_NUMID(9)
2
3
4

NAME

6       snd_ctl_find_numid - find the control instance with the given number-id
7

SYNOPSIS

9       struct snd_kcontrol * snd_ctl_find_numid(struct snd_card * card,
10                                                unsigned int numid);
11

ARGUMENTS

13       card
14           the card instance
15
16       numid
17           the number-id to search
18

DESCRIPTION

20       Finds the control instance with the given number-id from the card.
21
22       The caller must down card->controls_rwsem before calling this function
23       (if the race condition can happen).
24

RETURN

26       The pointer of the instance if found, or NULL if not.
27
29Kernel Hackers Manual 3.10         June 2019             SND_CTL_FIND_NUMID(9)
Impressum