snd_jack_new — Create a new jack
int snd_jack_new ( | struct snd_card * card, |
| const char * id, | |
| int type, | |
| struct snd_jack ** jjack, | |
| bool initial_kctl, | |
bool phantom_jack); |
cardthe card instance
idan identifying string for this jack
typea bitmask of enum snd_jack_type values that can be detected by this jack
jjackUsed to provide the allocated jack object to the caller.
initial_kctlif true, create a kcontrol and add it to the jack list.
phantom_jackDon't create a input device for phantom jacks.