1SND_JACK_ADD_NEW_KCT(9) Miscellaneous Functions SND_JACK_ADD_NEW_KCT(9)
2
3
4
6 snd_jack_add_new_kctl - Create a new snd_jack_kctl and add it to jack
7
9 int snd_jack_add_new_kctl(struct snd_jack * jack, const char * name,
10 int mask);
11
13 jack
14 the jack instance which the kctl will attaching to
15
16 name
17 the name for the snd_kcontrol object
18
19 mask
20 a bitmask of enum snd_jack_type values that can be detected by this
21 snd_jack_kctl object.
22
24 Creates a new snd_kcontrol object and adds it to the jack kctl_list.
25
27 Zero if successful, or a negative error code on failure.
28
30Kernel Hackers Manual 3.10 June 2019 SND_JACK_ADD_NEW_KCT(9)