Ignore:
Timestamp:
Apr 3, 2017, 4:51:56 PM (8 years ago)
Author:
David Azarewicz
Message:

Merged/reintegrated v2 branch into trunk. Trunk is now v2

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/include/sound/jack.h

    r426 r598  
    4343        SND_JACK_VIDEOOUT       = 0x0010,
    4444        SND_JACK_AVOUT          = SND_JACK_LINEOUT | SND_JACK_VIDEOOUT,
     45
     46        /* Kept separate from switches to facilitate implementation */
     47        SND_JACK_BTN_0          = 0x4000,
     48        SND_JACK_BTN_1          = 0x2000,
     49        SND_JACK_BTN_2          = 0x1000,
     50        SND_JACK_BTN_3          = 0x0800,
     51        SND_JACK_BTN_4          = 0x0400,
     52        SND_JACK_BTN_5          = 0x0200,
    4553};
    4654
     
    5159        const char *id;
    5260        char name[100];
     61        unsigned int key[6];   /* Keep in sync with definitions above */
    5362        void *private_data;
    5463        void (*private_free)(struct snd_jack *);
     
    6069                 struct snd_jack **jack);
    6170void snd_jack_set_parent(struct snd_jack *jack, struct device *parent);
     71int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
     72                     int keytype);
    6273
    6374void snd_jack_report(struct snd_jack *jack, int status);
Note: See TracChangeset for help on using the changeset viewer.