carta
snd_jack_add_new_kctl(9)

snd_jack_add_new_kctl9

Create a new snd_jack_kctl and add it to jack

Arguments

jack

the jack instance which the kctl will attaching to

name

the name for the snd_kcontrol object

mask

a bitmask of enum snd_jack_type values that can be detected by this snd_jack_kctl object.

Overview

Creates a new snd_kcontrol object and adds it to the jack kctl_list.

Return

Zero if successful, or a negative error code on failure.

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