other versions
- stretch 4.9.168-1
SND_CTL_ACTIVATE_ID(9) | Control/Mixer API | SND_CTL_ACTIVATE_ID(9) |
NAME¶
snd_ctl_activate_id - activate/inactivate the control of the given idSYNOPSIS¶
int snd_ctl_activate_id(struct snd_card * card, struct snd_ctl_elem_id * id, int active);
ARGUMENTS¶
cardthe card instance
id
the control id to activate/inactivate
active
non-zero to activate
DESCRIPTION¶
Finds the control instance with the given id, and activate or inactivate the control together with notification, if changed. The given ID data is filled with full information.RETURN¶
0 if unchanged, 1 if changed, or a negative error code on failure.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |