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

NAME

6       snd_ctl_activate_id - activate/inactivate the control of the given id
7

SYNOPSIS

9       int snd_ctl_activate_id(struct snd_card * card,
10                               struct snd_ctl_elem_id * id, int active);
11

ARGUMENTS

13       card
14           the card instance
15
16       id
17           the control id to activate/inactivate
18
19       active
20           non-zero to activate
21

DESCRIPTION

23       Finds the control instance with the given id, and activate or
24       inactivate the control together with notification, if changed. The
25       given ID data is filled with full information.
26

RETURN

28       0 if unchanged, 1 if changed, or a negative error code on failure.
29
31Kernel Hackers Manual 3.10         June 2019            SND_CTL_ACTIVATE_ID(9)
Impressum