1SND_JACK_NEW(9)             Miscellaneous Functions            SND_JACK_NEW(9)
2
3
4

NAME

6       snd_jack_new - Create a new jack
7

SYNOPSIS

9       int snd_jack_new(struct snd_card * card, const char * id, int type,
10                        struct snd_jack ** jjack);
11

ARGUMENTS

13       card
14           the card instance
15
16       id
17           an identifying string for this jack
18
19       type
20           a bitmask of enum snd_jack_type values that can be detected by this
21           jack
22
23       jjack
24           Used to provide the allocated jack object to the caller.
25

DESCRIPTION

27       Creates a new jack object.
28
29       Returns zero if successful, or a negative error code on failure. On
30       success jjack will be initialised.
31
33Kernel Hackers Manual 2.6.       November 2011                 SND_JACK_NEW(9)
Impressum