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

NAME

6       snd_ctl_find_id - find the control instance with the given id
7

SYNOPSIS

9       struct snd_kcontrol * snd_ctl_find_id(struct snd_card * card,
10                                             struct snd_ctl_elem_id * id);
11

ARGUMENTS

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

DESCRIPTION

20       Finds the control instance with the given 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_ID(9)
Impressum