carta
snd_ctl_activate_id(9)

snd_ctl_activate_id9

Activate/inactivate the control of the given id

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.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.