1. NAME

snd_jack_new - Create a new jack

2. SYNOPSIS

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

3. 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.

4. DESCRIPTION

Creates a new jack object.

5. RETURN

Zero if successful, or a negative error code on failure. On success jjack will be initialised.

6. COPYRIGHT