Linux Kernel
3.7.1
|
#include <sound/core.h>
Go to the source code of this file.
Data Structures | |
struct | snd_jack |
Macros | |
#define | SND_JACK_SWITCH_TYPES 6 |
Enumerations | |
enum | snd_jack_types { SND_JACK_HEADPHONE = 0x0001, SND_JACK_MICROPHONE = 0x0002, SND_JACK_HEADSET = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE, SND_JACK_LINEOUT = 0x0004, SND_JACK_MECHANICAL = 0x0008, SND_JACK_VIDEOOUT = 0x0010, SND_JACK_AVOUT = SND_JACK_LINEOUT | SND_JACK_VIDEOOUT, SND_JACK_LINEIN = 0x0020, SND_JACK_BTN_0 = 0x4000, SND_JACK_BTN_1 = 0x2000, SND_JACK_BTN_2 = 0x1000, SND_JACK_BTN_3 = 0x0800, SND_JACK_BTN_4 = 0x0400, SND_JACK_BTN_5 = 0x0200 } |
enum snd_jack_types |
Jack types which can be reported. These values are used as a bitmask.
Note that this must be kept in sync with the lookup table in sound/core/jack.c.