snd_jack_new9
Create a new jack
Usage
int snd_jack_new(struct snd_card * card, const char * id, int type, struct snd_jack ** jjack, bool initial_kctl, bool phantom_jack);
Arguments
card
the card instance
id
an identifying string for this jack
type
a bitmask of enum snd_jack_type values that can be detected by this jack
jjack
Used to provide the allocated jack object to the caller.
initial_kctl
if true, create a kcontrol and add it to the jack list.
phantom_jack
Don't create a input device for phantom jacks.
Overview
Creates a new jack object.
Return
Zero if successful, or a negative error code on failure. On success jjack will be initialised.
Releases
4 releases since Debian 6.0 (Squeeze); the text changed 3 times.