1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>enum snd_jack_types</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The ALSA Driver API"><link rel="up" href="ch08s02.html" title="Jack Abstraction Layer API"><link rel="prev" href="ch08s02.html" title="Jack Abstraction Layer API"><link rel="next" href="API-snd-jack-new.html" title="snd_jack_new"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">enum snd_jack_types</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a>&#160;</td><th width="60%" align="center">Jack Abstraction Layer API</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-snd-jack-new.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-enum-snd-jack-types"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum snd_jack_types &#8212; 
2  Jack types which can be reported
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4enum snd_jack_types {
5  SND_JACK_HEADPHONE,
6  SND_JACK_MICROPHONE,
7  SND_JACK_HEADSET,
8  SND_JACK_LINEOUT,
9  SND_JACK_MECHANICAL,
10  SND_JACK_VIDEOOUT,
11  SND_JACK_AVOUT,
12  SND_JACK_LINEIN,
13  SND_JACK_BTN_0,
14  SND_JACK_BTN_1,
15  SND_JACK_BTN_2,
16  SND_JACK_BTN_3,
17  SND_JACK_BTN_4,
18  SND_JACK_BTN_5
19};  </pre></div><div class="refsect1"><a name="idp1096036108"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">SND_JACK_HEADPHONE</span></dt><dd><p>
20Headphone
21      </p></dd><dt><span class="term">SND_JACK_MICROPHONE</span></dt><dd><p>
22Microphone
23      </p></dd><dt><span class="term">SND_JACK_HEADSET</span></dt><dd><p>
24Headset
25      </p></dd><dt><span class="term">SND_JACK_LINEOUT</span></dt><dd><p>
26Line out
27      </p></dd><dt><span class="term">SND_JACK_MECHANICAL</span></dt><dd><p>
28Mechanical switch
29      </p></dd><dt><span class="term">SND_JACK_VIDEOOUT</span></dt><dd><p>
30Video out
31      </p></dd><dt><span class="term">SND_JACK_AVOUT</span></dt><dd><p>
32AV (Audio Video) out
33      </p></dd><dt><span class="term">SND_JACK_LINEIN</span></dt><dd><p>
34Line in
35      </p></dd><dt><span class="term">SND_JACK_BTN_0</span></dt><dd><p>
36Button 0
37      </p></dd><dt><span class="term">SND_JACK_BTN_1</span></dt><dd><p>
38Button 1
39      </p></dd><dt><span class="term">SND_JACK_BTN_2</span></dt><dd><p>
40Button 2
41      </p></dd><dt><span class="term">SND_JACK_BTN_3</span></dt><dd><p>
42Button 3
43      </p></dd><dt><span class="term">SND_JACK_BTN_4</span></dt><dd><p>
44Button 4
45      </p></dd><dt><span class="term">SND_JACK_BTN_5</span></dt><dd><p>
46Button 5
47      </p></dd></dl></div></div><div class="refsect1"><a name="idp1096046356"></a><h2>Description</h2><p>
48   These values are used as a bitmask.
49   </p><p>
50
51   Note that this must be kept in sync with the lookup table in
52   sound/core/jack.c.
53</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch08s02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-snd-jack-new.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Jack Abstraction Layer API&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">snd_jack_new</span></td></tr></table></div></body></html>
54