snd_ctl_activate_id9
Activate/inactivate the control of the given id
Usage
int snd_ctl_activate_id(struct snd_card * card, struct snd_ctl_elem_id * id, int active);
Arguments
card
the card instance
id
the control id to activate/inactivate
active
non-zero to activate
Overview
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.
Releases
3 releases since Debian 7 (Wheezy); the text changed 2 times.