snd_jack_add_new_kctl(9) - phpMan
SND_JACK_ADD_NEW_KCT(9) Miscellaneous Functions SND_JACK_ADD_NEW_KCT(9)
NAME
snd_jack_add_new_kctl - Create a new snd_jack_kctl and add it to jack
SYNOPSIS
int snd_jack_add_new_kctl(struct snd_jack * jack, const char * name, int mask);
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.
DESCRIPTION
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.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 SND_JACK_ADD_NEW_KCT(9)
|