Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
jack.h File Reference
#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
}
 

Macro Definition Documentation

#define SND_JACK_SWITCH_TYPES   6

Definition at line 57 of file jack.h.

Enumeration Type Documentation

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.

Enumerator:
SND_JACK_HEADPHONE 
SND_JACK_MICROPHONE 
SND_JACK_HEADSET 
SND_JACK_LINEOUT 
SND_JACK_MECHANICAL 
SND_JACK_VIDEOOUT 
SND_JACK_AVOUT 
SND_JACK_LINEIN 
SND_JACK_BTN_0 
SND_JACK_BTN_1 
SND_JACK_BTN_2 
SND_JACK_BTN_3 
SND_JACK_BTN_4 
SND_JACK_BTN_5 

Definition at line 37 of file jack.h.