1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ALSA project - the C library reference: Control Interface</title>
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<link href="tabs.css" rel="stylesheet" type="text/css"></head><body>
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="modules.html"><span>Modules</span></a></li>
12
<li><a href="annotated.html"><span>Data Structures</span></a></li>
13
<li><a href="files.html"><span>Files</span></a></li>
14
<li><a href="pages.html"><span>Related Pages</span></a></li>
15
<li><a href="examples.html"><span>Examples</span></a></li>
17
<h1>Control Interface</h1><table border="0" cellpadding="0" cellspacing="0">
20
<tr><td colspan="2"><br><h2>Modules</h2></td></tr>
21
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_control.html">High level Control Interface</a></td></tr>
23
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_control.html">Setup Control Interface</a></td></tr>
25
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
26
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958</a></td></tr>
28
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
29
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gea32c77baf04f60abff1110417418f8f">SND_CONTROL_DLSYM_VERSION</a> _dlsym_control_001</td></tr>
31
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gcce091d3716682bc23d8a4b833e434fa">SND_CTL_EVENT_MASK_REMOVE</a></td></tr>
33
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf8c94abcf943d3070a418659bd288a64">SND_CTL_EVENT_MASK_VALUE</a></td></tr>
35
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge1073645081fac21ef7ed8cbb83273e4">SND_CTL_EVENT_MASK_INFO</a></td></tr>
37
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5363f66de356e642df58ea13a98dc515">SND_CTL_EVENT_MASK_ADD</a></td></tr>
39
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gfc7f39f40b7fa92b6fe52ddd4faa2669">SND_CTL_EVENT_MASK_TLV</a></td></tr>
41
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gca2e910ff41920fdfd7d3438d25efe4f">SND_CTL_NAME_NONE</a> ""</td></tr>
43
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gee78f26ebd61724f63de752daf9fb5b7">SND_CTL_NAME_PLAYBACK</a> "Playback "</td></tr>
45
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc097f557ebca454d28cd3907603fc200">SND_CTL_NAME_CAPTURE</a> "Capture "</td></tr>
47
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd85a2fd8ac70ef9920e51429c295dbb6">SND_CTL_NAME_IEC958_NONE</a> ""</td></tr>
49
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5e80fb8074f4c46c20bd8643d4bd8f01">SND_CTL_NAME_IEC958_SWITCH</a> "Switch"</td></tr>
51
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g110db3b82547b9adc68d7bddf5753429">SND_CTL_NAME_IEC958_VOLUME</a> "Volume"</td></tr>
53
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g02ecf52b94a5b92530efcf9940b25848">SND_CTL_NAME_IEC958_DEFAULT</a> "Default"</td></tr>
55
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf3365b35cc6bf28f6a18fd52487b9faa">SND_CTL_NAME_IEC958_MASK</a> "Mask"</td></tr>
57
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gbf9d999dde40d6ab9a350d8f1eefb5a7">SND_CTL_NAME_IEC958_CON_MASK</a> "Con Mask"</td></tr>
59
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge2016f5bf0d3f832300b89647b4cd2d0">SND_CTL_NAME_IEC958_PRO_MASK</a> "Pro Mask"</td></tr>
61
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1959631668e7d6a6c5fadfab63fcbc74">SND_CTL_NAME_IEC958_PCM_STREAM</a> "PCM Stream"</td></tr>
63
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g550f0a9f82752dbd734aba9867c7f13a">SND_CTL_NAME_IEC958</a>(expl, direction, what) "IEC958 " expl SND_CTL_NAME_##direction SND_CTL_NAME_IEC958_##what</td></tr>
65
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1095126a9c336ab8649f77664b84ffed">SND_CTL_POWER_MASK</a> 0xff00</td></tr>
67
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gfad188663bcc3090a8107c498cfbf5d0">SND_CTL_POWER_D0</a> 0x0000</td></tr>
69
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g35265befb4535956714be32920c78297">SND_CTL_POWER_D1</a> 0x0100</td></tr>
71
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb95e3b2ea61fe588199bda3a1f2d26b7">SND_CTL_POWER_D2</a> 0x0200</td></tr>
73
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0c7be51e842ea5333a51d35dcba84ddd">SND_CTL_POWER_D3</a> 0x0300</td></tr>
75
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd84936642becf3077092ea48bb64ebda">SND_CTL_POWER_D3hot</a> (SND_CTL_POWER_D3|0x0000)</td></tr>
77
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb53b48e8ca639180c707b645af65337f">SND_CTL_POWER_D3cold</a> (SND_CTL_POWER_D3|0x0001)</td></tr>
79
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g145cd2efa9ac984bf0d49c4493627e68">SND_CTL_TLVT_CONTAINER</a> 0x0000</td></tr>
81
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2039eb986a4376cc0c416c75a4e08e2d">SND_CTL_TLVT_DB_SCALE</a> 0x0001</td></tr>
83
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g060162fb7e452b4f67f6b1e467d22e14">SND_CTL_TLVT_DB_LINEAR</a> 0x0002</td></tr>
85
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g255317561a4762dce4f50a10f77884f8">SND_CTL_TLVT_DB_RANGE</a> 0x0003</td></tr>
87
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ged16bd0b1f1a47b2bb5d487114042ab4">SND_CTL_TLVT_DB_MINMAX</a> 0x0004</td></tr>
89
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7243a4a717258108d1ab2eb8db2b6f50">SND_CTL_TLVT_DB_MINMAX_MUTE</a> 0x0005</td></tr>
91
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2acc958ac36458dc2498a2450edb2811">SND_CTL_TLV_DB_GAIN_MUTE</a> -9999999</td></tr>
93
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5586bc148cc719502294277c91a89ff5">SND_CTL_NONBLOCK</a></td></tr>
95
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g65f5927f20d2ee013b69b6df7f0f4087">SND_CTL_ASYNC</a></td></tr>
97
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g73d8edc6cb2b5fa6a3064f93876659cb">SND_CTL_READONLY</a></td></tr>
99
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge29b38562448b38dc36af5b6ca027536">SND_SCTL_NOFREE</a> 0x0001</td></tr>
101
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g85dc8bfb083e0ffea71aa5b03e058699">snd_ctl_elem_id_alloca</a>(ptr)</td></tr>
103
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> using standard alloca <a href="#g85dc8bfb083e0ffea71aa5b03e058699"></a><br></td></tr>
104
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1eb001c45296218a2db4c2830f1deb98">snd_ctl_card_info_alloca</a>(ptr)</td></tr>
106
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> using standard alloca <a href="#g1eb001c45296218a2db4c2830f1deb98"></a><br></td></tr>
107
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8a80fddea66dd980ef5dd22d88296a65">snd_ctl_event_alloca</a>(ptr)</td></tr>
109
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> using standard alloca <a href="#g8a80fddea66dd980ef5dd22d88296a65"></a><br></td></tr>
110
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7facaf005846bdd7f145d9c807be3189">snd_ctl_elem_list_alloca</a>(ptr)</td></tr>
112
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> using standard alloca <a href="#g7facaf005846bdd7f145d9c807be3189"></a><br></td></tr>
113
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g4763532de8046f84c0d9494cd209d885">snd_ctl_elem_info_alloca</a>(ptr)</td></tr>
115
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> using standard alloca <a href="#g4763532de8046f84c0d9494cd209d885"></a><br></td></tr>
116
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6e4c8a7a9c7bbeacb7bc3997b2b86acf">snd_ctl_elem_value_alloca</a>(ptr)</td></tr>
118
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> using standard alloca <a href="#g6e4c8a7a9c7bbeacb7bc3997b2b86acf"></a><br></td></tr>
119
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
120
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9da73cdacfd94eaa6863cea72f978ddf">snd_aes_iec958_t</a></td></tr>
122
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_card_info </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a></td></tr>
124
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_id </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a></td></tr>
126
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_list </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a></td></tr>
128
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_info </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a></td></tr>
130
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_value </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a></td></tr>
132
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_event </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a></td></tr>
134
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef enum <a class="el" href="group___control.html#g687044a5222c1292cca47941081e3147">_snd_ctl_elem_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a></td></tr>
136
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef enum <a class="el" href="group___control.html#gcad203f0331afeeadcb127e8a367a06b">_snd_ctl_elem_iface</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a></td></tr>
138
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef enum <a class="el" href="group___control.html#g36f1fdb68b0243d8fc6642620008dad9">_snd_ctl_event_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a></td></tr>
140
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef enum <a class="el" href="group___control.html#g2db031e865355606639c5ec065711e78">_snd_ctl_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a></td></tr>
142
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a></td></tr>
144
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_sctl </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g69ede2c8eae4a6b5bd174be1e38ccf69">snd_sctl_t</a></td></tr>
146
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
147
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g687044a5222c1292cca47941081e3147">_snd_ctl_elem_type</a> { <br>
148
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474a8e5fc1e83f7c800c347c741fa53cfc">SND_CTL_ELEM_TYPE_NONE</a> = 0,
149
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4">SND_CTL_ELEM_TYPE_BOOLEAN</a>,
150
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a>,
151
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a>,
153
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a>,
154
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a>,
155
<a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a>,
156
<b>SND_CTL_ELEM_TYPE_LAST</b> = SND_CTL_ELEM_TYPE_INTEGER64
160
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gcad203f0331afeeadcb127e8a367a06b">_snd_ctl_elem_iface</a> { <br>
161
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06bd352f7119ede3a5598aac10ae77da18a">SND_CTL_ELEM_IFACE_CARD</a> = 0,
162
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06baa6a128d104f13245cc1337edd7bed15">SND_CTL_ELEM_IFACE_HWDEP</a>,
163
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06b396c56a422856d89e634708eb1513a26">SND_CTL_ELEM_IFACE_MIXER</a>,
164
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06b60af44ed4d90dede9df5611138c8dd8d">SND_CTL_ELEM_IFACE_PCM</a>,
166
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06b0bc1d02da142375e2744364768cfadc1">SND_CTL_ELEM_IFACE_RAWMIDI</a>,
167
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06b97aea086b81ab92a5d587df62436056f">SND_CTL_ELEM_IFACE_TIMER</a>,
168
<a class="el" href="group___control.html#ggcad203f0331afeeadcb127e8a367a06bf6837112b9d848b001eb5e6e196a1f9c">SND_CTL_ELEM_IFACE_SEQUENCER</a>,
169
<b>SND_CTL_ELEM_IFACE_LAST</b> = SND_CTL_ELEM_IFACE_SEQUENCER
173
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g36f1fdb68b0243d8fc6642620008dad9">_snd_ctl_event_type</a> { <a class="el" href="group___control.html#gg36f1fdb68b0243d8fc6642620008dad9dc03168a04b5884b7c8283361033fbb2">SND_CTL_EVENT_ELEM</a> = 0,
174
<b>SND_CTL_EVENT_LAST</b> = SND_CTL_EVENT_ELEM
177
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2db031e865355606639c5ec065711e78">_snd_ctl_type</a> { <a class="el" href="group___control.html#gg2db031e865355606639c5ec065711e7865612b0185e3db34affbd7ed618998a5">SND_CTL_TYPE_HW</a>,
178
<a class="el" href="group___control.html#gg2db031e865355606639c5ec065711e78f6d5a61f37f2d73781e8f260b8b18b2c">SND_CTL_TYPE_SHM</a>,
179
<a class="el" href="group___control.html#gg2db031e865355606639c5ec065711e780b30171d424d3152fd5630fca5b9ecb4">SND_CTL_TYPE_INET</a>,
180
<a class="el" href="group___control.html#gg2db031e865355606639c5ec065711e7838fcc3c51e18162bc085c56cf89a8faa">SND_CTL_TYPE_EXT</a>
183
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
184
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2fdc6a46ac3ddfe172693f266b0a58ee">snd_card_load</a> (int card)</td></tr>
186
<tr><td class="mdescLeft"> </td><td class="mdescRight">Try to load the driver for a card. <a href="#g2fdc6a46ac3ddfe172693f266b0a58ee"></a><br></td></tr>
187
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ga45d18d26b11bcfdd2ba40f30a56c46a">snd_card_next</a> (int *card)</td></tr>
189
<tr><td class="mdescLeft"> </td><td class="mdescRight">Try to determine the next card. <a href="#ga45d18d26b11bcfdd2ba40f30a56c46a"></a><br></td></tr>
190
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge6399e627ae738cd123a61b781c015c4">snd_card_get_index</a> (const char *name)</td></tr>
192
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert card string to an integer value. <a href="#ge6399e627ae738cd123a61b781c015c4"></a><br></td></tr>
193
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9a8f8e8cf1292392008c6c47e20e22c9">snd_card_get_name</a> (int card, char **name)</td></tr>
195
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the card name. <a href="#g9a8f8e8cf1292392008c6c47e20e22c9"></a><br></td></tr>
196
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb1f3b4470a304505f5859d5955a03ce9">snd_card_get_longname</a> (int card, char **name)</td></tr>
198
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the card long name. <a href="#gb1f3b4470a304505f5859d5955a03ce9"></a><br></td></tr>
199
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gceb9a23613885d5217e15629450ccf2c">snd_device_name_hint</a> (int card, const char *iface, void ***hints)</td></tr>
201
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return string list with device name hints. <a href="#gceb9a23613885d5217e15629450ccf2c"></a><br></td></tr>
202
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb04e1e8ca97e03ce0ae32a867778b10e">snd_device_name_free_hint</a> (void **hints)</td></tr>
204
<tr><td class="mdescLeft"> </td><td class="mdescRight">Free a string list with device name hints. <a href="#gb04e1e8ca97e03ce0ae32a867778b10e"></a><br></td></tr>
205
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g89654b540632851f112745d07804cda7">snd_device_name_get_hint</a> (const void *hint, const char *id)</td></tr>
207
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a hint Free a string list with device name hints. <a href="#g89654b540632851f112745d07804cda7"></a><br></td></tr>
208
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g22f42c2f2d87ba35139b7de50effc567">snd_ctl_open</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> **ctl, const char *name, int mode)</td></tr>
210
<tr><td class="mdescLeft"> </td><td class="mdescRight">Opens a CTL. <a href="#g22f42c2f2d87ba35139b7de50effc567"></a><br></td></tr>
211
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g11a7d33017db952b9f42008f004b9dc6">snd_ctl_open_lconf</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> **ctl, const char *name, int mode, <a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> *lconf)</td></tr>
213
<tr><td class="mdescLeft"> </td><td class="mdescRight">Opens a CTL using local configuration. <a href="#g11a7d33017db952b9f42008f004b9dc6"></a><br></td></tr>
214
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g3deb61d661dedda3bb79d5cc6989a87c">snd_ctl_close</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl)</td></tr>
216
<tr><td class="mdescLeft"> </td><td class="mdescRight">close CTL handle <a href="#g3deb61d661dedda3bb79d5cc6989a87c"></a><br></td></tr>
217
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd6dc5e34dfe46b6f45a3c439d6ba42d1">snd_ctl_nonblock</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, int nonblock)</td></tr>
219
<tr><td class="mdescLeft"> </td><td class="mdescRight">set nonblock mode <a href="#gd6dc5e34dfe46b6f45a3c439d6ba42d1"></a><br></td></tr>
220
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc6043c5e6f543bbb370e731f6b99fe38">snd_async_add_ctl_handler</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> **handler, <a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___global.html#gc2c426c7ea09cdcc0cdb398660104baa">snd_async_callback_t</a> callback, void *private_data)</td></tr>
222
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an async handler for a CTL. <a href="#gc6043c5e6f543bbb370e731f6b99fe38"></a><br></td></tr>
223
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb0a6ac7aa353b6533d9ba002e2b839fa">snd_async_handler_get_ctl</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *handler)</td></tr>
225
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return CTL handle related to an async handler. <a href="#gb0a6ac7aa353b6533d9ba002e2b839fa"></a><br></td></tr>
226
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc920dd42059e0700840642ad36c30597">snd_ctl_poll_descriptors_count</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl)</td></tr>
228
<tr><td class="mdescLeft"> </td><td class="mdescRight">get count of poll descriptors for CTL handle <a href="#gc920dd42059e0700840642ad36c30597"></a><br></td></tr>
229
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g670abfcc404b38fa80af355141aec9ea">snd_ctl_poll_descriptors</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, struct pollfd *pfds, unsigned int space)</td></tr>
231
<tr><td class="mdescLeft"> </td><td class="mdescRight">get poll descriptors <a href="#g670abfcc404b38fa80af355141aec9ea"></a><br></td></tr>
232
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ga70244cf1d5abccf0534642a84f93a84">snd_ctl_poll_descriptors_revents</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)</td></tr>
234
<tr><td class="mdescLeft"> </td><td class="mdescRight">get returned events from poll descriptors <a href="#ga70244cf1d5abccf0534642a84f93a84"></a><br></td></tr>
235
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9a9dfdbbd2b7c2d74293f8c54e51445b">snd_ctl_subscribe_events</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, int subscribe)</td></tr>
237
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ask to be informed about events (poll, <a class="el" href="group___control.html#gc6043c5e6f543bbb370e731f6b99fe38">snd_async_add_ctl_handler</a>, <a class="el" href="group___control.html#ge9143d17bbcc7f039601fe6465fe813d">snd_ctl_read</a>). <a href="#g9a9dfdbbd2b7c2d74293f8c54e51445b"></a><br></td></tr>
238
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc10c26abe9945014de35ebaa3309ee62">snd_ctl_card_info</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *info)</td></tr>
240
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card related information. <a href="#gc10c26abe9945014de35ebaa3309ee62"></a><br></td></tr>
241
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb14bf34589c8e1c2547e3112f0739f4e">snd_ctl_elem_list</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *list)</td></tr>
243
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of element identifiers. <a href="#gb14bf34589c8e1c2547e3112f0739f4e"></a><br></td></tr>
244
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge60072b2f4ee8ff485b0e5a6cfec9d3f">snd_ctl_elem_info</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *info)</td></tr>
246
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element information. <a href="#ge60072b2f4ee8ff485b0e5a6cfec9d3f"></a><br></td></tr>
247
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd53942fd55e23563583b4cb0baf4ae98">snd_ctl_elem_read</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *value)</td></tr>
249
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element value. <a href="#gd53942fd55e23563583b4cb0baf4ae98"></a><br></td></tr>
250
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g17f1a202036e21a6b358d17191c9fa87">snd_ctl_elem_write</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *value)</td></tr>
252
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set CTL element value. <a href="#g17f1a202036e21a6b358d17191c9fa87"></a><br></td></tr>
253
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd6639e115668f3e0997be4ca55907455">snd_ctl_elem_lock</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id)</td></tr>
255
<tr><td class="mdescLeft"> </td><td class="mdescRight">Lock CTL element. <a href="#gd6639e115668f3e0997be4ca55907455"></a><br></td></tr>
256
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd495fa1cab1f9ef349af50e72dbce4a1">snd_ctl_elem_unlock</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id)</td></tr>
258
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unlock CTL element. <a href="#gd495fa1cab1f9ef349af50e72dbce4a1"></a><br></td></tr>
259
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5693481d9abed8d22f6ee76c829da517">snd_ctl_elem_tlv_read</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, unsigned int *tlv, unsigned int tlv_size)</td></tr>
261
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element TLV value. <a href="#g5693481d9abed8d22f6ee76c829da517"></a><br></td></tr>
262
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g78a31d9ce13c55c6111a6d3ad111f6bc">snd_ctl_elem_tlv_write</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, const unsigned int *tlv)</td></tr>
264
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set CTL element TLV value. <a href="#g78a31d9ce13c55c6111a6d3ad111f6bc"></a><br></td></tr>
265
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g88aa8fb1cbb8778a8b6ddfabc54e9d23">snd_ctl_elem_tlv_command</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, const unsigned int *tlv)</td></tr>
267
<tr><td class="mdescLeft"> </td><td class="mdescRight">Process CTL element TLV command. <a href="#g88aa8fb1cbb8778a8b6ddfabc54e9d23"></a><br></td></tr>
268
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf70feeb5ea9216121c5fb26034f28ac4">snd_ctl_set_power_state</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, unsigned int state)</td></tr>
270
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set Power State to given SND_CTL_POWER_* value and do the power management. <a href="#gf70feeb5ea9216121c5fb26034f28ac4"></a><br></td></tr>
271
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gdba7e71f27a44ef898af21b6ddc0a0f7">snd_ctl_get_power_state</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, unsigned int *state)</td></tr>
273
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get actual Power State. <a href="#gdba7e71f27a44ef898af21b6ddc0a0f7"></a><br></td></tr>
274
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge9143d17bbcc7f039601fe6465fe813d">snd_ctl_read</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *event)</td></tr>
276
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read an event. <a href="#ge9143d17bbcc7f039601fe6465fe813d"></a><br></td></tr>
277
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g4aa1bf3d1456da9c5eba36de6050c950">snd_ctl_wait</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, int timeout)</td></tr>
279
<tr><td class="mdescLeft"> </td><td class="mdescRight">Wait for a CTL to become ready (i.e. at least one event pending). <a href="#g4aa1bf3d1456da9c5eba36de6050c950"></a><br></td></tr>
280
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf4f33af8a1f0bd3f4c1bb02195212899">snd_ctl_name</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl)</td></tr>
282
<tr><td class="mdescLeft"> </td><td class="mdescRight">get identifier of CTL handle <a href="#gf4f33af8a1f0bd3f4c1bb02195212899"></a><br></td></tr>
283
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g97dce0bd3805dc72abf9cd4bb2a26de5">snd_ctl_type</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl)</td></tr>
285
<tr><td class="mdescLeft"> </td><td class="mdescRight">get type of CTL handle <a href="#g97dce0bd3805dc72abf9cd4bb2a26de5"></a><br></td></tr>
286
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g18120c9132a52422dc38f32d528e9db6">snd_ctl_elem_type_name</a> (<a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a> type)</td></tr>
288
<tr><td class="mdescLeft"> </td><td class="mdescRight">get name of a CTL element type <a href="#g18120c9132a52422dc38f32d528e9db6"></a><br></td></tr>
289
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge591752ffa856587f2fed1ec761de076">snd_ctl_elem_iface_name</a> (<a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> iface)</td></tr>
291
<tr><td class="mdescLeft"> </td><td class="mdescRight">get name of a CTL element related interface <a href="#ge591752ffa856587f2fed1ec761de076"></a><br></td></tr>
292
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9357ffcb27d0224d01d0704620ff5828">snd_ctl_event_type_name</a> (<a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a> type)</td></tr>
294
<tr><td class="mdescLeft"> </td><td class="mdescRight">get name of a CTL event type <a href="#g9357ffcb27d0224d01d0704620ff5828"></a><br></td></tr>
295
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf219ff52ef4669a0c21d159b9d261721">snd_ctl_event_elem_get_mask</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
297
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get event mask for an element related event. <a href="#gf219ff52ef4669a0c21d159b9d261721"></a><br></td></tr>
298
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g042978d450b52a14cebb3d23e3b88b50">snd_ctl_event_elem_get_numid</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
300
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get element numeric identifier for an element related event. <a href="#g042978d450b52a14cebb3d23e3b88b50"></a><br></td></tr>
301
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gfc04a1a1fc1d0bfbaa9c508c99cdb1fe">snd_ctl_event_elem_get_id</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *ptr)</td></tr>
303
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element identifier for an element related event. <a href="#gfc04a1a1fc1d0bfbaa9c508c99cdb1fe"></a><br></td></tr>
304
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd13fbee7a7321d3a896a3be8d0ba49ea">snd_ctl_event_elem_get_interface</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
306
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get interface part of CTL element identifier for an element related event. <a href="#gd13fbee7a7321d3a896a3be8d0ba49ea"></a><br></td></tr>
307
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5dd956cb7a74b0744b0211d52b07c1d3">snd_ctl_event_elem_get_device</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
309
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get device part of CTL element identifier for an element related event. <a href="#g5dd956cb7a74b0744b0211d52b07c1d3"></a><br></td></tr>
310
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb824db8045e400a3129a2bd6f50cf6bc">snd_ctl_event_elem_get_subdevice</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
312
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get subdevice part of CTL element identifier for an element related event. <a href="#gb824db8045e400a3129a2bd6f50cf6bc"></a><br></td></tr>
313
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6d257cc178d40bca1182960bba3896b5">snd_ctl_event_elem_get_name</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
315
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name part of CTL element identifier for an element related event. <a href="#g6d257cc178d40bca1182960bba3896b5"></a><br></td></tr>
316
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6c7375029aa7bdd063e736805c19c75a">snd_ctl_event_elem_get_index</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
318
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get index part of CTL element identifier for an element related event. <a href="#g6c7375029aa7bdd063e736805c19c75a"></a><br></td></tr>
319
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g62dcadc682522fe0a9df391a9d16be31">snd_ctl_elem_list_alloc_space</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int entries)</td></tr>
321
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate space for CTL element identifiers list <a href="#g62dcadc682522fe0a9df391a9d16be31"></a><br></td></tr>
322
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g08ddf515cd58c061134f47ad0801f372">snd_ctl_elem_list_free_space</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj)</td></tr>
324
<tr><td class="mdescLeft"> </td><td class="mdescRight">free previously allocated space for CTL element identifiers list <a href="#g08ddf515cd58c061134f47ad0801f372"></a><br></td></tr>
325
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6c69bc87ba682c1f19a060dc9eefa29c">snd_ctl_elem_id_sizeof</a> (void)</td></tr>
327
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> <a href="#g6c69bc87ba682c1f19a060dc9eefa29c"></a><br></td></tr>
328
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6861e1e3ea20c9b3d332d7e57233876e">snd_ctl_elem_id_malloc</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> **ptr)</td></tr>
330
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> using standard malloc <a href="#g6861e1e3ea20c9b3d332d7e57233876e"></a><br></td></tr>
331
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge75bf097faf13019242484991631581c">snd_ctl_elem_id_free</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
333
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> <a href="#ge75bf097faf13019242484991631581c"></a><br></td></tr>
334
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g510f3196c681a7789e2ae9e3626f17fb">snd_ctl_elem_id_clear</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
336
<tr><td class="mdescLeft"> </td><td class="mdescRight">clear given <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> object <a href="#g510f3196c681a7789e2ae9e3626f17fb"></a><br></td></tr>
337
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g96392ee283b248b455f89fcd6be818ef">snd_ctl_elem_id_copy</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *dst, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *src)</td></tr>
339
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> to another <a href="#g96392ee283b248b455f89fcd6be818ef"></a><br></td></tr>
340
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g22624803ba9e6635d358141dc680ea05">snd_ctl_elem_id_get_numid</a> (const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
342
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get numeric identifier from a CTL element identifier. <a href="#g22624803ba9e6635d358141dc680ea05"></a><br></td></tr>
343
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g345be41c7ea69466c912a584e107e840">snd_ctl_elem_id_get_interface</a> (const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
345
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get interface part of a CTL element identifier. <a href="#g345be41c7ea69466c912a584e107e840"></a><br></td></tr>
346
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5474ef2c034d124f112ea93a922dccd3">snd_ctl_elem_id_get_device</a> (const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
348
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get device part of a CTL element identifier. <a href="#g5474ef2c034d124f112ea93a922dccd3"></a><br></td></tr>
349
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8a52ee240c70376333ca8b43ce172ebb">snd_ctl_elem_id_get_subdevice</a> (const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
351
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get subdevice part of a CTL element identifier. <a href="#g8a52ee240c70376333ca8b43ce172ebb"></a><br></td></tr>
352
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ga8d563ed81ed01d8a3a1dd4332b3ee6b">snd_ctl_elem_id_get_name</a> (const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
354
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name part of a CTL element identifier. <a href="#ga8d563ed81ed01d8a3a1dd4332b3ee6b"></a><br></td></tr>
355
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g579f865e51cc9bcefb64b416ddb27fde">snd_ctl_elem_id_get_index</a> (const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj)</td></tr>
357
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get index part of a CTL element identifier. <a href="#g579f865e51cc9bcefb64b416ddb27fde"></a><br></td></tr>
358
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5f894c3fac4337fd3eb893c813e13614">snd_ctl_elem_id_set_numid</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj, unsigned int val)</td></tr>
360
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set numeric identifier for a CTL element identifier. <a href="#g5f894c3fac4337fd3eb893c813e13614"></a><br></td></tr>
361
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7b80d21eb55755d206ac84d43a7335ff">snd_ctl_elem_id_set_interface</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj, <a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> val)</td></tr>
363
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set interface part for a CTL element identifier. <a href="#g7b80d21eb55755d206ac84d43a7335ff"></a><br></td></tr>
364
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2deb5757bae394a909be6694949e2778">snd_ctl_elem_id_set_device</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj, unsigned int val)</td></tr>
366
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set device part for a CTL element identifier. <a href="#g2deb5757bae394a909be6694949e2778"></a><br></td></tr>
367
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gdd00fae66e8890c5d83b4fca211bd304">snd_ctl_elem_id_set_subdevice</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj, unsigned int val)</td></tr>
369
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set subdevice part for a CTL element identifier. <a href="#gdd00fae66e8890c5d83b4fca211bd304"></a><br></td></tr>
370
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g72df8ff92a7306464c77d3bb35e36fcc">snd_ctl_elem_id_set_name</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj, const char *val)</td></tr>
372
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set name part for a CTL element identifier. <a href="#g72df8ff92a7306464c77d3bb35e36fcc"></a><br></td></tr>
373
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge54bdbd724e3ede337a5742696ea00f4">snd_ctl_elem_id_set_index</a> (<a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *obj, unsigned int val)</td></tr>
375
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set index part for a CTL element identifier. <a href="#ge54bdbd724e3ede337a5742696ea00f4"></a><br></td></tr>
376
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g881e3ff055d2525c8ecf326ef78cbb36">snd_ctl_card_info_sizeof</a> (void)</td></tr>
378
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> <a href="#g881e3ff055d2525c8ecf326ef78cbb36"></a><br></td></tr>
379
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0abb90ba4f1953758a175ea0ba27fd40">snd_ctl_card_info_malloc</a> (<a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> **ptr)</td></tr>
381
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> using standard malloc <a href="#g0abb90ba4f1953758a175ea0ba27fd40"></a><br></td></tr>
382
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7ed5f87a96e3c276b8d1e379b8b28ff9">snd_ctl_card_info_free</a> (<a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
384
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> <a href="#g7ed5f87a96e3c276b8d1e379b8b28ff9"></a><br></td></tr>
385
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g611cc6fd37ac51c4c4758c7d4b9deca0">snd_ctl_card_info_clear</a> (<a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
387
<tr><td class="mdescLeft"> </td><td class="mdescRight">clear given <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> object <a href="#g611cc6fd37ac51c4c4758c7d4b9deca0"></a><br></td></tr>
388
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g757e2c449346c00d1c351cb7908e9563">snd_ctl_card_info_copy</a> (<a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *dst, const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *src)</td></tr>
390
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> to another <a href="#g757e2c449346c00d1c351cb7908e9563"></a><br></td></tr>
391
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6fd5d4ce2dec489f307c54e83af10c48">snd_ctl_card_info_get_card</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
393
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card number from a CTL card info. <a href="#g6fd5d4ce2dec489f307c54e83af10c48"></a><br></td></tr>
394
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g877dbc5bf4682a00272ed2b2176ce2fd">snd_ctl_card_info_get_id</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
396
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card identifier from a CTL card info. <a href="#g877dbc5bf4682a00272ed2b2176ce2fd"></a><br></td></tr>
397
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gfc9ab68a32b0475970378b2347c5f50f">snd_ctl_card_info_get_driver</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
399
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card driver name from a CTL card info. <a href="#gfc9ab68a32b0475970378b2347c5f50f"></a><br></td></tr>
400
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g3e370612be93526b4c4934559430d2e6">snd_ctl_card_info_get_name</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
402
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card name from a CTL card info. <a href="#g3e370612be93526b4c4934559430d2e6"></a><br></td></tr>
403
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g72047de23dfb965ef862b02b72180546">snd_ctl_card_info_get_longname</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
405
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card long name from a CTL card info. <a href="#g72047de23dfb965ef862b02b72180546"></a><br></td></tr>
406
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g782eb1b2f3d733f18b0c70a433555645">snd_ctl_card_info_get_mixername</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
408
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card mixer name from a CTL card info. <a href="#g782eb1b2f3d733f18b0c70a433555645"></a><br></td></tr>
409
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge0d3b5929a0906af78b924ebd96e2f25">snd_ctl_card_info_get_components</a> (const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *obj)</td></tr>
411
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get card component list from a CTL card info. <a href="#ge0d3b5929a0906af78b924ebd96e2f25"></a><br></td></tr>
412
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g55a2d16ee51feddcc71caa9609d02116">snd_ctl_event_sizeof</a> (void)</td></tr>
414
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> <a href="#g55a2d16ee51feddcc71caa9609d02116"></a><br></td></tr>
415
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g076f6a9d96cfe42d1dc3705a5f2b047c">snd_ctl_event_malloc</a> (<a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> **ptr)</td></tr>
417
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> using standard malloc <a href="#g076f6a9d96cfe42d1dc3705a5f2b047c"></a><br></td></tr>
418
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb90db66d52ff57d45c5d22dfae0da1ce">snd_ctl_event_free</a> (<a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
420
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> <a href="#gb90db66d52ff57d45c5d22dfae0da1ce"></a><br></td></tr>
421
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2091dae7224893a587ba4a3f9cec6210">snd_ctl_event_clear</a> (<a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
423
<tr><td class="mdescLeft"> </td><td class="mdescRight">clear given <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> object <a href="#g2091dae7224893a587ba4a3f9cec6210"></a><br></td></tr>
424
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gea0e2db6b98d703f99b0b7814604241a">snd_ctl_event_copy</a> (<a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *dst, const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *src)</td></tr>
426
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> to another <a href="#gea0e2db6b98d703f99b0b7814604241a"></a><br></td></tr>
427
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g386431fe458d900cb28619bcd2840de7">snd_ctl_event_get_type</a> (const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *obj)</td></tr>
429
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get type of a CTL event. <a href="#g386431fe458d900cb28619bcd2840de7"></a><br></td></tr>
430
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0eac744a630c8ab22a5773783a3b459a">snd_ctl_elem_list_sizeof</a> (void)</td></tr>
432
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> <a href="#g0eac744a630c8ab22a5773783a3b459a"></a><br></td></tr>
433
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf66ec5c0a0a974d6c90ca2c5d4a4783d">snd_ctl_elem_list_malloc</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> **ptr)</td></tr>
435
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> using standard malloc <a href="#gf66ec5c0a0a974d6c90ca2c5d4a4783d"></a><br></td></tr>
436
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g4abd8a2a8598d862e949e9b7d8652771">snd_ctl_elem_list_free</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj)</td></tr>
438
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> <a href="#g4abd8a2a8598d862e949e9b7d8652771"></a><br></td></tr>
439
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb85c4c39e5b95cb8358655d966f40f51">snd_ctl_elem_list_clear</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj)</td></tr>
441
<tr><td class="mdescLeft"> </td><td class="mdescRight">clear given <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> object <a href="#gb85c4c39e5b95cb8358655d966f40f51"></a><br></td></tr>
442
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ged5541ef8959060a80c7f332935018f5">snd_ctl_elem_list_copy</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *dst, const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *src)</td></tr>
444
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> to another <a href="#ged5541ef8959060a80c7f332935018f5"></a><br></td></tr>
445
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gdfdcda25b3628ee82c1edf2a73b97a68">snd_ctl_elem_list_set_offset</a> (<a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int val)</td></tr>
447
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set index of first wanted CTL element identifier in a CTL element identifiers list. <a href="#gdfdcda25b3628ee82c1edf2a73b97a68"></a><br></td></tr>
448
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2c20cf5aeb3a7bb78d8a54e331b800af">snd_ctl_elem_list_get_used</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj)</td></tr>
450
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get number of used entries in CTL element identifiers list. <a href="#g2c20cf5aeb3a7bb78d8a54e331b800af"></a><br></td></tr>
451
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb2a1800d4b52662368f7bf70d1a4e8ec">snd_ctl_elem_list_get_count</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj)</td></tr>
453
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get total count of elements present in CTL device (information present in every filled CTL element identifiers list). <a href="#gb2a1800d4b52662368f7bf70d1a4e8ec"></a><br></td></tr>
454
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g723482a685d05910fc56db5177575ce0">snd_ctl_elem_list_get_id</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *ptr)</td></tr>
456
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element identifier for an entry of a CTL element identifiers list. <a href="#g723482a685d05910fc56db5177575ce0"></a><br></td></tr>
457
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf1bb4562e0df64fc33408acd0f9310a5">snd_ctl_elem_list_get_numid</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx)</td></tr>
459
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element numeric identifier for an entry of a CTL element identifiers list. <a href="#gf1bb4562e0df64fc33408acd0f9310a5"></a><br></td></tr>
460
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5bdb5d78604d28a8c3fd49e51ac5fb9a">snd_ctl_elem_list_get_interface</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx)</td></tr>
462
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get interface part of CTL element identifier for an entry of a CTL element identifiers list. <a href="#g5bdb5d78604d28a8c3fd49e51ac5fb9a"></a><br></td></tr>
463
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc1f4935e0dba778e6a4a073bcee0f8a6">snd_ctl_elem_list_get_device</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx)</td></tr>
465
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get device part of CTL element identifier for an entry of a CTL element identifiers list. <a href="#gc1f4935e0dba778e6a4a073bcee0f8a6"></a><br></td></tr>
466
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7bea82d42eca53b3c08e793d8b95e200">snd_ctl_elem_list_get_subdevice</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx)</td></tr>
468
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get subdevice part of CTL element identifier for an entry of a CTL element identifiers list. <a href="#g7bea82d42eca53b3c08e793d8b95e200"></a><br></td></tr>
469
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g90b3e2fb36663a669882cd5fe952d3a2">snd_ctl_elem_list_get_name</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx)</td></tr>
471
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name part of CTL element identifier for an entry of a CTL element identifiers list. <a href="#g90b3e2fb36663a669882cd5fe952d3a2"></a><br></td></tr>
472
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0cc0fb01308e30b927f1c46372dadcf5">snd_ctl_elem_list_get_index</a> (const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *obj, unsigned int idx)</td></tr>
474
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get index part of CTL element identifier for an entry of a CTL element identifiers list. <a href="#g0cc0fb01308e30b927f1c46372dadcf5"></a><br></td></tr>
475
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf578c56fe5377697876bf3ef878e1de8">snd_ctl_elem_info_sizeof</a> (void)</td></tr>
477
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> <a href="#gf578c56fe5377697876bf3ef878e1de8"></a><br></td></tr>
478
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb2f0e984199bb422567556a5690d77df">snd_ctl_elem_info_malloc</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> **ptr)</td></tr>
480
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> using standard malloc <a href="#gb2f0e984199bb422567556a5690d77df"></a><br></td></tr>
481
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2160cfb519c0bcc6d107f727289a92c0">snd_ctl_elem_info_free</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
483
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> <a href="#g2160cfb519c0bcc6d107f727289a92c0"></a><br></td></tr>
484
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gff787f1661a7883574c23e0aae4cd9aa">snd_ctl_elem_info_clear</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
486
<tr><td class="mdescLeft"> </td><td class="mdescRight">clear given <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> object <a href="#gff787f1661a7883574c23e0aae4cd9aa"></a><br></td></tr>
487
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb905e94be93b859071472f84bc84631d">snd_ctl_elem_info_copy</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *dst, const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *src)</td></tr>
489
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> to another <a href="#gb905e94be93b859071472f84bc84631d"></a><br></td></tr>
490
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7f29ce4ff803460d77b24d96198e0965">snd_ctl_elem_info_get_type</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
492
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get type from a CTL element id/info. <a href="#g7f29ce4ff803460d77b24d96198e0965"></a><br></td></tr>
493
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc2267701a47c8acf6f0326a0535fc317">snd_ctl_elem_info_is_readable</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
495
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about readability from a CTL element id/info. <a href="#gc2267701a47c8acf6f0326a0535fc317"></a><br></td></tr>
496
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd211d4d7448e3907763cda165736935d">snd_ctl_elem_info_is_writable</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
498
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about writability from a CTL element id/info. <a href="#gd211d4d7448e3907763cda165736935d"></a><br></td></tr>
499
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7bf9f649eca51aaf5dd754a2bb27b962">snd_ctl_elem_info_is_volatile</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
501
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about notification feasibility from a CTL element id/info. <a href="#g7bf9f649eca51aaf5dd754a2bb27b962"></a><br></td></tr>
502
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb884ae23e242ea5e5a2127947ef27ef8">snd_ctl_elem_info_is_inactive</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
504
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about status from a CTL element id/info. <a href="#gb884ae23e242ea5e5a2127947ef27ef8"></a><br></td></tr>
505
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd47689714d65647c15d281c64ca1ac48">snd_ctl_elem_info_is_locked</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
507
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info whether an element is locked. <a href="#gd47689714d65647c15d281c64ca1ac48"></a><br></td></tr>
508
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#geae7a566440bac0985f505a35730cd30">snd_ctl_elem_info_is_tlv_readable</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
510
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about TLV readability from a CTL element id/info. <a href="#geae7a566440bac0985f505a35730cd30"></a><br></td></tr>
511
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g41034371f820a9b290beaac024eeb9c8">snd_ctl_elem_info_is_tlv_writable</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
513
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about TLV writeability from a CTL element id/info. <a href="#g41034371f820a9b290beaac024eeb9c8"></a><br></td></tr>
514
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8edc2648f35f6788f696cd73ebe502e0">snd_ctl_elem_info_is_tlv_commandable</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
516
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info about TLV command possibility from a CTL element id/info. <a href="#g8edc2648f35f6788f696cd73ebe502e0"></a><br></td></tr>
517
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1fef7dbe3b56ff82d6fd13d290ecdf31">snd_ctl_elem_info_is_owner</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
519
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info if I own an element. <a href="#g1fef7dbe3b56ff82d6fd13d290ecdf31"></a><br></td></tr>
520
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd9be64847649ea097cbd7c5bd98bbfe3">snd_ctl_elem_info_is_user</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
522
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get info if it's a user element. <a href="#gd9be64847649ea097cbd7c5bd98bbfe3"></a><br></td></tr>
523
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g54ee26ba57ff26763938b088d4807fc9">snd_ctl_elem_info_get_owner</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
525
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get owner of a locked element. <a href="#g54ee26ba57ff26763938b088d4807fc9"></a><br></td></tr>
526
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6c0b0acb14a0c105252c5c037f12a19b">snd_ctl_elem_info_get_count</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
528
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get number of value entries from a CTL element id/info. <a href="#g6c0b0acb14a0c105252c5c037f12a19b"></a><br></td></tr>
529
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0059e49e835b793a4d77013a55049fb2">snd_ctl_elem_info_get_min</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
531
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get minimum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info. <a href="#g0059e49e835b793a4d77013a55049fb2"></a><br></td></tr>
532
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gea1e77d2bb7328f7f1551ab1dd29e26d">snd_ctl_elem_info_get_max</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
534
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get maximum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info. <a href="#gea1e77d2bb7328f7f1551ab1dd29e26d"></a><br></td></tr>
535
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g10d5317bf0a7849b102ffec95ed7b6e1">snd_ctl_elem_info_get_step</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
537
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value step from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info. <a href="#g10d5317bf0a7849b102ffec95ed7b6e1"></a><br></td></tr>
538
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g869a462b414baa1ac60002657b9fcc3c">snd_ctl_elem_info_get_min64</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
540
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get minimum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info. <a href="#g869a462b414baa1ac60002657b9fcc3c"></a><br></td></tr>
541
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9dfc325cef20fe1cd87f0898c4519fe4">snd_ctl_elem_info_get_max64</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
543
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get maximum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info. <a href="#g9dfc325cef20fe1cd87f0898c4519fe4"></a><br></td></tr>
544
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g111a97cf42e669606340726f981077f0">snd_ctl_elem_info_get_step64</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
546
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value step from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info. <a href="#g111a97cf42e669606340726f981077f0"></a><br></td></tr>
547
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gbc20ad3bf868a14fc093faca637d9785">snd_ctl_elem_info_get_items</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
549
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get number of items available from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info. <a href="#gbc20ad3bf868a14fc093faca637d9785"></a><br></td></tr>
550
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g54369047c806dae237395725196d6dcd">snd_ctl_elem_info_set_item</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, unsigned int val)</td></tr>
552
<tr><td class="mdescLeft"> </td><td class="mdescRight">Select item in a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info. <a href="#g54369047c806dae237395725196d6dcd"></a><br></td></tr>
553
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8fdab5e19d83d8dc4664e108ce067a29">snd_ctl_elem_info_get_item_name</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
555
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name for selected item in a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info. <a href="#g8fdab5e19d83d8dc4664e108ce067a29"></a><br></td></tr>
556
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g83fcd87320eb24021b4ea730da1448d8">snd_ctl_elem_info_get_dimensions</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
558
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get count of dimensions for given element. <a href="#g83fcd87320eb24021b4ea730da1448d8"></a><br></td></tr>
559
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5a1a04b7bb3b709ccbe9329e2606eb54">snd_ctl_elem_info_get_dimension</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, unsigned int idx)</td></tr>
561
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get specified of dimension width for given element. <a href="#g5a1a04b7bb3b709ccbe9329e2606eb54"></a><br></td></tr>
562
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g33d84cba10476637c8059801d564cbbd">snd_ctl_elem_info_get_id</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *ptr)</td></tr>
564
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element identifier of a CTL element id/info. <a href="#g33d84cba10476637c8059801d564cbbd"></a><br></td></tr>
565
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g717b663317e4bf844909f25d842bebd6">snd_ctl_elem_info_get_numid</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
567
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get element numeric identifier of a CTL element id/info. <a href="#g717b663317e4bf844909f25d842bebd6"></a><br></td></tr>
568
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6e520249150bc19ac45602260a069acd">snd_ctl_elem_info_get_interface</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
570
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get interface part of CTL element identifier of a CTL element id/info. <a href="#g6e520249150bc19ac45602260a069acd"></a><br></td></tr>
571
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g415721b5ec822cf3513d24d8462f439c">snd_ctl_elem_info_get_device</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
573
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get device part of CTL element identifier of a CTL element id/info. <a href="#g415721b5ec822cf3513d24d8462f439c"></a><br></td></tr>
574
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gaad1903bed9eed93c70541c10353993d">snd_ctl_elem_info_get_subdevice</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
576
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get subdevice part of CTL element identifier of a CTL element id/info. <a href="#gaad1903bed9eed93c70541c10353993d"></a><br></td></tr>
577
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gccb50681c6420b75812eaf9fbd417b9f">snd_ctl_elem_info_get_name</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
579
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name part of CTL element identifier of a CTL element id/info. <a href="#gccb50681c6420b75812eaf9fbd417b9f"></a><br></td></tr>
580
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g63e363c65c797965b7b0bb84d2895f52">snd_ctl_elem_info_get_index</a> (const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj)</td></tr>
582
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get index part of CTL element identifier of a CTL element id/info. <a href="#g63e363c65c797965b7b0bb84d2895f52"></a><br></td></tr>
583
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g60ba7276e88e0e3a84211b3879d877f8">snd_ctl_elem_info_set_id</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *ptr)</td></tr>
585
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set CTL element identifier of a CTL element id/info. <a href="#g60ba7276e88e0e3a84211b3879d877f8"></a><br></td></tr>
586
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g78d6a6394a153ddf91e26aba4d75794c">snd_ctl_elem_info_set_numid</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, unsigned int val)</td></tr>
588
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set element numeric identifier of a CTL element id/info. <a href="#g78d6a6394a153ddf91e26aba4d75794c"></a><br></td></tr>
589
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g018026dfd3a92ae39c237d936c180a03">snd_ctl_elem_info_set_interface</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, <a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> val)</td></tr>
591
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set interface part of CTL element identifier of a CTL element id/info. <a href="#g018026dfd3a92ae39c237d936c180a03"></a><br></td></tr>
592
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g3517e4c6376a2b76628026b8c3e0c234">snd_ctl_elem_info_set_device</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, unsigned int val)</td></tr>
594
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set device part of CTL element identifier of a CTL element id/info. <a href="#g3517e4c6376a2b76628026b8c3e0c234"></a><br></td></tr>
595
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g68806fadd7fb644c6dab5c08e99a6d0d">snd_ctl_elem_info_set_subdevice</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, unsigned int val)</td></tr>
597
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set subdevice part of CTL element identifier of a CTL element id/info. <a href="#g68806fadd7fb644c6dab5c08e99a6d0d"></a><br></td></tr>
598
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9243bf1caad6ef2dd8bf831a672a08fe">snd_ctl_elem_info_set_name</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, const char *val)</td></tr>
600
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set name part of CTL element identifier of a CTL element id/info. <a href="#g9243bf1caad6ef2dd8bf831a672a08fe"></a><br></td></tr>
601
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g15a3dae5336e9d90cd7818bccf78be8a">snd_ctl_elem_info_set_index</a> (<a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *obj, unsigned int val)</td></tr>
603
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set index part of CTL element identifier of a CTL element id/info. <a href="#g15a3dae5336e9d90cd7818bccf78be8a"></a><br></td></tr>
604
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf8c091197f738d15d7b87aa736e1b835">snd_ctl_elem_add_integer</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, unsigned int count, long imin, long imax, long istep)</td></tr>
606
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create and add an user INTEGER CTL element. <a href="#gf8c091197f738d15d7b87aa736e1b835"></a><br></td></tr>
607
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g002f81bfb06839225dc7a090832f4937">snd_ctl_elem_add_integer64</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, unsigned int count, long long imin, long long imax, long long istep)</td></tr>
609
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create and add an user INTEGER64 CTL element. <a href="#g002f81bfb06839225dc7a090832f4937"></a><br></td></tr>
610
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g76b036bce85dbf7248d6f64528292233">snd_ctl_elem_add_boolean</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, unsigned int count)</td></tr>
612
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create and add an user BOOLEAN CTL element. <a href="#g76b036bce85dbf7248d6f64528292233"></a><br></td></tr>
613
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf8166b4f5b0f7e2e8797a048ddf80a48">snd_ctl_elem_add_iec958</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id)</td></tr>
615
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create and add an user IEC958 CTL element. <a href="#gf8166b4f5b0f7e2e8797a048ddf80a48"></a><br></td></tr>
616
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gbc54492bb9ccdf83f7219747d2d9d04b">snd_ctl_elem_remove</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id)</td></tr>
618
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove an user CTL element. <a href="#gbc54492bb9ccdf83f7219747d2d9d04b"></a><br></td></tr>
619
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1cc467f85955db8b0aee16d1107003cf">snd_ctl_elem_value_sizeof</a> (void)</td></tr>
621
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> <a href="#g1cc467f85955db8b0aee16d1107003cf"></a><br></td></tr>
622
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge410438fba06252b2d9a139d09c90b16">snd_ctl_elem_value_malloc</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> **ptr)</td></tr>
624
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> using standard malloc <a href="#ge410438fba06252b2d9a139d09c90b16"></a><br></td></tr>
625
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g138362efaaaee315ca3e694539432d4f">snd_ctl_elem_value_free</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
627
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> <a href="#g138362efaaaee315ca3e694539432d4f"></a><br></td></tr>
628
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc14397a7256beacdca2f41d8b1d09b92">snd_ctl_elem_value_clear</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
630
<tr><td class="mdescLeft"> </td><td class="mdescRight">clear given <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> object <a href="#gc14397a7256beacdca2f41d8b1d09b92"></a><br></td></tr>
631
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gae6101e5aa015ead7945609c55d96081">snd_ctl_elem_value_copy</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *dst, const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *src)</td></tr>
633
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> to another <a href="#gae6101e5aa015ead7945609c55d96081"></a><br></td></tr>
634
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gffcf88beac144eb0d2be795b976dfd12">snd_ctl_elem_value_get_id</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *ptr)</td></tr>
636
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get CTL element identifier of a CTL element id/value. <a href="#gffcf88beac144eb0d2be795b976dfd12"></a><br></td></tr>
637
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge5c4ff99afd99a0f6f752dc3339f2540">snd_ctl_elem_value_get_numid</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
639
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get element numeric identifier of a CTL element id/value. <a href="#ge5c4ff99afd99a0f6f752dc3339f2540"></a><br></td></tr>
640
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf4d4d394888a57491aaddb2e363a68f4">snd_ctl_elem_value_get_interface</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
642
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get interface part of CTL element identifier of a CTL element id/value. <a href="#gf4d4d394888a57491aaddb2e363a68f4"></a><br></td></tr>
643
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2d946be4755d98f6d804e6f591fe9665">snd_ctl_elem_value_get_device</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
645
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get device part of CTL element identifier of a CTL element id/value. <a href="#g2d946be4755d98f6d804e6f591fe9665"></a><br></td></tr>
646
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g723aca26b6674fdcd36b59a9b8c5496d">snd_ctl_elem_value_get_subdevice</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
648
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get subdevice part of CTL element identifier of a CTL element id/value. <a href="#g723aca26b6674fdcd36b59a9b8c5496d"></a><br></td></tr>
649
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g41f7b182736c872a50fdd714edfd5ba9">snd_ctl_elem_value_get_name</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
651
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name part of CTL element identifier of a CTL element id/value. <a href="#g41f7b182736c872a50fdd714edfd5ba9"></a><br></td></tr>
652
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g535b0e86794a622df878b486726a2ea3">snd_ctl_elem_value_get_index</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
654
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get index part of CTL element identifier of a CTL element id/value. <a href="#g535b0e86794a622df878b486726a2ea3"></a><br></td></tr>
655
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6070520e0dcc351695286e351dc916e5">snd_ctl_elem_value_set_id</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *ptr)</td></tr>
657
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set CTL element identifier of a CTL element id/value. <a href="#g6070520e0dcc351695286e351dc916e5"></a><br></td></tr>
658
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge2a0f80b2178e1fda125b3fb3887d178">snd_ctl_elem_value_set_numid</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int val)</td></tr>
660
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set element numeric identifier of a CTL element id/value. <a href="#ge2a0f80b2178e1fda125b3fb3887d178"></a><br></td></tr>
661
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8778107f14238291a0543654e6a6da38">snd_ctl_elem_value_set_interface</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, <a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> val)</td></tr>
663
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set interface part of CTL element identifier of a CTL element id/value. <a href="#g8778107f14238291a0543654e6a6da38"></a><br></td></tr>
664
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g922b8ffbb30558d27d9e6a0de051378d">snd_ctl_elem_value_set_device</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int val)</td></tr>
666
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set device part of CTL element identifier of a CTL element id/value. <a href="#g922b8ffbb30558d27d9e6a0de051378d"></a><br></td></tr>
667
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g37f8b73d4008f89bbe7834489892631b">snd_ctl_elem_value_set_subdevice</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int val)</td></tr>
669
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set subdevice part of CTL element identifier of a CTL element id/value. <a href="#g37f8b73d4008f89bbe7834489892631b"></a><br></td></tr>
670
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8a7a0c293fdeb1d14cbf30accba7d1ad">snd_ctl_elem_value_set_name</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, const char *val)</td></tr>
672
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set name part of CTL element identifier of a CTL element id/value. <a href="#g8a7a0c293fdeb1d14cbf30accba7d1ad"></a><br></td></tr>
673
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g3bde7108993d9b1c2d1510e637bf0f4f">snd_ctl_elem_value_set_index</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int val)</td></tr>
675
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set index part of CTL element identifier of a CTL element id/value. <a href="#g3bde7108993d9b1c2d1510e637bf0f4f"></a><br></td></tr>
676
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gadd47e172ad34d05755fe1afd8416d27">snd_ctl_elem_value_get_boolean</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx)</td></tr>
678
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4">SND_CTL_ELEM_TYPE_BOOLEAN</a> CTL element id/value. <a href="#gadd47e172ad34d05755fe1afd8416d27"></a><br></td></tr>
679
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g73ff1d238343915fb9d62409f8df3783">snd_ctl_elem_value_get_integer</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx)</td></tr>
681
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/value. <a href="#g73ff1d238343915fb9d62409f8df3783"></a><br></td></tr>
682
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">long long </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5f8a265048dfdb0714dd9024e61a21e3">snd_ctl_elem_value_get_integer64</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx)</td></tr>
684
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/value. <a href="#g5f8a265048dfdb0714dd9024e61a21e3"></a><br></td></tr>
685
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge3b6ba60e2cf929bf3855b0ab18a4390">snd_ctl_elem_value_get_enumerated</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx)</td></tr>
687
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/value. <a href="#ge3b6ba60e2cf929bf3855b0ab18a4390"></a><br></td></tr>
688
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g97efeace200471537ea8bafe7cfe36b7">snd_ctl_elem_value_get_byte</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx)</td></tr>
690
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value. <a href="#g97efeace200471537ea8bafe7cfe36b7"></a><br></td></tr>
691
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#geee67da1e0a81de558888e598743f77d">snd_ctl_elem_value_set_boolean</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx, long val)</td></tr>
693
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4">SND_CTL_ELEM_TYPE_BOOLEAN</a> CTL element id/value. <a href="#geee67da1e0a81de558888e598743f77d"></a><br></td></tr>
694
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g45a2fbcb38fe08f96de8698abf2eb3e1">snd_ctl_elem_value_set_integer</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx, long val)</td></tr>
696
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/value. <a href="#g45a2fbcb38fe08f96de8698abf2eb3e1"></a><br></td></tr>
697
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5a23df6e5d7aa377ba83efd554aabb94">snd_ctl_elem_value_set_integer64</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx, long long val)</td></tr>
699
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/value. <a href="#g5a23df6e5d7aa377ba83efd554aabb94"></a><br></td></tr>
700
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2ccf6266e20bd40667c8fe0235776256">snd_ctl_elem_value_set_enumerated</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx, unsigned int val)</td></tr>
702
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/value. <a href="#g2ccf6266e20bd40667c8fe0235776256"></a><br></td></tr>
703
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g754508fc23a35cadc3feb57afa6e63c3">snd_ctl_elem_value_set_byte</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, unsigned int idx, unsigned char val)</td></tr>
705
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value. <a href="#g754508fc23a35cadc3feb57afa6e63c3"></a><br></td></tr>
706
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g3b667e7979680cd2cf25ba498e538601">snd_ctl_elem_set_bytes</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, void *data, size_t size)</td></tr>
708
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set CTL element <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> value. <a href="#g3b667e7979680cd2cf25ba498e538601"></a><br></td></tr>
709
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g17f2c9b0e264468530a75c56af00e9e1">snd_ctl_elem_value_get_bytes</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj)</td></tr>
711
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value. <a href="#g17f2c9b0e264468530a75c56af00e9e1"></a><br></td></tr>
712
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5f4c28cfcd2ca949511e190708e502f3">snd_ctl_elem_value_get_iec958</a> (const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> *ptr)</td></tr>
714
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a> CTL element id/value. <a href="#g5f4c28cfcd2ca949511e190708e502f3"></a><br></td></tr>
715
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gdd615358e66598afc67f22a73ce6226f">snd_ctl_elem_value_set_iec958</a> (<a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *obj, const <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> *ptr)</td></tr>
717
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a> CTL element id/value. <a href="#gdd615358e66598afc67f22a73ce6226f"></a><br></td></tr>
718
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf898227141d761cb364068dc853f44d8">snd_tlv_parse_dB_info</a> (unsigned int *tlv, unsigned int tlv_size, unsigned int **db_tlvp)</td></tr>
720
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse TLV stream and retrieve dB information. <a href="#gf898227141d761cb364068dc853f44d8"></a><br></td></tr>
721
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g76f3f99eeb0890aa9216afb33cb9c381">snd_tlv_get_dB_range</a> (unsigned int *tlv, long rangemin, long rangemax, long *min, long *max)</td></tr>
723
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the dB min/max values. <a href="#g76f3f99eeb0890aa9216afb33cb9c381"></a><br></td></tr>
724
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g80e50c16b309e410fdfc7e7ba6a5b3f4">snd_tlv_convert_to_dB</a> (unsigned int *tlv, long rangemin, long rangemax, long volume, long *db_gain)</td></tr>
726
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the given raw volume value to a dB gain. <a href="#g80e50c16b309e410fdfc7e7ba6a5b3f4"></a><br></td></tr>
727
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb3880fdd033f5f93174ead930b7bdf6d">snd_tlv_convert_from_dB</a> (unsigned int *tlv, long rangemin, long rangemax, long db_gain, long *value, int xdir)</td></tr>
729
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert from dB gain to the corresponding raw value. <a href="#gb3880fdd033f5f93174ead930b7bdf6d"></a><br></td></tr>
730
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1fabb04772efb2ea2c07ac1eed4764ae">snd_ctl_get_dB_range</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, long *min, long *max)</td></tr>
732
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the dB min/max values on the given control element. <a href="#g1fabb04772efb2ea2c07ac1eed4764ae"></a><br></td></tr>
733
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g11dfbbc8686e67ebb3c7b96afe371ac0">snd_ctl_convert_to_dB</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, long volume, long *db_gain)</td></tr>
735
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the volume value to dB on the given control element. <a href="#g11dfbbc8686e67ebb3c7b96afe371ac0"></a><br></td></tr>
736
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc9dae50da43354d955cba7859d419e75">snd_ctl_convert_from_dB</a> (<a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *ctl, const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *id, long db_gain, long *value, int xdir)</td></tr>
738
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert from dB gain to the raw volume value on the given control element. <a href="#gc9dae50da43354d955cba7859d419e75"></a><br></td></tr>
740
<hr><a name="_details"></a><h2>Detailed Description</h2>
741
The control interface. See <a class="el" href="control.html">Control interface</a> page for more details. <hr><h2>Define Documentation</h2>
742
<a class="anchor" name="gea32c77baf04f60abff1110417418f8f"></a><!-- doxytag: member="control.h::SND_CONTROL_DLSYM_VERSION" ref="gea32c77baf04f60abff1110417418f8f" args="" -->
743
<div class="memitem">
744
<div class="memproto">
745
<table class="memname">
747
<td class="memname">#define SND_CONTROL_DLSYM_VERSION _dlsym_control_001 </td>
754
dlsym version for interface entry callback
757
<a class="anchor" name="g65f5927f20d2ee013b69b6df7f0f4087"></a><!-- doxytag: member="control.h::SND_CTL_ASYNC" ref="g65f5927f20d2ee013b69b6df7f0f4087" args="" -->
758
</p><div class="memitem">
759
<div class="memproto">
760
<table class="memname">
762
<td class="memname">#define SND_CTL_ASYNC </td>
769
Async notification (flag for open mode)
772
<a class="anchor" name="g1eb001c45296218a2db4c2830f1deb98"></a><!-- doxytag: member="control.h::snd_ctl_card_info_alloca" ref="g1eb001c45296218a2db4c2830f1deb98" args="(ptr)" -->
773
</p><div class="memitem">
774
<div class="memproto">
775
<table class="memname">
777
<td class="memname">#define snd_ctl_card_info_alloca </td>
779
<td class="paramtype">ptr </td>
780
<td class="paramname"> <br>
782
<td> ) </td>
783
<td width="100%"><br>
791
allocate an invalid <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> using standard alloca
793
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
794
<table border="0" cellpadding="0" cellspacing="2">
795
<tbody><tr><td valign="top"><br>
796
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
802
<a class="anchor" name="g85dc8bfb083e0ffea71aa5b03e058699"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_alloca" ref="g85dc8bfb083e0ffea71aa5b03e058699" args="(ptr)" -->
803
</p><div class="memitem">
804
<div class="memproto">
805
<table class="memname">
807
<td class="memname">#define snd_ctl_elem_id_alloca </td>
809
<td class="paramtype">ptr </td>
810
<td class="paramname"> <br>
812
<td> ) </td>
813
<td width="100%"><br>
821
allocate an invalid <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> using standard alloca
823
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
824
<table border="0" cellpadding="0" cellspacing="2">
825
<tbody><tr><td valign="top"><br>
826
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
832
<a class="anchor" name="g4763532de8046f84c0d9494cd209d885"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_alloca" ref="g4763532de8046f84c0d9494cd209d885" args="(ptr)" -->
833
</p><div class="memitem">
834
<div class="memproto">
835
<table class="memname">
837
<td class="memname">#define snd_ctl_elem_info_alloca </td>
839
<td class="paramtype">ptr </td>
840
<td class="paramname"> <br>
842
<td> ) </td>
843
<td width="100%"><br>
851
allocate an invalid <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> using standard alloca
853
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
854
<table border="0" cellpadding="0" cellspacing="2">
855
<tbody><tr><td valign="top"><br>
856
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
862
<a class="anchor" name="g7facaf005846bdd7f145d9c807be3189"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_alloca" ref="g7facaf005846bdd7f145d9c807be3189" args="(ptr)" -->
863
</p><div class="memitem">
864
<div class="memproto">
865
<table class="memname">
867
<td class="memname">#define snd_ctl_elem_list_alloca </td>
869
<td class="paramtype">ptr </td>
870
<td class="paramname"> <br>
872
<td> ) </td>
873
<td width="100%"><br>
881
allocate an invalid <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> using standard alloca
883
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
884
<table border="0" cellpadding="0" cellspacing="2">
885
<tbody><tr><td valign="top"><br>
886
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
892
<a class="anchor" name="g6e4c8a7a9c7bbeacb7bc3997b2b86acf"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_alloca" ref="g6e4c8a7a9c7bbeacb7bc3997b2b86acf" args="(ptr)" -->
893
</p><div class="memitem">
894
<div class="memproto">
895
<table class="memname">
897
<td class="memname">#define snd_ctl_elem_value_alloca </td>
899
<td class="paramtype">ptr </td>
900
<td class="paramname"> <br>
902
<td> ) </td>
903
<td width="100%"><br>
911
allocate an invalid <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> using standard alloca
913
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
914
<table border="0" cellpadding="0" cellspacing="2">
915
<tbody><tr><td valign="top"><br>
916
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
922
<a class="anchor" name="g8a80fddea66dd980ef5dd22d88296a65"></a><!-- doxytag: member="control.h::snd_ctl_event_alloca" ref="g8a80fddea66dd980ef5dd22d88296a65" args="(ptr)" -->
923
</p><div class="memitem">
924
<div class="memproto">
925
<table class="memname">
927
<td class="memname">#define snd_ctl_event_alloca </td>
929
<td class="paramtype">ptr </td>
930
<td class="paramname"> <br>
932
<td> ) </td>
933
<td width="100%"><br>
941
allocate an invalid <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> using standard alloca
943
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
944
<table border="0" cellpadding="0" cellspacing="2">
945
<tbody><tr><td valign="top"><br>
946
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
952
<a class="anchor" name="g5363f66de356e642df58ea13a98dc515"></a><!-- doxytag: member="control.h::SND_CTL_EVENT_MASK_ADD" ref="g5363f66de356e642df58ea13a98dc515" args="" -->
953
</p><div class="memitem">
954
<div class="memproto">
955
<table class="memname">
957
<td class="memname">#define SND_CTL_EVENT_MASK_ADD </td>
964
Element has been added
967
<a class="anchor" name="ge1073645081fac21ef7ed8cbb83273e4"></a><!-- doxytag: member="control.h::SND_CTL_EVENT_MASK_INFO" ref="ge1073645081fac21ef7ed8cbb83273e4" args="" -->
968
</p><div class="memitem">
969
<div class="memproto">
970
<table class="memname">
972
<td class="memname">#define SND_CTL_EVENT_MASK_INFO </td>
979
Element info has been changed
982
<a class="anchor" name="gcce091d3716682bc23d8a4b833e434fa"></a><!-- doxytag: member="control.h::SND_CTL_EVENT_MASK_REMOVE" ref="gcce091d3716682bc23d8a4b833e434fa" args="" -->
983
</p><div class="memitem">
984
<div class="memproto">
985
<table class="memname">
987
<td class="memname">#define SND_CTL_EVENT_MASK_REMOVE </td>
994
Element has been removed (Warning: test this first and if set don't test the other masks)
997
<a class="anchor" name="gfc7f39f40b7fa92b6fe52ddd4faa2669"></a><!-- doxytag: member="control.h::SND_CTL_EVENT_MASK_TLV" ref="gfc7f39f40b7fa92b6fe52ddd4faa2669" args="" -->
998
</p><div class="memitem">
999
<div class="memproto">
1000
<table class="memname">
1002
<td class="memname">#define SND_CTL_EVENT_MASK_TLV </td>
1006
<div class="memdoc">
1009
Element's TLV value has been changed
1012
<a class="anchor" name="gf8c94abcf943d3070a418659bd288a64"></a><!-- doxytag: member="control.h::SND_CTL_EVENT_MASK_VALUE" ref="gf8c94abcf943d3070a418659bd288a64" args="" -->
1013
</p><div class="memitem">
1014
<div class="memproto">
1015
<table class="memname">
1017
<td class="memname">#define SND_CTL_EVENT_MASK_VALUE </td>
1021
<div class="memdoc">
1024
Element value has been changed
1027
<a class="anchor" name="gc097f557ebca454d28cd3907603fc200"></a><!-- doxytag: member="control.h::SND_CTL_NAME_CAPTURE" ref="gc097f557ebca454d28cd3907603fc200" args="" -->
1028
</p><div class="memitem">
1029
<div class="memproto">
1030
<table class="memname">
1032
<td class="memname">#define SND_CTL_NAME_CAPTURE "Capture " </td>
1036
<div class="memdoc">
1042
<a class="anchor" name="g550f0a9f82752dbd734aba9867c7f13a"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958" ref="g550f0a9f82752dbd734aba9867c7f13a" args="(expl, direction, what)" -->
1043
</p><div class="memitem">
1044
<div class="memproto">
1045
<table class="memname">
1047
<td class="memname">#define SND_CTL_NAME_IEC958 </td>
1049
<td class="paramtype">expl, </td></tr><tr>
1050
<td class="paramkey"><br>
1054
<td class="paramtype">direction, </td></tr><tr>
1055
<td class="paramkey"><br>
1059
<td class="paramtype">what </td>
1060
<td class="paramname"> <br>
1062
<td> ) </td>
1063
<td width="100%"> "IEC958 " expl SND_CTL_NAME_##direction SND_CTL_NAME_IEC958_##what</td>
1067
<div class="memdoc">
1070
Element name for IEC958 (S/PDIF)
1073
<a class="anchor" name="gbf9d999dde40d6ab9a350d8f1eefb5a7"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_CON_MASK" ref="gbf9d999dde40d6ab9a350d8f1eefb5a7" args="" -->
1074
</p><div class="memitem">
1075
<div class="memproto">
1076
<table class="memname">
1078
<td class="memname">#define SND_CTL_NAME_IEC958_CON_MASK "Con Mask" </td>
1082
<div class="memdoc">
1088
<a class="anchor" name="g02ecf52b94a5b92530efcf9940b25848"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_DEFAULT" ref="g02ecf52b94a5b92530efcf9940b25848" args="" -->
1089
</p><div class="memitem">
1090
<div class="memproto">
1091
<table class="memname">
1093
<td class="memname">#define SND_CTL_NAME_IEC958_DEFAULT "Default" </td>
1097
<div class="memdoc">
1103
<a class="anchor" name="gf3365b35cc6bf28f6a18fd52487b9faa"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_MASK" ref="gf3365b35cc6bf28f6a18fd52487b9faa" args="" -->
1104
</p><div class="memitem">
1105
<div class="memproto">
1106
<table class="memname">
1108
<td class="memname">#define SND_CTL_NAME_IEC958_MASK "Mask" </td>
1112
<div class="memdoc">
1118
<a class="anchor" name="gd85a2fd8ac70ef9920e51429c295dbb6"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_NONE" ref="gd85a2fd8ac70ef9920e51429c295dbb6" args="" -->
1119
</p><div class="memitem">
1120
<div class="memproto">
1121
<table class="memname">
1123
<td class="memname">#define SND_CTL_NAME_IEC958_NONE "" </td>
1127
<div class="memdoc">
1133
<a class="anchor" name="g1959631668e7d6a6c5fadfab63fcbc74"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_PCM_STREAM" ref="g1959631668e7d6a6c5fadfab63fcbc74" args="" -->
1134
</p><div class="memitem">
1135
<div class="memproto">
1136
<table class="memname">
1138
<td class="memname">#define SND_CTL_NAME_IEC958_PCM_STREAM "PCM Stream" </td>
1142
<div class="memdoc">
1148
<a class="anchor" name="ge2016f5bf0d3f832300b89647b4cd2d0"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_PRO_MASK" ref="ge2016f5bf0d3f832300b89647b4cd2d0" args="" -->
1149
</p><div class="memitem">
1150
<div class="memproto">
1151
<table class="memname">
1153
<td class="memname">#define SND_CTL_NAME_IEC958_PRO_MASK "Pro Mask" </td>
1157
<div class="memdoc">
1163
<a class="anchor" name="g5e80fb8074f4c46c20bd8643d4bd8f01"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_SWITCH" ref="g5e80fb8074f4c46c20bd8643d4bd8f01" args="" -->
1164
</p><div class="memitem">
1165
<div class="memproto">
1166
<table class="memname">
1168
<td class="memname">#define SND_CTL_NAME_IEC958_SWITCH "Switch" </td>
1172
<div class="memdoc">
1178
<a class="anchor" name="g110db3b82547b9adc68d7bddf5753429"></a><!-- doxytag: member="control.h::SND_CTL_NAME_IEC958_VOLUME" ref="g110db3b82547b9adc68d7bddf5753429" args="" -->
1179
</p><div class="memitem">
1180
<div class="memproto">
1181
<table class="memname">
1183
<td class="memname">#define SND_CTL_NAME_IEC958_VOLUME "Volume" </td>
1187
<div class="memdoc">
1193
<a class="anchor" name="gca2e910ff41920fdfd7d3438d25efe4f"></a><!-- doxytag: member="control.h::SND_CTL_NAME_NONE" ref="gca2e910ff41920fdfd7d3438d25efe4f" args="" -->
1194
</p><div class="memitem">
1195
<div class="memproto">
1196
<table class="memname">
1198
<td class="memname">#define SND_CTL_NAME_NONE "" </td>
1202
<div class="memdoc">
1208
<a class="anchor" name="gee78f26ebd61724f63de752daf9fb5b7"></a><!-- doxytag: member="control.h::SND_CTL_NAME_PLAYBACK" ref="gee78f26ebd61724f63de752daf9fb5b7" args="" -->
1209
</p><div class="memitem">
1210
<div class="memproto">
1211
<table class="memname">
1213
<td class="memname">#define SND_CTL_NAME_PLAYBACK "Playback " </td>
1217
<div class="memdoc">
1223
<a class="anchor" name="g5586bc148cc719502294277c91a89ff5"></a><!-- doxytag: member="control.h::SND_CTL_NONBLOCK" ref="g5586bc148cc719502294277c91a89ff5" args="" -->
1224
</p><div class="memitem">
1225
<div class="memproto">
1226
<table class="memname">
1228
<td class="memname">#define SND_CTL_NONBLOCK </td>
1232
<div class="memdoc">
1235
Non blocking mode (flag for open mode)
1238
<a class="anchor" name="gfad188663bcc3090a8107c498cfbf5d0"></a><!-- doxytag: member="control.h::SND_CTL_POWER_D0" ref="gfad188663bcc3090a8107c498cfbf5d0" args="" -->
1239
</p><div class="memitem">
1240
<div class="memproto">
1241
<table class="memname">
1243
<td class="memname">#define SND_CTL_POWER_D0 0x0000 </td>
1247
<div class="memdoc">
1250
ACPI/PCI Power State D0
1253
<a class="anchor" name="g35265befb4535956714be32920c78297"></a><!-- doxytag: member="control.h::SND_CTL_POWER_D1" ref="g35265befb4535956714be32920c78297" args="" -->
1254
</p><div class="memitem">
1255
<div class="memproto">
1256
<table class="memname">
1258
<td class="memname">#define SND_CTL_POWER_D1 0x0100 </td>
1262
<div class="memdoc">
1265
ACPI/PCI Power State D1
1268
<a class="anchor" name="gb95e3b2ea61fe588199bda3a1f2d26b7"></a><!-- doxytag: member="control.h::SND_CTL_POWER_D2" ref="gb95e3b2ea61fe588199bda3a1f2d26b7" args="" -->
1269
</p><div class="memitem">
1270
<div class="memproto">
1271
<table class="memname">
1273
<td class="memname">#define SND_CTL_POWER_D2 0x0200 </td>
1277
<div class="memdoc">
1280
ACPI/PCI Power State D2
1283
<a class="anchor" name="g0c7be51e842ea5333a51d35dcba84ddd"></a><!-- doxytag: member="control.h::SND_CTL_POWER_D3" ref="g0c7be51e842ea5333a51d35dcba84ddd" args="" -->
1284
</p><div class="memitem">
1285
<div class="memproto">
1286
<table class="memname">
1288
<td class="memname">#define SND_CTL_POWER_D3 0x0300 </td>
1292
<div class="memdoc">
1295
ACPI/PCI Power State D3
1298
<a class="anchor" name="gb53b48e8ca639180c707b645af65337f"></a><!-- doxytag: member="control.h::SND_CTL_POWER_D3cold" ref="gb53b48e8ca639180c707b645af65337f" args="" -->
1299
</p><div class="memitem">
1300
<div class="memproto">
1301
<table class="memname">
1303
<td class="memname">#define SND_CTL_POWER_D3cold (SND_CTL_POWER_D3|0x0001) </td>
1307
<div class="memdoc">
1310
ACPI/PCI Power State D3cold
1313
<a class="anchor" name="gd84936642becf3077092ea48bb64ebda"></a><!-- doxytag: member="control.h::SND_CTL_POWER_D3hot" ref="gd84936642becf3077092ea48bb64ebda" args="" -->
1314
</p><div class="memitem">
1315
<div class="memproto">
1316
<table class="memname">
1318
<td class="memname">#define SND_CTL_POWER_D3hot (SND_CTL_POWER_D3|0x0000) </td>
1322
<div class="memdoc">
1325
ACPI/PCI Power State D3hot
1328
<a class="anchor" name="g1095126a9c336ab8649f77664b84ffed"></a><!-- doxytag: member="control.h::SND_CTL_POWER_MASK" ref="g1095126a9c336ab8649f77664b84ffed" args="" -->
1329
</p><div class="memitem">
1330
<div class="memproto">
1331
<table class="memname">
1333
<td class="memname">#define SND_CTL_POWER_MASK 0xff00 </td>
1337
<div class="memdoc">
1340
Mask for the major Power State identifier
1343
<a class="anchor" name="g73d8edc6cb2b5fa6a3064f93876659cb"></a><!-- doxytag: member="control.h::SND_CTL_READONLY" ref="g73d8edc6cb2b5fa6a3064f93876659cb" args="" -->
1344
</p><div class="memitem">
1345
<div class="memproto">
1346
<table class="memname">
1348
<td class="memname">#define SND_CTL_READONLY </td>
1352
<div class="memdoc">
1355
Read only (flag for open mode)
1358
<a class="anchor" name="g2acc958ac36458dc2498a2450edb2811"></a><!-- doxytag: member="control.h::SND_CTL_TLV_DB_GAIN_MUTE" ref="g2acc958ac36458dc2498a2450edb2811" args="" -->
1359
</p><div class="memitem">
1360
<div class="memproto">
1361
<table class="memname">
1363
<td class="memname">#define SND_CTL_TLV_DB_GAIN_MUTE -9999999 </td>
1367
<div class="memdoc">
1373
<a class="anchor" name="g145cd2efa9ac984bf0d49c4493627e68"></a><!-- doxytag: member="control.h::SND_CTL_TLVT_CONTAINER" ref="g145cd2efa9ac984bf0d49c4493627e68" args="" -->
1374
</p><div class="memitem">
1375
<div class="memproto">
1376
<table class="memname">
1378
<td class="memname">#define SND_CTL_TLVT_CONTAINER 0x0000 </td>
1382
<div class="memdoc">
1385
TLV type - Container
1388
<a class="anchor" name="g060162fb7e452b4f67f6b1e467d22e14"></a><!-- doxytag: member="control.h::SND_CTL_TLVT_DB_LINEAR" ref="g060162fb7e452b4f67f6b1e467d22e14" args="" -->
1389
</p><div class="memitem">
1390
<div class="memproto">
1391
<table class="memname">
1393
<td class="memname">#define SND_CTL_TLVT_DB_LINEAR 0x0002 </td>
1397
<div class="memdoc">
1400
TLV type - linear volume
1403
<a class="anchor" name="ged16bd0b1f1a47b2bb5d487114042ab4"></a><!-- doxytag: member="control.h::SND_CTL_TLVT_DB_MINMAX" ref="ged16bd0b1f1a47b2bb5d487114042ab4" args="" -->
1404
</p><div class="memitem">
1405
<div class="memproto">
1406
<table class="memname">
1408
<td class="memname">#define SND_CTL_TLVT_DB_MINMAX 0x0004 </td>
1412
<div class="memdoc">
1415
TLV type - dB scale specified by min/max values
1418
<a class="anchor" name="g7243a4a717258108d1ab2eb8db2b6f50"></a><!-- doxytag: member="control.h::SND_CTL_TLVT_DB_MINMAX_MUTE" ref="g7243a4a717258108d1ab2eb8db2b6f50" args="" -->
1419
</p><div class="memitem">
1420
<div class="memproto">
1421
<table class="memname">
1423
<td class="memname">#define SND_CTL_TLVT_DB_MINMAX_MUTE 0x0005 </td>
1427
<div class="memdoc">
1430
TLV type - dB scale specified by min/max values (with mute)
1433
<a class="anchor" name="g255317561a4762dce4f50a10f77884f8"></a><!-- doxytag: member="control.h::SND_CTL_TLVT_DB_RANGE" ref="g255317561a4762dce4f50a10f77884f8" args="" -->
1434
</p><div class="memitem">
1435
<div class="memproto">
1436
<table class="memname">
1438
<td class="memname">#define SND_CTL_TLVT_DB_RANGE 0x0003 </td>
1442
<div class="memdoc">
1445
TLV type - dB range container
1448
<a class="anchor" name="g2039eb986a4376cc0c416c75a4e08e2d"></a><!-- doxytag: member="control.h::SND_CTL_TLVT_DB_SCALE" ref="g2039eb986a4376cc0c416c75a4e08e2d" args="" -->
1449
</p><div class="memitem">
1450
<div class="memproto">
1451
<table class="memname">
1453
<td class="memname">#define SND_CTL_TLVT_DB_SCALE 0x0001 </td>
1457
<div class="memdoc">
1460
TLV type - basic dB scale
1463
<a class="anchor" name="ge29b38562448b38dc36af5b6ca027536"></a><!-- doxytag: member="control.h::SND_SCTL_NOFREE" ref="ge29b38562448b38dc36af5b6ca027536" args="" -->
1464
</p><div class="memitem">
1465
<div class="memproto">
1466
<table class="memname">
1468
<td class="memname">#define SND_SCTL_NOFREE 0x0001 </td>
1472
<div class="memdoc">
1475
Don't destroy the ctl handle when close
1478
</p><hr><h2>Typedef Documentation</h2>
1479
<a class="anchor" name="g9da73cdacfd94eaa6863cea72f978ddf"></a><!-- doxytag: member="control.h::snd_aes_iec958_t" ref="g9da73cdacfd94eaa6863cea72f978ddf" args="" -->
1480
<div class="memitem">
1481
<div class="memproto">
1482
<table class="memname">
1484
<td class="memname">typedef struct <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958</a> <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> </td>
1488
<div class="memdoc">
1494
<a class="anchor" name="gc498d3243ca485b815030b27cd0f1fa0"></a><!-- doxytag: member="control.h::snd_ctl_card_info_t" ref="gc498d3243ca485b815030b27cd0f1fa0" args="" -->
1495
</p><div class="memitem">
1496
<div class="memproto">
1497
<table class="memname">
1499
<td class="memname">typedef struct _snd_ctl_card_info <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> </td>
1503
<div class="memdoc">
1506
CTL card info container
1509
<a class="anchor" name="gd91a3e04a25060e07917389417d474e4"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_t" ref="gd91a3e04a25060e07917389417d474e4" args="" -->
1510
</p><div class="memitem">
1511
<div class="memproto">
1512
<table class="memname">
1514
<td class="memname">typedef struct _snd_ctl_elem_id <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> </td>
1518
<div class="memdoc">
1521
CTL element identifier container
1524
<a class="anchor" name="gefabc042466e044251ea9990c94d46a6"></a><!-- doxytag: member="control.h::snd_ctl_elem_iface_t" ref="gefabc042466e044251ea9990c94d46a6" args="" -->
1525
</p><div class="memitem">
1526
<div class="memproto">
1527
<table class="memname">
1529
<td class="memname">typedef enum <a class="el" href="group___control.html#gcad203f0331afeeadcb127e8a367a06b">_snd_ctl_elem_iface</a> <a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td>
1533
<div class="memdoc">
1536
CTL related interface
1539
<a class="anchor" name="g193d353c937d7b639784d4cd7c7005d7"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_t" ref="g193d353c937d7b639784d4cd7c7005d7" args="" -->
1540
</p><div class="memitem">
1541
<div class="memproto">
1542
<table class="memname">
1544
<td class="memname">typedef struct _snd_ctl_elem_info <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> </td>
1548
<div class="memdoc">
1551
CTL element info container
1554
<a class="anchor" name="gd174599b3b161f363531def722fa72c9"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_t" ref="gd174599b3b161f363531def722fa72c9" args="" -->
1555
</p><div class="memitem">
1556
<div class="memproto">
1557
<table class="memname">
1559
<td class="memname">typedef struct _snd_ctl_elem_list <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> </td>
1563
<div class="memdoc">
1566
CTL element identifier list container
1569
<a class="anchor" name="g8b0f958478e42ae386d4812de9f557e8"></a><!-- doxytag: member="control.h::snd_ctl_elem_type_t" ref="g8b0f958478e42ae386d4812de9f557e8" args="" -->
1570
</p><div class="memitem">
1571
<div class="memproto">
1572
<table class="memname">
1574
<td class="memname">typedef enum <a class="el" href="group___control.html#g687044a5222c1292cca47941081e3147">_snd_ctl_elem_type</a> <a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a> </td>
1578
<div class="memdoc">
1584
<a class="anchor" name="gdd89a5786a02a3f42d579c064c15221c"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_t" ref="gdd89a5786a02a3f42d579c064c15221c" args="" -->
1585
</p><div class="memitem">
1586
<div class="memproto">
1587
<table class="memname">
1589
<td class="memname">typedef struct _snd_ctl_elem_value <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> </td>
1593
<div class="memdoc">
1596
CTL element value container
1599
<a class="anchor" name="gf57af9a15a9a226825a7814a1c473a16"></a><!-- doxytag: member="control.h::snd_ctl_event_t" ref="gf57af9a15a9a226825a7814a1c473a16" args="" -->
1600
</p><div class="memitem">
1601
<div class="memproto">
1602
<table class="memname">
1604
<td class="memname">typedef struct _snd_ctl_event <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> </td>
1608
<div class="memdoc">
1614
<a class="anchor" name="geb316edaa7cbf04002c7539e653e1062"></a><!-- doxytag: member="control.h::snd_ctl_event_type_t" ref="geb316edaa7cbf04002c7539e653e1062" args="" -->
1615
</p><div class="memitem">
1616
<div class="memproto">
1617
<table class="memname">
1619
<td class="memname">typedef enum <a class="el" href="group___control.html#g36f1fdb68b0243d8fc6642620008dad9">_snd_ctl_event_type</a> <a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a> </td>
1623
<div class="memdoc">
1629
<a class="anchor" name="g6fef7f4892f9960f41ead15ef8994aa0"></a><!-- doxytag: member="control.h::snd_ctl_t" ref="g6fef7f4892f9960f41ead15ef8994aa0" args="" -->
1630
</p><div class="memitem">
1631
<div class="memproto">
1632
<table class="memname">
1634
<td class="memname">typedef struct _snd_ctl <a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> </td>
1638
<div class="memdoc">
1644
<a class="anchor" name="g7a2cbe28de2a12d5dbb22c5756e33dd1"></a><!-- doxytag: member="control.h::snd_ctl_type_t" ref="g7a2cbe28de2a12d5dbb22c5756e33dd1" args="" -->
1645
</p><div class="memitem">
1646
<div class="memproto">
1647
<table class="memname">
1649
<td class="memname">typedef enum <a class="el" href="group___control.html#g2db031e865355606639c5ec065711e78">_snd_ctl_type</a> <a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a> </td>
1653
<div class="memdoc">
1659
<a class="anchor" name="g69ede2c8eae4a6b5bd174be1e38ccf69"></a><!-- doxytag: member="control.h::snd_sctl_t" ref="g69ede2c8eae4a6b5bd174be1e38ccf69" args="" -->
1660
</p><div class="memitem">
1661
<div class="memproto">
1662
<table class="memname">
1664
<td class="memname">typedef struct _snd_sctl <a class="el" href="group___control.html#g69ede2c8eae4a6b5bd174be1e38ccf69">snd_sctl_t</a> </td>
1668
<div class="memdoc">
1674
</p><hr><h2>Enumeration Type Documentation</h2>
1675
<a class="anchor" name="gcad203f0331afeeadcb127e8a367a06b"></a><!-- doxytag: member="control.h::_snd_ctl_elem_iface" ref="gcad203f0331afeeadcb127e8a367a06b" args="" -->
1676
<div class="memitem">
1677
<div class="memproto">
1678
<table class="memname">
1680
<td class="memname">enum <a class="el" href="group___control.html#gcad203f0331afeeadcb127e8a367a06b">_snd_ctl_elem_iface</a> </td>
1684
<div class="memdoc">
1687
CTL related interface </p><dl compact="compact"><dt><b>Enumerator: </b></dt><dd>
1688
<table border="0" cellpadding="0" cellspacing="2">
1689
<tbody><tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06bd352f7119ede3a5598aac10ae77da18a"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_CARD" ref="ggcad203f0331afeeadcb127e8a367a06bd352f7119ede3a5598aac10ae77da18a" args="" -->SND_CTL_ELEM_IFACE_CARD</em> </td><td>
1690
Card level </td></tr>
1691
<tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06baa6a128d104f13245cc1337edd7bed15"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_HWDEP" ref="ggcad203f0331afeeadcb127e8a367a06baa6a128d104f13245cc1337edd7bed15" args="" -->SND_CTL_ELEM_IFACE_HWDEP</em> </td><td>
1692
Hardware dependent device </td></tr>
1693
<tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06b396c56a422856d89e634708eb1513a26"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_MIXER" ref="ggcad203f0331afeeadcb127e8a367a06b396c56a422856d89e634708eb1513a26" args="" -->SND_CTL_ELEM_IFACE_MIXER</em> </td><td>
1695
<tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06b60af44ed4d90dede9df5611138c8dd8d"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_PCM" ref="ggcad203f0331afeeadcb127e8a367a06b60af44ed4d90dede9df5611138c8dd8d" args="" -->SND_CTL_ELEM_IFACE_PCM</em> </td><td>
1697
<tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06b0bc1d02da142375e2744364768cfadc1"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_RAWMIDI" ref="ggcad203f0331afeeadcb127e8a367a06b0bc1d02da142375e2744364768cfadc1" args="" -->SND_CTL_ELEM_IFACE_RAWMIDI</em> </td><td>
1699
<tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06b97aea086b81ab92a5d587df62436056f"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_TIMER" ref="ggcad203f0331afeeadcb127e8a367a06b97aea086b81ab92a5d587df62436056f" args="" -->SND_CTL_ELEM_IFACE_TIMER</em> </td><td>
1701
<tr><td valign="top"><em><a class="anchor" name="ggcad203f0331afeeadcb127e8a367a06bf6837112b9d848b001eb5e6e196a1f9c"></a><!-- doxytag: member="SND_CTL_ELEM_IFACE_SEQUENCER" ref="ggcad203f0331afeeadcb127e8a367a06bf6837112b9d848b001eb5e6e196a1f9c" args="" -->SND_CTL_ELEM_IFACE_SEQUENCER</em> </td><td>
1702
Sequencer </td></tr>
1708
<a class="anchor" name="g687044a5222c1292cca47941081e3147"></a><!-- doxytag: member="control.h::_snd_ctl_elem_type" ref="g687044a5222c1292cca47941081e3147" args="" -->
1709
</p><div class="memitem">
1710
<div class="memproto">
1711
<table class="memname">
1713
<td class="memname">enum <a class="el" href="group___control.html#g687044a5222c1292cca47941081e3147">_snd_ctl_elem_type</a> </td>
1717
<div class="memdoc">
1720
CTL element type </p><dl compact="compact"><dt><b>Enumerator: </b></dt><dd>
1721
<table border="0" cellpadding="0" cellspacing="2">
1722
<tbody><tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e31474a8e5fc1e83f7c800c347c741fa53cfc"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_NONE" ref="gg687044a5222c1292cca47941081e31474a8e5fc1e83f7c800c347c741fa53cfc" args="" -->SND_CTL_ELEM_TYPE_NONE</em> </td><td>
1723
Invalid type </td></tr>
1724
<tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_BOOLEAN" ref="gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4" args="" -->SND_CTL_ELEM_TYPE_BOOLEAN</em> </td><td>
1725
Boolean contents </td></tr>
1726
<tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_INTEGER" ref="gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc" args="" -->SND_CTL_ELEM_TYPE_INTEGER</em> </td><td>
1727
Integer contents </td></tr>
1728
<tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_ENUMERATED" ref="gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67" args="" -->SND_CTL_ELEM_TYPE_ENUMERATED</em> </td><td>
1729
Enumerated contents </td></tr>
1730
<tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_BYTES" ref="gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8" args="" -->SND_CTL_ELEM_TYPE_BYTES</em> </td><td>
1731
Bytes contents </td></tr>
1732
<tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_IEC958" ref="gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca" args="" -->SND_CTL_ELEM_TYPE_IEC958</em> </td><td>
1733
IEC958 (S/PDIF) setting content </td></tr>
1734
<tr><td valign="top"><em><a class="anchor" name="gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4"></a><!-- doxytag: member="SND_CTL_ELEM_TYPE_INTEGER64" ref="gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4" args="" -->SND_CTL_ELEM_TYPE_INTEGER64</em> </td><td>
1735
64-bit integer contents </td></tr>
1741
<a class="anchor" name="g36f1fdb68b0243d8fc6642620008dad9"></a><!-- doxytag: member="control.h::_snd_ctl_event_type" ref="g36f1fdb68b0243d8fc6642620008dad9" args="" -->
1742
</p><div class="memitem">
1743
<div class="memproto">
1744
<table class="memname">
1746
<td class="memname">enum <a class="el" href="group___control.html#g36f1fdb68b0243d8fc6642620008dad9">_snd_ctl_event_type</a> </td>
1750
<div class="memdoc">
1753
Event class </p><dl compact="compact"><dt><b>Enumerator: </b></dt><dd>
1754
<table border="0" cellpadding="0" cellspacing="2">
1755
<tbody><tr><td valign="top"><em><a class="anchor" name="gg36f1fdb68b0243d8fc6642620008dad9dc03168a04b5884b7c8283361033fbb2"></a><!-- doxytag: member="SND_CTL_EVENT_ELEM" ref="gg36f1fdb68b0243d8fc6642620008dad9dc03168a04b5884b7c8283361033fbb2" args="" -->SND_CTL_EVENT_ELEM</em> </td><td>
1756
Elements related event </td></tr>
1762
<a class="anchor" name="g2db031e865355606639c5ec065711e78"></a><!-- doxytag: member="control.h::_snd_ctl_type" ref="g2db031e865355606639c5ec065711e78" args="" -->
1763
</p><div class="memitem">
1764
<div class="memproto">
1765
<table class="memname">
1767
<td class="memname">enum <a class="el" href="group___control.html#g2db031e865355606639c5ec065711e78">_snd_ctl_type</a> </td>
1771
<div class="memdoc">
1774
CTL type </p><dl compact="compact"><dt><b>Enumerator: </b></dt><dd>
1775
<table border="0" cellpadding="0" cellspacing="2">
1776
<tbody><tr><td valign="top"><em><a class="anchor" name="gg2db031e865355606639c5ec065711e7865612b0185e3db34affbd7ed618998a5"></a><!-- doxytag: member="SND_CTL_TYPE_HW" ref="gg2db031e865355606639c5ec065711e7865612b0185e3db34affbd7ed618998a5" args="" -->SND_CTL_TYPE_HW</em> </td><td>
1777
Kernel level CTL </td></tr>
1778
<tr><td valign="top"><em><a class="anchor" name="gg2db031e865355606639c5ec065711e78f6d5a61f37f2d73781e8f260b8b18b2c"></a><!-- doxytag: member="SND_CTL_TYPE_SHM" ref="gg2db031e865355606639c5ec065711e78f6d5a61f37f2d73781e8f260b8b18b2c" args="" -->SND_CTL_TYPE_SHM</em> </td><td>
1779
Shared memory client CTL </td></tr>
1780
<tr><td valign="top"><em><a class="anchor" name="gg2db031e865355606639c5ec065711e780b30171d424d3152fd5630fca5b9ecb4"></a><!-- doxytag: member="SND_CTL_TYPE_INET" ref="gg2db031e865355606639c5ec065711e780b30171d424d3152fd5630fca5b9ecb4" args="" -->SND_CTL_TYPE_INET</em> </td><td>
1781
INET client CTL (not yet implemented) </td></tr>
1782
<tr><td valign="top"><em><a class="anchor" name="gg2db031e865355606639c5ec065711e7838fcc3c51e18162bc085c56cf89a8faa"></a><!-- doxytag: member="SND_CTL_TYPE_EXT" ref="gg2db031e865355606639c5ec065711e7838fcc3c51e18162bc085c56cf89a8faa" args="" -->SND_CTL_TYPE_EXT</em> </td><td>
1783
External control plugin </td></tr>
1789
</p><hr><h2>Function Documentation</h2>
1790
<a class="anchor" name="gc6043c5e6f543bbb370e731f6b99fe38"></a><!-- doxytag: member="control.h::snd_async_add_ctl_handler" ref="gc6043c5e6f543bbb370e731f6b99fe38" args="(snd_async_handler_t **handler, snd_ctl_t *ctl, snd_async_callback_t callback, void *private_data)" -->
1791
<div class="memitem">
1792
<div class="memproto">
1793
<table class="memname">
1795
<td class="memname">int snd_async_add_ctl_handler </td>
1797
<td class="paramtype"><a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> ** </td>
1798
<td class="paramname"> <em>handler</em>, </td>
1801
<td class="paramkey"><br>
1805
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
1806
<td class="paramname"> <em>ctl</em>, </td>
1809
<td class="paramkey"><br>
1813
<td class="paramtype"><a class="el" href="group___global.html#gc2c426c7ea09cdcc0cdb398660104baa">snd_async_callback_t</a> </td>
1814
<td class="paramname"> <em>callback</em>, </td>
1817
<td class="paramkey"><br>
1821
<td class="paramtype">void * </td>
1822
<td class="paramname"> <em>private_data</em></td><td> </td>
1830
</td><td width="100%"><br>
1835
<div class="memdoc">
1838
Add an async handler for a CTL.
1840
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
1841
<table border="0" cellpadding="0" cellspacing="2">
1842
<tbody><tr><td valign="top"><br>
1843
</td><td valign="top"><em>handler</em> </td><td>Returned handler handle </td></tr>
1844
<tr><td valign="top"><br>
1845
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
1846
<tr><td valign="top"><br>
1847
</td><td valign="top"><em>callback</em> </td><td>Callback function </td></tr>
1848
<tr><td valign="top"><br>
1849
</td><td valign="top"><em>private_data</em> </td><td>Callback private data </td></tr>
1852
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 otherwise a negative error code on failure </dd></dl>
1856
<a class="anchor" name="gb0a6ac7aa353b6533d9ba002e2b839fa"></a><!-- doxytag: member="control.h::snd_async_handler_get_ctl" ref="gb0a6ac7aa353b6533d9ba002e2b839fa" args="(snd_async_handler_t *handler)" -->
1857
</p><div class="memitem">
1858
<div class="memproto">
1859
<table class="memname">
1861
<td class="memname"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a>* snd_async_handler_get_ctl </td>
1863
<td class="paramtype"><a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> * </td>
1864
<td class="paramname"> <em>handler</em> </td>
1865
<td> ) </td>
1866
<td width="100%"><br>
1871
<div class="memdoc">
1874
Return CTL handle related to an async handler.
1876
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
1877
<table border="0" cellpadding="0" cellspacing="2">
1878
<tbody><tr><td valign="top"><br>
1879
</td><td valign="top"><em>handler</em> </td><td>Async handler handle </td></tr>
1882
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL handle </dd></dl>
1886
<a class="anchor" name="ge6399e627ae738cd123a61b781c015c4"></a><!-- doxytag: member="control.h::snd_card_get_index" ref="ge6399e627ae738cd123a61b781c015c4" args="(const char *name)" -->
1887
</p><div class="memitem">
1888
<div class="memproto">
1889
<table class="memname">
1891
<td class="memname">int snd_card_get_index </td>
1893
<td class="paramtype">const char * </td>
1894
<td class="paramname"> <em>string</em> </td>
1895
<td> ) </td>
1896
<td width="100%"><br>
1901
<div class="memdoc">
1904
Convert card string to an integer value.
1906
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
1907
<table border="0" cellpadding="0" cellspacing="2">
1908
<tbody><tr><td valign="top"><br>
1909
</td><td valign="top"><em>string</em> </td><td>String containing card identifier </td></tr>
1912
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code</dd></dl>The
1913
accepted format is an integer value in ASCII representation or the card
1914
identifier (the id parameter for sound-card drivers). The control
1915
device name like /dev/snd/controlC0 is accepted, too. </div>
1917
<a class="anchor" name="gb1f3b4470a304505f5859d5955a03ce9"></a><!-- doxytag: member="control.h::snd_card_get_longname" ref="gb1f3b4470a304505f5859d5955a03ce9" args="(int card, char **name)" -->
1918
</p><div class="memitem">
1919
<div class="memproto">
1920
<table class="memname">
1922
<td class="memname">int snd_card_get_longname </td>
1924
<td class="paramtype">int </td>
1925
<td class="paramname"> <em>card</em>, </td>
1928
<td class="paramkey"><br>
1932
<td class="paramtype">char ** </td>
1933
<td class="paramname"> <em>name</em></td><td> </td>
1941
</td><td width="100%"><br>
1946
<div class="memdoc">
1949
Obtain the card long name.
1951
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
1952
<table border="0" cellpadding="0" cellspacing="2">
1953
<tbody><tr><td valign="top"><br>
1954
</td><td valign="top"><em>card</em> </td><td>Card number </td></tr>
1955
<tr><td valign="top"><br>
1956
</td><td valign="top"><em>name</em> </td><td>Result - card long name corresponding to card number </td></tr>
1959
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
1963
<a class="anchor" name="g9a8f8e8cf1292392008c6c47e20e22c9"></a><!-- doxytag: member="control.h::snd_card_get_name" ref="g9a8f8e8cf1292392008c6c47e20e22c9" args="(int card, char **name)" -->
1964
</p><div class="memitem">
1965
<div class="memproto">
1966
<table class="memname">
1968
<td class="memname">int snd_card_get_name </td>
1970
<td class="paramtype">int </td>
1971
<td class="paramname"> <em>card</em>, </td>
1974
<td class="paramkey"><br>
1978
<td class="paramtype">char ** </td>
1979
<td class="paramname"> <em>name</em></td><td> </td>
1987
</td><td width="100%"><br>
1992
<div class="memdoc">
1995
Obtain the card name.
1997
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
1998
<table border="0" cellpadding="0" cellspacing="2">
1999
<tbody><tr><td valign="top"><br>
2000
</td><td valign="top"><em>card</em> </td><td>Card number </td></tr>
2001
<tr><td valign="top"><br>
2002
</td><td valign="top"><em>name</em> </td><td>Result - card name corresponding to card number </td></tr>
2005
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
2009
<a class="anchor" name="g2fdc6a46ac3ddfe172693f266b0a58ee"></a><!-- doxytag: member="control.h::snd_card_load" ref="g2fdc6a46ac3ddfe172693f266b0a58ee" args="(int card)" -->
2010
</p><div class="memitem">
2011
<div class="memproto">
2012
<table class="memname">
2014
<td class="memname">int snd_card_load </td>
2016
<td class="paramtype">int </td>
2017
<td class="paramname"> <em>card</em> </td>
2018
<td> ) </td>
2019
<td width="100%"><br>
2024
<div class="memdoc">
2027
Try to load the driver for a card.
2029
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2030
<table border="0" cellpadding="0" cellspacing="2">
2031
<tbody><tr><td valign="top"><br>
2032
</td><td valign="top"><em>card</em> </td><td>Card number. </td></tr>
2035
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>1 if driver is present, zero if driver is not present </dd></dl>
2039
<a class="anchor" name="ga45d18d26b11bcfdd2ba40f30a56c46a"></a><!-- doxytag: member="control.h::snd_card_next" ref="ga45d18d26b11bcfdd2ba40f30a56c46a" args="(int *card)" -->
2040
</p><div class="memitem">
2041
<div class="memproto">
2042
<table class="memname">
2044
<td class="memname">int snd_card_next </td>
2046
<td class="paramtype">int * </td>
2047
<td class="paramname"> <em>rcard</em> </td>
2048
<td> ) </td>
2049
<td width="100%"><br>
2054
<div class="memdoc">
2057
Try to determine the next card.
2059
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2060
<table border="0" cellpadding="0" cellspacing="2">
2061
<tbody><tr><td valign="top"><br>
2062
</td><td valign="top"><em>rcard</em> </td><td>pointer to card number </td></tr>
2065
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code</dd></dl>Tries
2066
to determine the next card from given card number. If card number is
2067
-1, then the first available card is returned. If the result card
2068
number is -1, no more cards are available. </div>
2070
<a class="anchor" name="gc10c26abe9945014de35ebaa3309ee62"></a><!-- doxytag: member="control.h::snd_ctl_card_info" ref="gc10c26abe9945014de35ebaa3309ee62" args="(snd_ctl_t *ctl, snd_ctl_card_info_t *info)" -->
2071
</p><div class="memitem">
2072
<div class="memproto">
2073
<table class="memname">
2075
<td class="memname">int snd_ctl_card_info </td>
2077
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2078
<td class="paramname"> <em>ctl</em>, </td>
2081
<td class="paramkey"><br>
2085
<td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2086
<td class="paramname"> <em>info</em></td><td> </td>
2094
</td><td width="100%"><br>
2099
<div class="memdoc">
2102
Get card related information.
2104
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2105
<table border="0" cellpadding="0" cellspacing="2">
2106
<tbody><tr><td valign="top"><br>
2107
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
2108
<tr><td valign="top"><br>
2109
</td><td valign="top"><em>info</em> </td><td>Card info pointer </td></tr>
2112
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
2116
<a class="anchor" name="g611cc6fd37ac51c4c4758c7d4b9deca0"></a><!-- doxytag: member="control.h::snd_ctl_card_info_clear" ref="g611cc6fd37ac51c4c4758c7d4b9deca0" args="(snd_ctl_card_info_t *obj)" -->
2117
</p><div class="memitem">
2118
<div class="memproto">
2119
<table class="memname">
2121
<td class="memname">void snd_ctl_card_info_clear </td>
2123
<td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2124
<td class="paramname"> <em>obj</em> </td>
2125
<td> ) </td>
2126
<td width="100%"><br>
2131
<div class="memdoc">
2134
clear given <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> object
2136
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2137
<table border="0" cellpadding="0" cellspacing="2">
2138
<tbody><tr><td valign="top"><br>
2139
</td><td valign="top"><em>obj</em> </td><td>pointer to object to clear </td></tr>
2145
<a class="anchor" name="g757e2c449346c00d1c351cb7908e9563"></a><!-- doxytag: member="control.h::snd_ctl_card_info_copy" ref="g757e2c449346c00d1c351cb7908e9563" args="(snd_ctl_card_info_t *dst, const snd_ctl_card_info_t *src)" -->
2146
</p><div class="memitem">
2147
<div class="memproto">
2148
<table class="memname">
2150
<td class="memname">void snd_ctl_card_info_copy </td>
2152
<td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2153
<td class="paramname"> <em>dst</em>, </td>
2156
<td class="paramkey"><br>
2160
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2161
<td class="paramname"> <em>src</em></td><td> </td>
2169
</td><td width="100%"><br>
2174
<div class="memdoc">
2177
copy one <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> to another
2179
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2180
<table border="0" cellpadding="0" cellspacing="2">
2181
<tbody><tr><td valign="top"><br>
2182
</td><td valign="top"><em>dst</em> </td><td>pointer to destination </td></tr>
2183
<tr><td valign="top"><br>
2184
</td><td valign="top"><em>src</em> </td><td>pointer to source </td></tr>
2190
<a class="anchor" name="g7ed5f87a96e3c276b8d1e379b8b28ff9"></a><!-- doxytag: member="control.h::snd_ctl_card_info_free" ref="g7ed5f87a96e3c276b8d1e379b8b28ff9" args="(snd_ctl_card_info_t *obj)" -->
2191
</p><div class="memitem">
2192
<div class="memproto">
2193
<table class="memname">
2195
<td class="memname">void snd_ctl_card_info_free </td>
2197
<td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2198
<td class="paramname"> <em>obj</em> </td>
2199
<td> ) </td>
2200
<td width="100%"><br>
2205
<div class="memdoc">
2208
frees a previously allocated <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a>
2210
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2211
<table border="0" cellpadding="0" cellspacing="2">
2212
<tbody><tr><td valign="top"><br>
2213
</td><td valign="top"><em>obj</em> </td><td>pointer to object to free </td></tr>
2219
<a class="anchor" name="g6fd5d4ce2dec489f307c54e83af10c48"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_card" ref="g6fd5d4ce2dec489f307c54e83af10c48" args="(const snd_ctl_card_info_t *obj)" -->
2220
</p><div class="memitem">
2221
<div class="memproto">
2222
<table class="memname">
2224
<td class="memname">int snd_ctl_card_info_get_card </td>
2226
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2227
<td class="paramname"> <em>obj</em> </td>
2228
<td> ) </td>
2229
<td width="100%"><br>
2234
<div class="memdoc">
2237
Get card number from a CTL card info.
2239
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2240
<table border="0" cellpadding="0" cellspacing="2">
2241
<tbody><tr><td valign="top"><br>
2242
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2245
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card number </dd></dl>
2249
<a class="anchor" name="ge0d3b5929a0906af78b924ebd96e2f25"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_components" ref="ge0d3b5929a0906af78b924ebd96e2f25" args="(const snd_ctl_card_info_t *obj)" -->
2250
</p><div class="memitem">
2251
<div class="memproto">
2252
<table class="memname">
2254
<td class="memname">const char* snd_ctl_card_info_get_components </td>
2256
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2257
<td class="paramname"> <em>obj</em> </td>
2258
<td> ) </td>
2259
<td width="100%"><br>
2264
<div class="memdoc">
2267
Get card component list from a CTL card info.
2269
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2270
<table border="0" cellpadding="0" cellspacing="2">
2271
<tbody><tr><td valign="top"><br>
2272
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2275
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card mixer identifier </dd></dl>
2279
<a class="anchor" name="gfc9ab68a32b0475970378b2347c5f50f"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_driver" ref="gfc9ab68a32b0475970378b2347c5f50f" args="(const snd_ctl_card_info_t *obj)" -->
2280
</p><div class="memitem">
2281
<div class="memproto">
2282
<table class="memname">
2284
<td class="memname">const char* snd_ctl_card_info_get_driver </td>
2286
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2287
<td class="paramname"> <em>obj</em> </td>
2288
<td> ) </td>
2289
<td width="100%"><br>
2294
<div class="memdoc">
2297
Get card driver name from a CTL card info.
2299
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2300
<table border="0" cellpadding="0" cellspacing="2">
2301
<tbody><tr><td valign="top"><br>
2302
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2305
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card driver name </dd></dl>
2309
<a class="anchor" name="g877dbc5bf4682a00272ed2b2176ce2fd"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_id" ref="g877dbc5bf4682a00272ed2b2176ce2fd" args="(const snd_ctl_card_info_t *obj)" -->
2310
</p><div class="memitem">
2311
<div class="memproto">
2312
<table class="memname">
2314
<td class="memname">const char* snd_ctl_card_info_get_id </td>
2316
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2317
<td class="paramname"> <em>obj</em> </td>
2318
<td> ) </td>
2319
<td width="100%"><br>
2324
<div class="memdoc">
2327
Get card identifier from a CTL card info.
2329
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2330
<table border="0" cellpadding="0" cellspacing="2">
2331
<tbody><tr><td valign="top"><br>
2332
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2335
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card identifier </dd></dl>
2339
<a class="anchor" name="g72047de23dfb965ef862b02b72180546"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_longname" ref="g72047de23dfb965ef862b02b72180546" args="(const snd_ctl_card_info_t *obj)" -->
2340
</p><div class="memitem">
2341
<div class="memproto">
2342
<table class="memname">
2344
<td class="memname">const char* snd_ctl_card_info_get_longname </td>
2346
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2347
<td class="paramname"> <em>obj</em> </td>
2348
<td> ) </td>
2349
<td width="100%"><br>
2354
<div class="memdoc">
2357
Get card long name from a CTL card info.
2359
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2360
<table border="0" cellpadding="0" cellspacing="2">
2361
<tbody><tr><td valign="top"><br>
2362
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2365
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card long name </dd></dl>
2369
<a class="anchor" name="g782eb1b2f3d733f18b0c70a433555645"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_mixername" ref="g782eb1b2f3d733f18b0c70a433555645" args="(const snd_ctl_card_info_t *obj)" -->
2370
</p><div class="memitem">
2371
<div class="memproto">
2372
<table class="memname">
2374
<td class="memname">const char* snd_ctl_card_info_get_mixername </td>
2376
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2377
<td class="paramname"> <em>obj</em> </td>
2378
<td> ) </td>
2379
<td width="100%"><br>
2384
<div class="memdoc">
2387
Get card mixer name from a CTL card info.
2389
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2390
<table border="0" cellpadding="0" cellspacing="2">
2391
<tbody><tr><td valign="top"><br>
2392
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2395
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card mixer name </dd></dl>
2399
<a class="anchor" name="g3e370612be93526b4c4934559430d2e6"></a><!-- doxytag: member="control.h::snd_ctl_card_info_get_name" ref="g3e370612be93526b4c4934559430d2e6" args="(const snd_ctl_card_info_t *obj)" -->
2400
</p><div class="memitem">
2401
<div class="memproto">
2402
<table class="memname">
2404
<td class="memname">const char* snd_ctl_card_info_get_name </td>
2406
<td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> * </td>
2407
<td class="paramname"> <em>obj</em> </td>
2408
<td> ) </td>
2409
<td width="100%"><br>
2414
<div class="memdoc">
2417
Get card name from a CTL card info.
2419
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2420
<table border="0" cellpadding="0" cellspacing="2">
2421
<tbody><tr><td valign="top"><br>
2422
</td><td valign="top"><em>obj</em> </td><td>CTL card info </td></tr>
2425
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card name </dd></dl>
2429
<a class="anchor" name="g0abb90ba4f1953758a175ea0ba27fd40"></a><!-- doxytag: member="control.h::snd_ctl_card_info_malloc" ref="g0abb90ba4f1953758a175ea0ba27fd40" args="(snd_ctl_card_info_t **ptr)" -->
2430
</p><div class="memitem">
2431
<div class="memproto">
2432
<table class="memname">
2434
<td class="memname">int snd_ctl_card_info_malloc </td>
2436
<td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> ** </td>
2437
<td class="paramname"> <em>ptr</em> </td>
2438
<td> ) </td>
2439
<td width="100%"><br>
2444
<div class="memdoc">
2447
allocate an invalid <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> using standard malloc
2449
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2450
<table border="0" cellpadding="0" cellspacing="2">
2451
<tbody><tr><td valign="top"><br>
2452
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
2455
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
2459
<a class="anchor" name="g881e3ff055d2525c8ecf326ef78cbb36"></a><!-- doxytag: member="control.h::snd_ctl_card_info_sizeof" ref="g881e3ff055d2525c8ecf326ef78cbb36" args="(void)" -->
2460
</p><div class="memitem">
2461
<div class="memproto">
2462
<table class="memname">
2464
<td class="memname">size_t snd_ctl_card_info_sizeof </td>
2466
<td class="paramtype">void </td>
2467
<td class="paramname"> <br>
2469
<td> ) </td>
2470
<td width="100%"><br>
2475
<div class="memdoc">
2478
get size of <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a>
2480
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
2484
<a class="anchor" name="g3deb61d661dedda3bb79d5cc6989a87c"></a><!-- doxytag: member="control.h::snd_ctl_close" ref="g3deb61d661dedda3bb79d5cc6989a87c" args="(snd_ctl_t *ctl)" -->
2485
</p><div class="memitem">
2486
<div class="memproto">
2487
<table class="memname">
2489
<td class="memname">int snd_ctl_close </td>
2491
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2492
<td class="paramname"> <em>ctl</em> </td>
2493
<td> ) </td>
2494
<td width="100%"><br>
2499
<div class="memdoc">
2504
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2505
<table border="0" cellpadding="0" cellspacing="2">
2506
<tbody><tr><td valign="top"><br>
2507
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
2510
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code</dd></dl>
2511
Closes the specified CTL handle and frees all associated resources.
2514
<a class="anchor" name="gc9dae50da43354d955cba7859d419e75"></a><!-- doxytag: member="control.h::snd_ctl_convert_from_dB" ref="gc9dae50da43354d955cba7859d419e75" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, long db_gain, long *value, int xdir)" -->
2515
</p><div class="memitem">
2516
<div class="memproto">
2517
<table class="memname">
2519
<td class="memname">int snd_ctl_convert_from_dB </td>
2521
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2522
<td class="paramname"> <em>ctl</em>, </td>
2525
<td class="paramkey"><br>
2529
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2530
<td class="paramname"> <em>id</em>, </td>
2533
<td class="paramkey"><br>
2537
<td class="paramtype">long </td>
2538
<td class="paramname"> <em>db_gain</em>, </td>
2541
<td class="paramkey"><br>
2545
<td class="paramtype">long * </td>
2546
<td class="paramname"> <em>value</em>, </td>
2549
<td class="paramkey"><br>
2553
<td class="paramtype">int </td>
2554
<td class="paramname"> <em>xdir</em></td><td> </td>
2562
</td><td width="100%"><br>
2567
<div class="memdoc">
2570
Convert from dB gain to the raw volume value on the given control element.
2572
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2573
<table border="0" cellpadding="0" cellspacing="2">
2574
<tbody><tr><td valign="top"><br>
2575
</td><td valign="top"><em>ctl</em> </td><td>the control handler </td></tr>
2576
<tr><td valign="top"><br>
2577
</td><td valign="top"><em>id</em> </td><td>the element id </td></tr>
2578
<tr><td valign="top"><br>
2579
</td><td valign="top"><em>db_gain</em> </td><td>the dB gain to convert (in 0.01dB unit) </td></tr>
2580
<tr><td valign="top"><br>
2581
</td><td valign="top"><em>value</em> </td><td>the pointer to store the converted raw volume value </td></tr>
2582
<tr><td valign="top"><br>
2583
</td><td valign="top"><em>xdir</em> </td><td>the direction for round-up. The value is round up when this is positive. </td></tr>
2586
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
2590
<a class="anchor" name="g11dfbbc8686e67ebb3c7b96afe371ac0"></a><!-- doxytag: member="control.h::snd_ctl_convert_to_dB" ref="g11dfbbc8686e67ebb3c7b96afe371ac0" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, long volume, long *db_gain)" -->
2591
</p><div class="memitem">
2592
<div class="memproto">
2593
<table class="memname">
2595
<td class="memname">int snd_ctl_convert_to_dB </td>
2597
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2598
<td class="paramname"> <em>ctl</em>, </td>
2601
<td class="paramkey"><br>
2605
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2606
<td class="paramname"> <em>id</em>, </td>
2609
<td class="paramkey"><br>
2613
<td class="paramtype">long </td>
2614
<td class="paramname"> <em>volume</em>, </td>
2617
<td class="paramkey"><br>
2621
<td class="paramtype">long * </td>
2622
<td class="paramname"> <em>db_gain</em></td><td> </td>
2630
</td><td width="100%"><br>
2635
<div class="memdoc">
2638
Convert the volume value to dB on the given control element.
2640
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2641
<table border="0" cellpadding="0" cellspacing="2">
2642
<tbody><tr><td valign="top"><br>
2643
</td><td valign="top"><em>ctl</em> </td><td>the control handler </td></tr>
2644
<tr><td valign="top"><br>
2645
</td><td valign="top"><em>id</em> </td><td>the element id </td></tr>
2646
<tr><td valign="top"><br>
2647
</td><td valign="top"><em>volume</em> </td><td>the raw volume value to convert </td></tr>
2648
<tr><td valign="top"><br>
2649
</td><td valign="top"><em>db_gain</em> </td><td>the dB gain (in 0.01dB unit) </td></tr>
2652
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
2656
<a class="anchor" name="g76b036bce85dbf7248d6f64528292233"></a><!-- doxytag: member="control.h::snd_ctl_elem_add_boolean" ref="g76b036bce85dbf7248d6f64528292233" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count)" -->
2657
</p><div class="memitem">
2658
<div class="memproto">
2659
<table class="memname">
2661
<td class="memname">int snd_ctl_elem_add_boolean </td>
2663
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2664
<td class="paramname"> <em>ctl</em>, </td>
2667
<td class="paramkey"><br>
2671
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2672
<td class="paramname"> <em>id</em>, </td>
2675
<td class="paramkey"><br>
2679
<td class="paramtype">unsigned int </td>
2680
<td class="paramname"> <em>count</em></td><td> </td>
2688
</td><td width="100%"><br>
2693
<div class="memdoc">
2696
Create and add an user BOOLEAN CTL element.
2698
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2699
<table border="0" cellpadding="0" cellspacing="2">
2700
<tbody><tr><td valign="top"><br>
2701
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
2702
<tr><td valign="top"><br>
2703
</td><td valign="top"><em>id</em> </td><td>CTL element id to add </td></tr>
2704
<tr><td valign="top"><br>
2705
</td><td valign="top"><em>count</em> </td><td>number of elements </td></tr>
2708
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
2712
<a class="anchor" name="gf8166b4f5b0f7e2e8797a048ddf80a48"></a><!-- doxytag: member="control.h::snd_ctl_elem_add_iec958" ref="gf8166b4f5b0f7e2e8797a048ddf80a48" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id)" -->
2713
</p><div class="memitem">
2714
<div class="memproto">
2715
<table class="memname">
2717
<td class="memname">int snd_ctl_elem_add_iec958 </td>
2719
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2720
<td class="paramname"> <em>ctl</em>, </td>
2723
<td class="paramkey"><br>
2727
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2728
<td class="paramname"> <em>id</em></td><td> </td>
2736
</td><td width="100%"><br>
2741
<div class="memdoc">
2744
Create and add an user IEC958 CTL element.
2746
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2747
<table border="0" cellpadding="0" cellspacing="2">
2748
<tbody><tr><td valign="top"><br>
2749
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
2750
<tr><td valign="top"><br>
2751
</td><td valign="top"><em>id</em> </td><td>CTL element info to add </td></tr>
2754
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
2758
<a class="anchor" name="gf8c091197f738d15d7b87aa736e1b835"></a><!-- doxytag: member="control.h::snd_ctl_elem_add_integer" ref="gf8c091197f738d15d7b87aa736e1b835" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count, long imin, long imax, long istep)" -->
2759
</p><div class="memitem">
2760
<div class="memproto">
2761
<table class="memname">
2763
<td class="memname">int snd_ctl_elem_add_integer </td>
2765
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2766
<td class="paramname"> <em>ctl</em>, </td>
2769
<td class="paramkey"><br>
2773
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2774
<td class="paramname"> <em>id</em>, </td>
2777
<td class="paramkey"><br>
2781
<td class="paramtype">unsigned int </td>
2782
<td class="paramname"> <em>count</em>, </td>
2785
<td class="paramkey"><br>
2789
<td class="paramtype">long </td>
2790
<td class="paramname"> <em>min</em>, </td>
2793
<td class="paramkey"><br>
2797
<td class="paramtype">long </td>
2798
<td class="paramname"> <em>max</em>, </td>
2801
<td class="paramkey"><br>
2805
<td class="paramtype">long </td>
2806
<td class="paramname"> <em>step</em></td><td> </td>
2814
</td><td width="100%"><br>
2819
<div class="memdoc">
2822
Create and add an user INTEGER CTL element.
2824
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2825
<table border="0" cellpadding="0" cellspacing="2">
2826
<tbody><tr><td valign="top"><br>
2827
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
2828
<tr><td valign="top"><br>
2829
</td><td valign="top"><em>id</em> </td><td>CTL element id to add </td></tr>
2830
<tr><td valign="top"><br>
2831
</td><td valign="top"><em>count</em> </td><td>number of elements </td></tr>
2832
<tr><td valign="top"><br>
2833
</td><td valign="top"><em>min</em> </td><td>minimum value </td></tr>
2834
<tr><td valign="top"><br>
2835
</td><td valign="top"><em>max</em> </td><td>maximum value </td></tr>
2836
<tr><td valign="top"><br>
2837
</td><td valign="top"><em>step</em> </td><td>value step </td></tr>
2840
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
2844
<a class="anchor" name="g002f81bfb06839225dc7a090832f4937"></a><!-- doxytag: member="control.h::snd_ctl_elem_add_integer64" ref="g002f81bfb06839225dc7a090832f4937" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count, long long imin, long long imax, long long istep)" -->
2845
</p><div class="memitem">
2846
<div class="memproto">
2847
<table class="memname">
2849
<td class="memname">int snd_ctl_elem_add_integer64 </td>
2851
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
2852
<td class="paramname"> <em>ctl</em>, </td>
2855
<td class="paramkey"><br>
2859
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2860
<td class="paramname"> <em>id</em>, </td>
2863
<td class="paramkey"><br>
2867
<td class="paramtype">unsigned int </td>
2868
<td class="paramname"> <em>count</em>, </td>
2871
<td class="paramkey"><br>
2875
<td class="paramtype">long long </td>
2876
<td class="paramname"> <em>min</em>, </td>
2879
<td class="paramkey"><br>
2883
<td class="paramtype">long long </td>
2884
<td class="paramname"> <em>max</em>, </td>
2887
<td class="paramkey"><br>
2891
<td class="paramtype">long long </td>
2892
<td class="paramname"> <em>step</em></td><td> </td>
2900
</td><td width="100%"><br>
2905
<div class="memdoc">
2908
Create and add an user INTEGER64 CTL element.
2910
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2911
<table border="0" cellpadding="0" cellspacing="2">
2912
<tbody><tr><td valign="top"><br>
2913
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
2914
<tr><td valign="top"><br>
2915
</td><td valign="top"><em>id</em> </td><td>CTL element id to add </td></tr>
2916
<tr><td valign="top"><br>
2917
</td><td valign="top"><em>count</em> </td><td>number of elements </td></tr>
2918
<tr><td valign="top"><br>
2919
</td><td valign="top"><em>min</em> </td><td>minimum value </td></tr>
2920
<tr><td valign="top"><br>
2921
</td><td valign="top"><em>max</em> </td><td>maximum value </td></tr>
2922
<tr><td valign="top"><br>
2923
</td><td valign="top"><em>step</em> </td><td>value step </td></tr>
2926
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
2930
<a class="anchor" name="g510f3196c681a7789e2ae9e3626f17fb"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_clear" ref="g510f3196c681a7789e2ae9e3626f17fb" args="(snd_ctl_elem_id_t *obj)" -->
2931
</p><div class="memitem">
2932
<div class="memproto">
2933
<table class="memname">
2935
<td class="memname">void snd_ctl_elem_id_clear </td>
2937
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2938
<td class="paramname"> <em>obj</em> </td>
2939
<td> ) </td>
2940
<td width="100%"><br>
2945
<div class="memdoc">
2948
clear given <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> object
2950
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2951
<table border="0" cellpadding="0" cellspacing="2">
2952
<tbody><tr><td valign="top"><br>
2953
</td><td valign="top"><em>obj</em> </td><td>pointer to object to clear </td></tr>
2959
<a class="anchor" name="g96392ee283b248b455f89fcd6be818ef"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_copy" ref="g96392ee283b248b455f89fcd6be818ef" args="(snd_ctl_elem_id_t *dst, const snd_ctl_elem_id_t *src)" -->
2960
</p><div class="memitem">
2961
<div class="memproto">
2962
<table class="memname">
2964
<td class="memname">void snd_ctl_elem_id_copy </td>
2966
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2967
<td class="paramname"> <em>dst</em>, </td>
2970
<td class="paramkey"><br>
2974
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
2975
<td class="paramname"> <em>src</em></td><td> </td>
2983
</td><td width="100%"><br>
2988
<div class="memdoc">
2991
copy one <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> to another
2993
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
2994
<table border="0" cellpadding="0" cellspacing="2">
2995
<tbody><tr><td valign="top"><br>
2996
</td><td valign="top"><em>dst</em> </td><td>pointer to destination </td></tr>
2997
<tr><td valign="top"><br>
2998
</td><td valign="top"><em>src</em> </td><td>pointer to source </td></tr>
3004
<a class="anchor" name="ge75bf097faf13019242484991631581c"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_free" ref="ge75bf097faf13019242484991631581c" args="(snd_ctl_elem_id_t *obj)" -->
3005
</p><div class="memitem">
3006
<div class="memproto">
3007
<table class="memname">
3009
<td class="memname">void snd_ctl_elem_id_free </td>
3011
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3012
<td class="paramname"> <em>obj</em> </td>
3013
<td> ) </td>
3014
<td width="100%"><br>
3019
<div class="memdoc">
3022
frees a previously allocated <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a>
3024
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3025
<table border="0" cellpadding="0" cellspacing="2">
3026
<tbody><tr><td valign="top"><br>
3027
</td><td valign="top"><em>obj</em> </td><td>pointer to object to free </td></tr>
3033
<a class="anchor" name="g5474ef2c034d124f112ea93a922dccd3"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_get_device" ref="g5474ef2c034d124f112ea93a922dccd3" args="(const snd_ctl_elem_id_t *obj)" -->
3034
</p><div class="memitem">
3035
<div class="memproto">
3036
<table class="memname">
3038
<td class="memname">unsigned int snd_ctl_elem_id_get_device </td>
3040
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3041
<td class="paramname"> <em>obj</em> </td>
3042
<td> ) </td>
3043
<td width="100%"><br>
3048
<div class="memdoc">
3051
Get device part of a CTL element identifier.
3053
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3054
<table border="0" cellpadding="0" cellspacing="2">
3055
<tbody><tr><td valign="top"><br>
3056
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3059
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related device </dd></dl>
3063
<a class="anchor" name="g579f865e51cc9bcefb64b416ddb27fde"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_get_index" ref="g579f865e51cc9bcefb64b416ddb27fde" args="(const snd_ctl_elem_id_t *obj)" -->
3064
</p><div class="memitem">
3065
<div class="memproto">
3066
<table class="memname">
3068
<td class="memname">unsigned int snd_ctl_elem_id_get_index </td>
3070
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3071
<td class="paramname"> <em>obj</em> </td>
3072
<td> ) </td>
3073
<td width="100%"><br>
3078
<div class="memdoc">
3081
Get index part of a CTL element identifier.
3083
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3084
<table border="0" cellpadding="0" cellspacing="2">
3085
<tbody><tr><td valign="top"><br>
3086
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3089
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element index </dd></dl>
3093
<a class="anchor" name="g345be41c7ea69466c912a584e107e840"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_get_interface" ref="g345be41c7ea69466c912a584e107e840" args="(const snd_ctl_elem_id_t *obj)" -->
3094
</p><div class="memitem">
3095
<div class="memproto">
3096
<table class="memname">
3098
<td class="memname"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> snd_ctl_elem_id_get_interface </td>
3100
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3101
<td class="paramname"> <em>obj</em> </td>
3102
<td> ) </td>
3103
<td width="100%"><br>
3108
<div class="memdoc">
3111
Get interface part of a CTL element identifier.
3113
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3114
<table border="0" cellpadding="0" cellspacing="2">
3115
<tbody><tr><td valign="top"><br>
3116
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3119
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related interface </dd></dl>
3123
<a class="anchor" name="ga8d563ed81ed01d8a3a1dd4332b3ee6b"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_get_name" ref="ga8d563ed81ed01d8a3a1dd4332b3ee6b" args="(const snd_ctl_elem_id_t *obj)" -->
3124
</p><div class="memitem">
3125
<div class="memproto">
3126
<table class="memname">
3128
<td class="memname">const char* snd_ctl_elem_id_get_name </td>
3130
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3131
<td class="paramname"> <em>obj</em> </td>
3132
<td> ) </td>
3133
<td width="100%"><br>
3138
<div class="memdoc">
3141
Get name part of a CTL element identifier.
3143
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3144
<table border="0" cellpadding="0" cellspacing="2">
3145
<tbody><tr><td valign="top"><br>
3146
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3149
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element name </dd></dl>
3153
<a class="anchor" name="g22624803ba9e6635d358141dc680ea05"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_get_numid" ref="g22624803ba9e6635d358141dc680ea05" args="(const snd_ctl_elem_id_t *obj)" -->
3154
</p><div class="memitem">
3155
<div class="memproto">
3156
<table class="memname">
3158
<td class="memname">unsigned int snd_ctl_elem_id_get_numid </td>
3160
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3161
<td class="paramname"> <em>obj</em> </td>
3162
<td> ) </td>
3163
<td width="100%"><br>
3168
<div class="memdoc">
3171
Get numeric identifier from a CTL element identifier.
3173
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3174
<table border="0" cellpadding="0" cellspacing="2">
3175
<tbody><tr><td valign="top"><br>
3176
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3179
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element numeric identifier </dd></dl>
3183
<a class="anchor" name="g8a52ee240c70376333ca8b43ce172ebb"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_get_subdevice" ref="g8a52ee240c70376333ca8b43ce172ebb" args="(const snd_ctl_elem_id_t *obj)" -->
3184
</p><div class="memitem">
3185
<div class="memproto">
3186
<table class="memname">
3188
<td class="memname">unsigned int snd_ctl_elem_id_get_subdevice </td>
3190
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3191
<td class="paramname"> <em>obj</em> </td>
3192
<td> ) </td>
3193
<td width="100%"><br>
3198
<div class="memdoc">
3201
Get subdevice part of a CTL element identifier.
3203
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3204
<table border="0" cellpadding="0" cellspacing="2">
3205
<tbody><tr><td valign="top"><br>
3206
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3209
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related subdevice </dd></dl>
3213
<a class="anchor" name="g6861e1e3ea20c9b3d332d7e57233876e"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_malloc" ref="g6861e1e3ea20c9b3d332d7e57233876e" args="(snd_ctl_elem_id_t **ptr)" -->
3214
</p><div class="memitem">
3215
<div class="memproto">
3216
<table class="memname">
3218
<td class="memname">int snd_ctl_elem_id_malloc </td>
3220
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> ** </td>
3221
<td class="paramname"> <em>ptr</em> </td>
3222
<td> ) </td>
3223
<td width="100%"><br>
3228
<div class="memdoc">
3231
allocate an invalid <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> using standard malloc
3233
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3234
<table border="0" cellpadding="0" cellspacing="2">
3235
<tbody><tr><td valign="top"><br>
3236
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
3239
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
3243
<a class="anchor" name="g2deb5757bae394a909be6694949e2778"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_set_device" ref="g2deb5757bae394a909be6694949e2778" args="(snd_ctl_elem_id_t *obj, unsigned int val)" -->
3244
</p><div class="memitem">
3245
<div class="memproto">
3246
<table class="memname">
3248
<td class="memname">void snd_ctl_elem_id_set_device </td>
3250
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3251
<td class="paramname"> <em>obj</em>, </td>
3254
<td class="paramkey"><br>
3258
<td class="paramtype">unsigned int </td>
3259
<td class="paramname"> <em>val</em></td><td> </td>
3267
</td><td width="100%"><br>
3272
<div class="memdoc">
3275
Set device part for a CTL element identifier.
3277
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3278
<table border="0" cellpadding="0" cellspacing="2">
3279
<tbody><tr><td valign="top"><br>
3280
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3281
<tr><td valign="top"><br>
3282
</td><td valign="top"><em>val</em> </td><td>CTL element related device </td></tr>
3288
<a class="anchor" name="ge54bdbd724e3ede337a5742696ea00f4"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_set_index" ref="ge54bdbd724e3ede337a5742696ea00f4" args="(snd_ctl_elem_id_t *obj, unsigned int val)" -->
3289
</p><div class="memitem">
3290
<div class="memproto">
3291
<table class="memname">
3293
<td class="memname">void snd_ctl_elem_id_set_index </td>
3295
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3296
<td class="paramname"> <em>obj</em>, </td>
3299
<td class="paramkey"><br>
3303
<td class="paramtype">unsigned int </td>
3304
<td class="paramname"> <em>val</em></td><td> </td>
3312
</td><td width="100%"><br>
3317
<div class="memdoc">
3320
Set index part for a CTL element identifier.
3322
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3323
<table border="0" cellpadding="0" cellspacing="2">
3324
<tbody><tr><td valign="top"><br>
3325
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3326
<tr><td valign="top"><br>
3327
</td><td valign="top"><em>val</em> </td><td>CTL element index </td></tr>
3333
<a class="anchor" name="g7b80d21eb55755d206ac84d43a7335ff"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_set_interface" ref="g7b80d21eb55755d206ac84d43a7335ff" args="(snd_ctl_elem_id_t *obj, snd_ctl_elem_iface_t val)" -->
3334
</p><div class="memitem">
3335
<div class="memproto">
3336
<table class="memname">
3338
<td class="memname">void snd_ctl_elem_id_set_interface </td>
3340
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3341
<td class="paramname"> <em>obj</em>, </td>
3344
<td class="paramkey"><br>
3348
<td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td>
3349
<td class="paramname"> <em>val</em></td><td> </td>
3357
</td><td width="100%"><br>
3362
<div class="memdoc">
3365
Set interface part for a CTL element identifier.
3367
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3368
<table border="0" cellpadding="0" cellspacing="2">
3369
<tbody><tr><td valign="top"><br>
3370
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3371
<tr><td valign="top"><br>
3372
</td><td valign="top"><em>val</em> </td><td>CTL element related interface </td></tr>
3378
<a class="anchor" name="g72df8ff92a7306464c77d3bb35e36fcc"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_set_name" ref="g72df8ff92a7306464c77d3bb35e36fcc" args="(snd_ctl_elem_id_t *obj, const char *val)" -->
3379
</p><div class="memitem">
3380
<div class="memproto">
3381
<table class="memname">
3383
<td class="memname">void snd_ctl_elem_id_set_name </td>
3385
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3386
<td class="paramname"> <em>obj</em>, </td>
3389
<td class="paramkey"><br>
3393
<td class="paramtype">const char * </td>
3394
<td class="paramname"> <em>val</em></td><td> </td>
3402
</td><td width="100%"><br>
3407
<div class="memdoc">
3410
Set name part for a CTL element identifier.
3412
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3413
<table border="0" cellpadding="0" cellspacing="2">
3414
<tbody><tr><td valign="top"><br>
3415
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3416
<tr><td valign="top"><br>
3417
</td><td valign="top"><em>val</em> </td><td>CTL element name </td></tr>
3423
<a class="anchor" name="g5f894c3fac4337fd3eb893c813e13614"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_set_numid" ref="g5f894c3fac4337fd3eb893c813e13614" args="(snd_ctl_elem_id_t *obj, unsigned int val)" -->
3424
</p><div class="memitem">
3425
<div class="memproto">
3426
<table class="memname">
3428
<td class="memname">void snd_ctl_elem_id_set_numid </td>
3430
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3431
<td class="paramname"> <em>obj</em>, </td>
3434
<td class="paramkey"><br>
3438
<td class="paramtype">unsigned int </td>
3439
<td class="paramname"> <em>val</em></td><td> </td>
3447
</td><td width="100%"><br>
3452
<div class="memdoc">
3455
Set numeric identifier for a CTL element identifier.
3457
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3458
<table border="0" cellpadding="0" cellspacing="2">
3459
<tbody><tr><td valign="top"><br>
3460
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3461
<tr><td valign="top"><br>
3462
</td><td valign="top"><em>val</em> </td><td>CTL element numeric identifier </td></tr>
3468
<a class="anchor" name="gdd00fae66e8890c5d83b4fca211bd304"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_set_subdevice" ref="gdd00fae66e8890c5d83b4fca211bd304" args="(snd_ctl_elem_id_t *obj, unsigned int val)" -->
3469
</p><div class="memitem">
3470
<div class="memproto">
3471
<table class="memname">
3473
<td class="memname">void snd_ctl_elem_id_set_subdevice </td>
3475
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3476
<td class="paramname"> <em>obj</em>, </td>
3479
<td class="paramkey"><br>
3483
<td class="paramtype">unsigned int </td>
3484
<td class="paramname"> <em>val</em></td><td> </td>
3492
</td><td width="100%"><br>
3497
<div class="memdoc">
3500
Set subdevice part for a CTL element identifier.
3502
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3503
<table border="0" cellpadding="0" cellspacing="2">
3504
<tbody><tr><td valign="top"><br>
3505
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier </td></tr>
3506
<tr><td valign="top"><br>
3507
</td><td valign="top"><em>val</em> </td><td>CTL element related subdevice </td></tr>
3513
<a class="anchor" name="g6c69bc87ba682c1f19a060dc9eefa29c"></a><!-- doxytag: member="control.h::snd_ctl_elem_id_sizeof" ref="g6c69bc87ba682c1f19a060dc9eefa29c" args="(void)" -->
3514
</p><div class="memitem">
3515
<div class="memproto">
3516
<table class="memname">
3518
<td class="memname">size_t snd_ctl_elem_id_sizeof </td>
3520
<td class="paramtype">void </td>
3521
<td class="paramname"> <br>
3523
<td> ) </td>
3524
<td width="100%"><br>
3529
<div class="memdoc">
3532
get size of <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a>
3534
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
3538
<a class="anchor" name="ge591752ffa856587f2fed1ec761de076"></a><!-- doxytag: member="control.h::snd_ctl_elem_iface_name" ref="ge591752ffa856587f2fed1ec761de076" args="(snd_ctl_elem_iface_t iface)" -->
3539
</p><div class="memitem">
3540
<div class="memproto">
3541
<table class="memname">
3543
<td class="memname">const char* snd_ctl_elem_iface_name </td>
3545
<td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td>
3546
<td class="paramname"> <em>iface</em> </td>
3547
<td> ) </td>
3548
<td width="100%"><br>
3553
<div class="memdoc">
3556
get name of a CTL element related interface
3558
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3559
<table border="0" cellpadding="0" cellspacing="2">
3560
<tbody><tr><td valign="top"><br>
3561
</td><td valign="top"><em>iface</em> </td><td>CTL element related interface </td></tr>
3564
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii name of CTL element related interface </dd></dl>
3568
<a class="anchor" name="ge60072b2f4ee8ff485b0e5a6cfec9d3f"></a><!-- doxytag: member="control.h::snd_ctl_elem_info" ref="ge60072b2f4ee8ff485b0e5a6cfec9d3f" args="(snd_ctl_t *ctl, snd_ctl_elem_info_t *info)" -->
3569
</p><div class="memitem">
3570
<div class="memproto">
3571
<table class="memname">
3573
<td class="memname">int snd_ctl_elem_info </td>
3575
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
3576
<td class="paramname"> <em>ctl</em>, </td>
3579
<td class="paramkey"><br>
3583
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3584
<td class="paramname"> <em>info</em></td><td> </td>
3592
</td><td width="100%"><br>
3597
<div class="memdoc">
3600
Get CTL element information.
3602
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3603
<table border="0" cellpadding="0" cellspacing="2">
3604
<tbody><tr><td valign="top"><br>
3605
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
3606
<tr><td valign="top"><br>
3607
</td><td valign="top"><em>info</em> </td><td>CTL element id/information pointer </td></tr>
3610
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
3614
<a class="anchor" name="gff787f1661a7883574c23e0aae4cd9aa"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_clear" ref="gff787f1661a7883574c23e0aae4cd9aa" args="(snd_ctl_elem_info_t *obj)" -->
3615
</p><div class="memitem">
3616
<div class="memproto">
3617
<table class="memname">
3619
<td class="memname">void snd_ctl_elem_info_clear </td>
3621
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3622
<td class="paramname"> <em>obj</em> </td>
3623
<td> ) </td>
3624
<td width="100%"><br>
3629
<div class="memdoc">
3632
clear given <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> object
3634
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3635
<table border="0" cellpadding="0" cellspacing="2">
3636
<tbody><tr><td valign="top"><br>
3637
</td><td valign="top"><em>obj</em> </td><td>pointer to object to clear </td></tr>
3643
<a class="anchor" name="gb905e94be93b859071472f84bc84631d"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_copy" ref="gb905e94be93b859071472f84bc84631d" args="(snd_ctl_elem_info_t *dst, const snd_ctl_elem_info_t *src)" -->
3644
</p><div class="memitem">
3645
<div class="memproto">
3646
<table class="memname">
3648
<td class="memname">void snd_ctl_elem_info_copy </td>
3650
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3651
<td class="paramname"> <em>dst</em>, </td>
3654
<td class="paramkey"><br>
3658
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3659
<td class="paramname"> <em>src</em></td><td> </td>
3667
</td><td width="100%"><br>
3672
<div class="memdoc">
3675
copy one <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> to another
3677
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3678
<table border="0" cellpadding="0" cellspacing="2">
3679
<tbody><tr><td valign="top"><br>
3680
</td><td valign="top"><em>dst</em> </td><td>pointer to destination </td></tr>
3681
<tr><td valign="top"><br>
3682
</td><td valign="top"><em>src</em> </td><td>pointer to source </td></tr>
3688
<a class="anchor" name="g2160cfb519c0bcc6d107f727289a92c0"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_free" ref="g2160cfb519c0bcc6d107f727289a92c0" args="(snd_ctl_elem_info_t *obj)" -->
3689
</p><div class="memitem">
3690
<div class="memproto">
3691
<table class="memname">
3693
<td class="memname">void snd_ctl_elem_info_free </td>
3695
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3696
<td class="paramname"> <em>obj</em> </td>
3697
<td> ) </td>
3698
<td width="100%"><br>
3703
<div class="memdoc">
3706
frees a previously allocated <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a>
3708
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3709
<table border="0" cellpadding="0" cellspacing="2">
3710
<tbody><tr><td valign="top"><br>
3711
</td><td valign="top"><em>obj</em> </td><td>pointer to object to free </td></tr>
3717
<a class="anchor" name="g6c0b0acb14a0c105252c5c037f12a19b"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_count" ref="g6c0b0acb14a0c105252c5c037f12a19b" args="(const snd_ctl_elem_info_t *obj)" -->
3718
</p><div class="memitem">
3719
<div class="memproto">
3720
<table class="memname">
3722
<td class="memname">unsigned int snd_ctl_elem_info_get_count </td>
3724
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3725
<td class="paramname"> <em>obj</em> </td>
3726
<td> ) </td>
3727
<td width="100%"><br>
3732
<div class="memdoc">
3735
Get number of value entries from a CTL element id/info.
3737
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3738
<table border="0" cellpadding="0" cellspacing="2">
3739
<tbody><tr><td valign="top"><br>
3740
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3743
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value entries count </dd></dl>
3747
<a class="anchor" name="g415721b5ec822cf3513d24d8462f439c"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_device" ref="g415721b5ec822cf3513d24d8462f439c" args="(const snd_ctl_elem_info_t *obj)" -->
3748
</p><div class="memitem">
3749
<div class="memproto">
3750
<table class="memname">
3752
<td class="memname">unsigned int snd_ctl_elem_info_get_device </td>
3754
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3755
<td class="paramname"> <em>obj</em> </td>
3756
<td> ) </td>
3757
<td width="100%"><br>
3762
<div class="memdoc">
3765
Get device part of CTL element identifier of a CTL element id/info.
3767
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3768
<table border="0" cellpadding="0" cellspacing="2">
3769
<tbody><tr><td valign="top"><br>
3770
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3773
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>device part of element identifier </dd></dl>
3777
<a class="anchor" name="g5a1a04b7bb3b709ccbe9329e2606eb54"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_dimension" ref="g5a1a04b7bb3b709ccbe9329e2606eb54" args="(const snd_ctl_elem_info_t *obj, unsigned int idx)" -->
3778
</p><div class="memitem">
3779
<div class="memproto">
3780
<table class="memname">
3782
<td class="memname">int snd_ctl_elem_info_get_dimension </td>
3784
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3785
<td class="paramname"> <em>obj</em>, </td>
3788
<td class="paramkey"><br>
3792
<td class="paramtype">unsigned int </td>
3793
<td class="paramname"> <em>idx</em></td><td> </td>
3801
</td><td width="100%"><br>
3806
<div class="memdoc">
3809
Get specified of dimension width for given element.
3811
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3812
<table border="0" cellpadding="0" cellspacing="2">
3813
<tbody><tr><td valign="top"><br>
3814
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3815
<tr><td valign="top"><br>
3816
</td><td valign="top"><em>idx</em> </td><td>The dimension index </td></tr>
3819
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero value if no dimension width is defined, otherwise positive value with with of specified dimension </dd></dl>
3823
<a class="anchor" name="g83fcd87320eb24021b4ea730da1448d8"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_dimensions" ref="g83fcd87320eb24021b4ea730da1448d8" args="(const snd_ctl_elem_info_t *obj)" -->
3824
</p><div class="memitem">
3825
<div class="memproto">
3826
<table class="memname">
3828
<td class="memname">int snd_ctl_elem_info_get_dimensions </td>
3830
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3831
<td class="paramname"> <em>obj</em> </td>
3832
<td> ) </td>
3833
<td width="100%"><br>
3838
<div class="memdoc">
3841
Get count of dimensions for given element.
3843
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3844
<table border="0" cellpadding="0" cellspacing="2">
3845
<tbody><tr><td valign="top"><br>
3846
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3849
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero value if no dimensions are defined, otherwise positive value with count of dimensions </dd></dl>
3853
<a class="anchor" name="g33d84cba10476637c8059801d564cbbd"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_id" ref="g33d84cba10476637c8059801d564cbbd" args="(const snd_ctl_elem_info_t *obj, snd_ctl_elem_id_t *ptr)" -->
3854
</p><div class="memitem">
3855
<div class="memproto">
3856
<table class="memname">
3858
<td class="memname">void snd_ctl_elem_info_get_id </td>
3860
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3861
<td class="paramname"> <em>obj</em>, </td>
3864
<td class="paramkey"><br>
3868
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
3869
<td class="paramname"> <em>ptr</em></td><td> </td>
3877
</td><td width="100%"><br>
3882
<div class="memdoc">
3885
Get CTL element identifier of a CTL element id/info.
3887
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3888
<table border="0" cellpadding="0" cellspacing="2">
3889
<tbody><tr><td valign="top"><br>
3890
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3891
<tr><td valign="top"><br>
3892
</td><td valign="top"><em>ptr</em> </td><td>Pointer to returned CTL element identifier </td></tr>
3898
<a class="anchor" name="g63e363c65c797965b7b0bb84d2895f52"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_index" ref="g63e363c65c797965b7b0bb84d2895f52" args="(const snd_ctl_elem_info_t *obj)" -->
3899
</p><div class="memitem">
3900
<div class="memproto">
3901
<table class="memname">
3903
<td class="memname">unsigned int snd_ctl_elem_info_get_index </td>
3905
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3906
<td class="paramname"> <em>obj</em> </td>
3907
<td> ) </td>
3908
<td width="100%"><br>
3913
<div class="memdoc">
3916
Get index part of CTL element identifier of a CTL element id/info.
3918
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3919
<table border="0" cellpadding="0" cellspacing="2">
3920
<tbody><tr><td valign="top"><br>
3921
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3924
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>index part of element identifier </dd></dl>
3928
<a class="anchor" name="g6e520249150bc19ac45602260a069acd"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_interface" ref="g6e520249150bc19ac45602260a069acd" args="(const snd_ctl_elem_info_t *obj)" -->
3929
</p><div class="memitem">
3930
<div class="memproto">
3931
<table class="memname">
3933
<td class="memname"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> snd_ctl_elem_info_get_interface </td>
3935
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3936
<td class="paramname"> <em>obj</em> </td>
3937
<td> ) </td>
3938
<td width="100%"><br>
3943
<div class="memdoc">
3946
Get interface part of CTL element identifier of a CTL element id/info.
3948
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3949
<table border="0" cellpadding="0" cellspacing="2">
3950
<tbody><tr><td valign="top"><br>
3951
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3954
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>interface part of element identifier </dd></dl>
3958
<a class="anchor" name="g8fdab5e19d83d8dc4664e108ce067a29"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_item_name" ref="g8fdab5e19d83d8dc4664e108ce067a29" args="(const snd_ctl_elem_info_t *obj)" -->
3959
</p><div class="memitem">
3960
<div class="memproto">
3961
<table class="memname">
3963
<td class="memname">const char* snd_ctl_elem_info_get_item_name </td>
3965
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3966
<td class="paramname"> <em>obj</em> </td>
3967
<td> ) </td>
3968
<td width="100%"><br>
3973
<div class="memdoc">
3976
Get name for selected item in a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info.
3978
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
3979
<table border="0" cellpadding="0" cellspacing="2">
3980
<tbody><tr><td valign="top"><br>
3981
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
3984
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name of chosen item </dd></dl>
3988
<a class="anchor" name="gbc20ad3bf868a14fc093faca637d9785"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_items" ref="gbc20ad3bf868a14fc093faca637d9785" args="(const snd_ctl_elem_info_t *obj)" -->
3989
</p><div class="memitem">
3990
<div class="memproto">
3991
<table class="memname">
3993
<td class="memname">unsigned int snd_ctl_elem_info_get_items </td>
3995
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
3996
<td class="paramname"> <em>obj</em> </td>
3997
<td> ) </td>
3998
<td width="100%"><br>
4003
<div class="memdoc">
4006
Get number of items available from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info.
4008
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4009
<table border="0" cellpadding="0" cellspacing="2">
4010
<tbody><tr><td valign="top"><br>
4011
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4014
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>items count </dd></dl>
4018
<a class="anchor" name="gea1e77d2bb7328f7f1551ab1dd29e26d"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_max" ref="gea1e77d2bb7328f7f1551ab1dd29e26d" args="(const snd_ctl_elem_info_t *obj)" -->
4019
</p><div class="memitem">
4020
<div class="memproto">
4021
<table class="memname">
4023
<td class="memname">long snd_ctl_elem_info_get_max </td>
4025
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4026
<td class="paramname"> <em>obj</em> </td>
4027
<td> ) </td>
4028
<td width="100%"><br>
4033
<div class="memdoc">
4036
Get maximum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info.
4038
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4039
<table border="0" cellpadding="0" cellspacing="2">
4040
<tbody><tr><td valign="top"><br>
4041
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4044
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Maximum value </dd></dl>
4048
<a class="anchor" name="g9dfc325cef20fe1cd87f0898c4519fe4"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_max64" ref="g9dfc325cef20fe1cd87f0898c4519fe4" args="(const snd_ctl_elem_info_t *obj)" -->
4049
</p><div class="memitem">
4050
<div class="memproto">
4051
<table class="memname">
4053
<td class="memname">long long snd_ctl_elem_info_get_max64 </td>
4055
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4056
<td class="paramname"> <em>obj</em> </td>
4057
<td> ) </td>
4058
<td width="100%"><br>
4063
<div class="memdoc">
4066
Get maximum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info.
4068
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4069
<table border="0" cellpadding="0" cellspacing="2">
4070
<tbody><tr><td valign="top"><br>
4071
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4074
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Maximum value </dd></dl>
4078
<a class="anchor" name="g0059e49e835b793a4d77013a55049fb2"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_min" ref="g0059e49e835b793a4d77013a55049fb2" args="(const snd_ctl_elem_info_t *obj)" -->
4079
</p><div class="memitem">
4080
<div class="memproto">
4081
<table class="memname">
4083
<td class="memname">long snd_ctl_elem_info_get_min </td>
4085
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4086
<td class="paramname"> <em>obj</em> </td>
4087
<td> ) </td>
4088
<td width="100%"><br>
4093
<div class="memdoc">
4096
Get minimum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info.
4098
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4099
<table border="0" cellpadding="0" cellspacing="2">
4100
<tbody><tr><td valign="top"><br>
4101
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4104
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Minimum value </dd></dl>
4108
<a class="anchor" name="g869a462b414baa1ac60002657b9fcc3c"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_min64" ref="g869a462b414baa1ac60002657b9fcc3c" args="(const snd_ctl_elem_info_t *obj)" -->
4109
</p><div class="memitem">
4110
<div class="memproto">
4111
<table class="memname">
4113
<td class="memname">long long snd_ctl_elem_info_get_min64 </td>
4115
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4116
<td class="paramname"> <em>obj</em> </td>
4117
<td> ) </td>
4118
<td width="100%"><br>
4123
<div class="memdoc">
4126
Get minimum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info.
4128
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4129
<table border="0" cellpadding="0" cellspacing="2">
4130
<tbody><tr><td valign="top"><br>
4131
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4134
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Minimum value </dd></dl>
4138
<a class="anchor" name="gccb50681c6420b75812eaf9fbd417b9f"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_name" ref="gccb50681c6420b75812eaf9fbd417b9f" args="(const snd_ctl_elem_info_t *obj)" -->
4139
</p><div class="memitem">
4140
<div class="memproto">
4141
<table class="memname">
4143
<td class="memname">const char* snd_ctl_elem_info_get_name </td>
4145
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4146
<td class="paramname"> <em>obj</em> </td>
4147
<td> ) </td>
4148
<td width="100%"><br>
4153
<div class="memdoc">
4156
Get name part of CTL element identifier of a CTL element id/info.
4158
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4159
<table border="0" cellpadding="0" cellspacing="2">
4160
<tbody><tr><td valign="top"><br>
4161
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4164
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name part of element identifier </dd></dl>
4168
<a class="anchor" name="g717b663317e4bf844909f25d842bebd6"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_numid" ref="g717b663317e4bf844909f25d842bebd6" args="(const snd_ctl_elem_info_t *obj)" -->
4169
</p><div class="memitem">
4170
<div class="memproto">
4171
<table class="memname">
4173
<td class="memname">unsigned int snd_ctl_elem_info_get_numid </td>
4175
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4176
<td class="paramname"> <em>obj</em> </td>
4177
<td> ) </td>
4178
<td width="100%"><br>
4183
<div class="memdoc">
4186
Get element numeric identifier of a CTL element id/info.
4188
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4189
<table border="0" cellpadding="0" cellspacing="2">
4190
<tbody><tr><td valign="top"><br>
4191
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4194
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>element numeric identifier </dd></dl>
4198
<a class="anchor" name="g54ee26ba57ff26763938b088d4807fc9"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_owner" ref="g54ee26ba57ff26763938b088d4807fc9" args="(const snd_ctl_elem_info_t *obj)" -->
4199
</p><div class="memitem">
4200
<div class="memproto">
4201
<table class="memname">
4203
<td class="memname">pid_t snd_ctl_elem_info_get_owner </td>
4205
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4206
<td class="paramname"> <em>obj</em> </td>
4207
<td> ) </td>
4208
<td width="100%"><br>
4213
<div class="memdoc">
4216
Get owner of a locked element.
4218
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4219
<table border="0" cellpadding="0" cellspacing="2">
4220
<tbody><tr><td valign="top"><br>
4221
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4224
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value entries count </dd></dl>
4228
<a class="anchor" name="g10d5317bf0a7849b102ffec95ed7b6e1"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_step" ref="g10d5317bf0a7849b102ffec95ed7b6e1" args="(const snd_ctl_elem_info_t *obj)" -->
4229
</p><div class="memitem">
4230
<div class="memproto">
4231
<table class="memname">
4233
<td class="memname">long snd_ctl_elem_info_get_step </td>
4235
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4236
<td class="paramname"> <em>obj</em> </td>
4237
<td> ) </td>
4238
<td width="100%"><br>
4243
<div class="memdoc">
4246
Get value step from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info.
4248
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4249
<table border="0" cellpadding="0" cellspacing="2">
4250
<tbody><tr><td valign="top"><br>
4251
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4254
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Step </dd></dl>
4258
<a class="anchor" name="g111a97cf42e669606340726f981077f0"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_step64" ref="g111a97cf42e669606340726f981077f0" args="(const snd_ctl_elem_info_t *obj)" -->
4259
</p><div class="memitem">
4260
<div class="memproto">
4261
<table class="memname">
4263
<td class="memname">long long snd_ctl_elem_info_get_step64 </td>
4265
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4266
<td class="paramname"> <em>obj</em> </td>
4267
<td> ) </td>
4268
<td width="100%"><br>
4273
<div class="memdoc">
4276
Get value step from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info.
4278
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4279
<table border="0" cellpadding="0" cellspacing="2">
4280
<tbody><tr><td valign="top"><br>
4281
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4284
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Step </dd></dl>
4288
<a class="anchor" name="gaad1903bed9eed93c70541c10353993d"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_subdevice" ref="gaad1903bed9eed93c70541c10353993d" args="(const snd_ctl_elem_info_t *obj)" -->
4289
</p><div class="memitem">
4290
<div class="memproto">
4291
<table class="memname">
4293
<td class="memname">unsigned int snd_ctl_elem_info_get_subdevice </td>
4295
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4296
<td class="paramname"> <em>obj</em> </td>
4297
<td> ) </td>
4298
<td width="100%"><br>
4303
<div class="memdoc">
4306
Get subdevice part of CTL element identifier of a CTL element id/info.
4308
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4309
<table border="0" cellpadding="0" cellspacing="2">
4310
<tbody><tr><td valign="top"><br>
4311
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4314
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>subdevice part of element identifier </dd></dl>
4318
<a class="anchor" name="g7f29ce4ff803460d77b24d96198e0965"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_get_type" ref="g7f29ce4ff803460d77b24d96198e0965" args="(const snd_ctl_elem_info_t *obj)" -->
4319
</p><div class="memitem">
4320
<div class="memproto">
4321
<table class="memname">
4323
<td class="memname"><a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a> snd_ctl_elem_info_get_type </td>
4325
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4326
<td class="paramname"> <em>obj</em> </td>
4327
<td> ) </td>
4328
<td width="100%"><br>
4333
<div class="memdoc">
4336
Get type from a CTL element id/info.
4338
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4339
<table border="0" cellpadding="0" cellspacing="2">
4340
<tbody><tr><td valign="top"><br>
4341
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4344
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element content type </dd></dl>
4348
<a class="anchor" name="gb884ae23e242ea5e5a2127947ef27ef8"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_inactive" ref="gb884ae23e242ea5e5a2127947ef27ef8" args="(const snd_ctl_elem_info_t *obj)" -->
4349
</p><div class="memitem">
4350
<div class="memproto">
4351
<table class="memname">
4353
<td class="memname">int snd_ctl_elem_info_is_inactive </td>
4355
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4356
<td class="paramname"> <em>obj</em> </td>
4357
<td> ) </td>
4358
<td width="100%"><br>
4363
<div class="memdoc">
4366
Get info about status from a CTL element id/info.
4368
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4369
<table border="0" cellpadding="0" cellspacing="2">
4370
<tbody><tr><td valign="top"><br>
4371
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4374
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element value is not active, 1 if is active </dd></dl>
4378
<a class="anchor" name="gd47689714d65647c15d281c64ca1ac48"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_locked" ref="gd47689714d65647c15d281c64ca1ac48" args="(const snd_ctl_elem_info_t *obj)" -->
4379
</p><div class="memitem">
4380
<div class="memproto">
4381
<table class="memname">
4383
<td class="memname">int snd_ctl_elem_info_is_locked </td>
4385
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4386
<td class="paramname"> <em>obj</em> </td>
4387
<td> ) </td>
4388
<td width="100%"><br>
4393
<div class="memdoc">
4396
Get info whether an element is locked.
4398
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4399
<table border="0" cellpadding="0" cellspacing="2">
4400
<tbody><tr><td valign="top"><br>
4401
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4404
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element value is currently changeable, 1 if it's locked by another application </dd></dl>
4408
<a class="anchor" name="g1fef7dbe3b56ff82d6fd13d290ecdf31"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_owner" ref="g1fef7dbe3b56ff82d6fd13d290ecdf31" args="(const snd_ctl_elem_info_t *obj)" -->
4409
</p><div class="memitem">
4410
<div class="memproto">
4411
<table class="memname">
4413
<td class="memname">int snd_ctl_elem_info_is_owner </td>
4415
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4416
<td class="paramname"> <em>obj</em> </td>
4417
<td> ) </td>
4418
<td width="100%"><br>
4423
<div class="memdoc">
4426
Get info if I own an element.
4428
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4429
<table border="0" cellpadding="0" cellspacing="2">
4430
<tbody><tr><td valign="top"><br>
4431
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4434
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element value is currently changeable, 1 if it's locked by another application </dd></dl>
4438
<a class="anchor" name="gc2267701a47c8acf6f0326a0535fc317"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_readable" ref="gc2267701a47c8acf6f0326a0535fc317" args="(const snd_ctl_elem_info_t *obj)" -->
4439
</p><div class="memitem">
4440
<div class="memproto">
4441
<table class="memname">
4443
<td class="memname">int snd_ctl_elem_info_is_readable </td>
4445
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4446
<td class="paramname"> <em>obj</em> </td>
4447
<td> ) </td>
4448
<td width="100%"><br>
4453
<div class="memdoc">
4456
Get info about readability from a CTL element id/info.
4458
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4459
<table border="0" cellpadding="0" cellspacing="2">
4460
<tbody><tr><td valign="top"><br>
4461
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4464
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element is not readable, 1 if element is readable </dd></dl>
4468
<a class="anchor" name="g8edc2648f35f6788f696cd73ebe502e0"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_tlv_commandable" ref="g8edc2648f35f6788f696cd73ebe502e0" args="(const snd_ctl_elem_info_t *obj)" -->
4469
</p><div class="memitem">
4470
<div class="memproto">
4471
<table class="memname">
4473
<td class="memname">int snd_ctl_elem_info_is_tlv_commandable </td>
4475
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4476
<td class="paramname"> <em>obj</em> </td>
4477
<td> ) </td>
4478
<td width="100%"><br>
4483
<div class="memdoc">
4486
Get info about TLV command possibility from a CTL element id/info.
4488
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4489
<table border="0" cellpadding="0" cellspacing="2">
4490
<tbody><tr><td valign="top"><br>
4491
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4494
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element's TLV command is not possible, 1 if element's TLV command is supported </dd></dl>
4498
<a class="anchor" name="geae7a566440bac0985f505a35730cd30"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_tlv_readable" ref="geae7a566440bac0985f505a35730cd30" args="(const snd_ctl_elem_info_t *obj)" -->
4499
</p><div class="memitem">
4500
<div class="memproto">
4501
<table class="memname">
4503
<td class="memname">int snd_ctl_elem_info_is_tlv_readable </td>
4505
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4506
<td class="paramname"> <em>obj</em> </td>
4507
<td> ) </td>
4508
<td width="100%"><br>
4513
<div class="memdoc">
4516
Get info about TLV readability from a CTL element id/info.
4518
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4519
<table border="0" cellpadding="0" cellspacing="2">
4520
<tbody><tr><td valign="top"><br>
4521
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4524
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element's TLV is not readable, 1 if element's TLV is readable </dd></dl>
4528
<a class="anchor" name="g41034371f820a9b290beaac024eeb9c8"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_tlv_writable" ref="g41034371f820a9b290beaac024eeb9c8" args="(const snd_ctl_elem_info_t *obj)" -->
4529
</p><div class="memitem">
4530
<div class="memproto">
4531
<table class="memname">
4533
<td class="memname">int snd_ctl_elem_info_is_tlv_writable </td>
4535
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4536
<td class="paramname"> <em>obj</em> </td>
4537
<td> ) </td>
4538
<td width="100%"><br>
4543
<div class="memdoc">
4546
Get info about TLV writeability from a CTL element id/info.
4548
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4549
<table border="0" cellpadding="0" cellspacing="2">
4550
<tbody><tr><td valign="top"><br>
4551
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4554
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element's TLV is not writable, 1 if element's TLV is writable </dd></dl>
4558
<a class="anchor" name="gd9be64847649ea097cbd7c5bd98bbfe3"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_user" ref="gd9be64847649ea097cbd7c5bd98bbfe3" args="(const snd_ctl_elem_info_t *obj)" -->
4559
</p><div class="memitem">
4560
<div class="memproto">
4561
<table class="memname">
4563
<td class="memname">int snd_ctl_elem_info_is_user </td>
4565
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4566
<td class="paramname"> <em>obj</em> </td>
4567
<td> ) </td>
4568
<td width="100%"><br>
4573
<div class="memdoc">
4576
Get info if it's a user element.
4578
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4579
<table border="0" cellpadding="0" cellspacing="2">
4580
<tbody><tr><td valign="top"><br>
4581
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4584
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element value is a system element, 1 if it's a user-created element </dd></dl>
4588
<a class="anchor" name="g7bf9f649eca51aaf5dd754a2bb27b962"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_volatile" ref="g7bf9f649eca51aaf5dd754a2bb27b962" args="(const snd_ctl_elem_info_t *obj)" -->
4589
</p><div class="memitem">
4590
<div class="memproto">
4591
<table class="memname">
4593
<td class="memname">int snd_ctl_elem_info_is_volatile </td>
4595
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4596
<td class="paramname"> <em>obj</em> </td>
4597
<td> ) </td>
4598
<td width="100%"><br>
4603
<div class="memdoc">
4606
Get info about notification feasibility from a CTL element id/info.
4608
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4609
<table border="0" cellpadding="0" cellspacing="2">
4610
<tbody><tr><td valign="top"><br>
4611
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4614
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if all element value changes are notified to subscribed applications, 1 otherwise </dd></dl>
4618
<a class="anchor" name="gd211d4d7448e3907763cda165736935d"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_is_writable" ref="gd211d4d7448e3907763cda165736935d" args="(const snd_ctl_elem_info_t *obj)" -->
4619
</p><div class="memitem">
4620
<div class="memproto">
4621
<table class="memname">
4623
<td class="memname">int snd_ctl_elem_info_is_writable </td>
4625
<td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4626
<td class="paramname"> <em>obj</em> </td>
4627
<td> ) </td>
4628
<td width="100%"><br>
4633
<div class="memdoc">
4636
Get info about writability from a CTL element id/info.
4638
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4639
<table border="0" cellpadding="0" cellspacing="2">
4640
<tbody><tr><td valign="top"><br>
4641
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4644
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if element is not writable, 1 if element is not writable </dd></dl>
4648
<a class="anchor" name="gb2f0e984199bb422567556a5690d77df"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_malloc" ref="gb2f0e984199bb422567556a5690d77df" args="(snd_ctl_elem_info_t **ptr)" -->
4649
</p><div class="memitem">
4650
<div class="memproto">
4651
<table class="memname">
4653
<td class="memname">int snd_ctl_elem_info_malloc </td>
4655
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> ** </td>
4656
<td class="paramname"> <em>ptr</em> </td>
4657
<td> ) </td>
4658
<td width="100%"><br>
4663
<div class="memdoc">
4666
allocate an invalid <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> using standard malloc
4668
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4669
<table border="0" cellpadding="0" cellspacing="2">
4670
<tbody><tr><td valign="top"><br>
4671
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
4674
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
4678
<a class="anchor" name="g3517e4c6376a2b76628026b8c3e0c234"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_device" ref="g3517e4c6376a2b76628026b8c3e0c234" args="(snd_ctl_elem_info_t *obj, unsigned int val)" -->
4679
</p><div class="memitem">
4680
<div class="memproto">
4681
<table class="memname">
4683
<td class="memname">void snd_ctl_elem_info_set_device </td>
4685
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4686
<td class="paramname"> <em>obj</em>, </td>
4689
<td class="paramkey"><br>
4693
<td class="paramtype">unsigned int </td>
4694
<td class="paramname"> <em>val</em></td><td> </td>
4702
</td><td width="100%"><br>
4707
<div class="memdoc">
4710
Set device part of CTL element identifier of a CTL element id/info.
4712
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4713
<table border="0" cellpadding="0" cellspacing="2">
4714
<tbody><tr><td valign="top"><br>
4715
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4716
<tr><td valign="top"><br>
4717
</td><td valign="top"><em>val</em> </td><td>device part of element identifier </td></tr>
4723
<a class="anchor" name="g60ba7276e88e0e3a84211b3879d877f8"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_id" ref="g60ba7276e88e0e3a84211b3879d877f8" args="(snd_ctl_elem_info_t *obj, const snd_ctl_elem_id_t *ptr)" -->
4724
</p><div class="memitem">
4725
<div class="memproto">
4726
<table class="memname">
4728
<td class="memname">void snd_ctl_elem_info_set_id </td>
4730
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4731
<td class="paramname"> <em>obj</em>, </td>
4734
<td class="paramkey"><br>
4738
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
4739
<td class="paramname"> <em>ptr</em></td><td> </td>
4747
</td><td width="100%"><br>
4752
<div class="memdoc">
4755
Set CTL element identifier of a CTL element id/info.
4757
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4758
<table border="0" cellpadding="0" cellspacing="2">
4759
<tbody><tr><td valign="top"><br>
4760
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4761
<tr><td valign="top"><br>
4762
</td><td valign="top"><em>ptr</em> </td><td>CTL element identifier </td></tr>
4768
<a class="anchor" name="g15a3dae5336e9d90cd7818bccf78be8a"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_index" ref="g15a3dae5336e9d90cd7818bccf78be8a" args="(snd_ctl_elem_info_t *obj, unsigned int val)" -->
4769
</p><div class="memitem">
4770
<div class="memproto">
4771
<table class="memname">
4773
<td class="memname">void snd_ctl_elem_info_set_index </td>
4775
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4776
<td class="paramname"> <em>obj</em>, </td>
4779
<td class="paramkey"><br>
4783
<td class="paramtype">unsigned int </td>
4784
<td class="paramname"> <em>val</em></td><td> </td>
4792
</td><td width="100%"><br>
4797
<div class="memdoc">
4800
Set index part of CTL element identifier of a CTL element id/info.
4802
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4803
<table border="0" cellpadding="0" cellspacing="2">
4804
<tbody><tr><td valign="top"><br>
4805
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4806
<tr><td valign="top"><br>
4807
</td><td valign="top"><em>val</em> </td><td>index part of element identifier </td></tr>
4813
<a class="anchor" name="g018026dfd3a92ae39c237d936c180a03"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_interface" ref="g018026dfd3a92ae39c237d936c180a03" args="(snd_ctl_elem_info_t *obj, snd_ctl_elem_iface_t val)" -->
4814
</p><div class="memitem">
4815
<div class="memproto">
4816
<table class="memname">
4818
<td class="memname">void snd_ctl_elem_info_set_interface </td>
4820
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4821
<td class="paramname"> <em>obj</em>, </td>
4824
<td class="paramkey"><br>
4828
<td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td>
4829
<td class="paramname"> <em>val</em></td><td> </td>
4837
</td><td width="100%"><br>
4842
<div class="memdoc">
4845
Set interface part of CTL element identifier of a CTL element id/info.
4847
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4848
<table border="0" cellpadding="0" cellspacing="2">
4849
<tbody><tr><td valign="top"><br>
4850
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4851
<tr><td valign="top"><br>
4852
</td><td valign="top"><em>val</em> </td><td>interface part of element identifier </td></tr>
4858
<a class="anchor" name="g54369047c806dae237395725196d6dcd"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_item" ref="g54369047c806dae237395725196d6dcd" args="(snd_ctl_elem_info_t *obj, unsigned int val)" -->
4859
</p><div class="memitem">
4860
<div class="memproto">
4861
<table class="memname">
4863
<td class="memname">void snd_ctl_elem_info_set_item </td>
4865
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4866
<td class="paramname"> <em>obj</em>, </td>
4869
<td class="paramkey"><br>
4873
<td class="paramtype">unsigned int </td>
4874
<td class="paramname"> <em>val</em></td><td> </td>
4882
</td><td width="100%"><br>
4887
<div class="memdoc">
4890
Select item in a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info.
4892
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4893
<table border="0" cellpadding="0" cellspacing="2">
4894
<tbody><tr><td valign="top"><br>
4895
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4896
<tr><td valign="top"><br>
4897
</td><td valign="top"><em>val</em> </td><td>item number </td></tr>
4903
<a class="anchor" name="g9243bf1caad6ef2dd8bf831a672a08fe"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_name" ref="g9243bf1caad6ef2dd8bf831a672a08fe" args="(snd_ctl_elem_info_t *obj, const char *val)" -->
4904
</p><div class="memitem">
4905
<div class="memproto">
4906
<table class="memname">
4908
<td class="memname">void snd_ctl_elem_info_set_name </td>
4910
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4911
<td class="paramname"> <em>obj</em>, </td>
4914
<td class="paramkey"><br>
4918
<td class="paramtype">const char * </td>
4919
<td class="paramname"> <em>val</em></td><td> </td>
4927
</td><td width="100%"><br>
4932
<div class="memdoc">
4935
Set name part of CTL element identifier of a CTL element id/info.
4937
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4938
<table border="0" cellpadding="0" cellspacing="2">
4939
<tbody><tr><td valign="top"><br>
4940
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4941
<tr><td valign="top"><br>
4942
</td><td valign="top"><em>val</em> </td><td>name part of element identifier </td></tr>
4948
<a class="anchor" name="g78d6a6394a153ddf91e26aba4d75794c"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_numid" ref="g78d6a6394a153ddf91e26aba4d75794c" args="(snd_ctl_elem_info_t *obj, unsigned int val)" -->
4949
</p><div class="memitem">
4950
<div class="memproto">
4951
<table class="memname">
4953
<td class="memname">void snd_ctl_elem_info_set_numid </td>
4955
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
4956
<td class="paramname"> <em>obj</em>, </td>
4959
<td class="paramkey"><br>
4963
<td class="paramtype">unsigned int </td>
4964
<td class="paramname"> <em>val</em></td><td> </td>
4972
</td><td width="100%"><br>
4977
<div class="memdoc">
4980
Set element numeric identifier of a CTL element id/info.
4982
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
4983
<table border="0" cellpadding="0" cellspacing="2">
4984
<tbody><tr><td valign="top"><br>
4985
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
4986
<tr><td valign="top"><br>
4987
</td><td valign="top"><em>val</em> </td><td>element numeric identifier </td></tr>
4993
<a class="anchor" name="g68806fadd7fb644c6dab5c08e99a6d0d"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_set_subdevice" ref="g68806fadd7fb644c6dab5c08e99a6d0d" args="(snd_ctl_elem_info_t *obj, unsigned int val)" -->
4994
</p><div class="memitem">
4995
<div class="memproto">
4996
<table class="memname">
4998
<td class="memname">void snd_ctl_elem_info_set_subdevice </td>
5000
<td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> * </td>
5001
<td class="paramname"> <em>obj</em>, </td>
5004
<td class="paramkey"><br>
5008
<td class="paramtype">unsigned int </td>
5009
<td class="paramname"> <em>val</em></td><td> </td>
5017
</td><td width="100%"><br>
5022
<div class="memdoc">
5025
Set subdevice part of CTL element identifier of a CTL element id/info.
5027
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5028
<table border="0" cellpadding="0" cellspacing="2">
5029
<tbody><tr><td valign="top"><br>
5030
</td><td valign="top"><em>obj</em> </td><td>CTL element id/info </td></tr>
5031
<tr><td valign="top"><br>
5032
</td><td valign="top"><em>val</em> </td><td>subdevice part of element identifier </td></tr>
5038
<a class="anchor" name="gf578c56fe5377697876bf3ef878e1de8"></a><!-- doxytag: member="control.h::snd_ctl_elem_info_sizeof" ref="gf578c56fe5377697876bf3ef878e1de8" args="(void)" -->
5039
</p><div class="memitem">
5040
<div class="memproto">
5041
<table class="memname">
5043
<td class="memname">size_t snd_ctl_elem_info_sizeof </td>
5045
<td class="paramtype">void </td>
5046
<td class="paramname"> <br>
5048
<td> ) </td>
5049
<td width="100%"><br>
5054
<div class="memdoc">
5057
get size of <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a>
5059
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
5063
<a class="anchor" name="gb14bf34589c8e1c2547e3112f0739f4e"></a><!-- doxytag: member="control.h::snd_ctl_elem_list" ref="gb14bf34589c8e1c2547e3112f0739f4e" args="(snd_ctl_t *ctl, snd_ctl_elem_list_t *list)" -->
5064
</p><div class="memitem">
5065
<div class="memproto">
5066
<table class="memname">
5068
<td class="memname">int snd_ctl_elem_list </td>
5070
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
5071
<td class="paramname"> <em>ctl</em>, </td>
5074
<td class="paramkey"><br>
5078
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5079
<td class="paramname"> <em>list</em></td><td> </td>
5087
</td><td width="100%"><br>
5092
<div class="memdoc">
5095
Get a list of element identifiers.
5097
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5098
<table border="0" cellpadding="0" cellspacing="2">
5099
<tbody><tr><td valign="top"><br>
5100
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
5101
<tr><td valign="top"><br>
5102
</td><td valign="top"><em>list</em> </td><td>CTL element identifiers list pointer </td></tr>
5105
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
5109
<a class="anchor" name="g62dcadc682522fe0a9df391a9d16be31"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_alloc_space" ref="g62dcadc682522fe0a9df391a9d16be31" args="(snd_ctl_elem_list_t *obj, unsigned int entries)" -->
5110
</p><div class="memitem">
5111
<div class="memproto">
5112
<table class="memname">
5114
<td class="memname">int snd_ctl_elem_list_alloc_space </td>
5116
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5117
<td class="paramname"> <em>obj</em>, </td>
5120
<td class="paramkey"><br>
5124
<td class="paramtype">unsigned int </td>
5125
<td class="paramname"> <em>entries</em></td><td> </td>
5133
</td><td width="100%"><br>
5138
<div class="memdoc">
5141
allocate space for CTL element identifiers list
5143
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5144
<table border="0" cellpadding="0" cellspacing="2">
5145
<tbody><tr><td valign="top"><br>
5146
</td><td valign="top"><em>obj</em> </td><td>CTL element identifiers list </td></tr>
5147
<tr><td valign="top"><br>
5148
</td><td valign="top"><em>entries</em> </td><td>Entries to allocate </td></tr>
5151
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
5155
<a class="anchor" name="gb85c4c39e5b95cb8358655d966f40f51"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_clear" ref="gb85c4c39e5b95cb8358655d966f40f51" args="(snd_ctl_elem_list_t *obj)" -->
5156
</p><div class="memitem">
5157
<div class="memproto">
5158
<table class="memname">
5160
<td class="memname">void snd_ctl_elem_list_clear </td>
5162
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5163
<td class="paramname"> <em>obj</em> </td>
5164
<td> ) </td>
5165
<td width="100%"><br>
5170
<div class="memdoc">
5173
clear given <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> object
5175
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5176
<table border="0" cellpadding="0" cellspacing="2">
5177
<tbody><tr><td valign="top"><br>
5178
</td><td valign="top"><em>obj</em> </td><td>pointer to object to clear </td></tr>
5184
<a class="anchor" name="ged5541ef8959060a80c7f332935018f5"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_copy" ref="ged5541ef8959060a80c7f332935018f5" args="(snd_ctl_elem_list_t *dst, const snd_ctl_elem_list_t *src)" -->
5185
</p><div class="memitem">
5186
<div class="memproto">
5187
<table class="memname">
5189
<td class="memname">void snd_ctl_elem_list_copy </td>
5191
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5192
<td class="paramname"> <em>dst</em>, </td>
5195
<td class="paramkey"><br>
5199
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5200
<td class="paramname"> <em>src</em></td><td> </td>
5208
</td><td width="100%"><br>
5213
<div class="memdoc">
5216
copy one <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> to another
5218
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5219
<table border="0" cellpadding="0" cellspacing="2">
5220
<tbody><tr><td valign="top"><br>
5221
</td><td valign="top"><em>dst</em> </td><td>pointer to destination </td></tr>
5222
<tr><td valign="top"><br>
5223
</td><td valign="top"><em>src</em> </td><td>pointer to source </td></tr>
5229
<a class="anchor" name="g4abd8a2a8598d862e949e9b7d8652771"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_free" ref="g4abd8a2a8598d862e949e9b7d8652771" args="(snd_ctl_elem_list_t *obj)" -->
5230
</p><div class="memitem">
5231
<div class="memproto">
5232
<table class="memname">
5234
<td class="memname">void snd_ctl_elem_list_free </td>
5236
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5237
<td class="paramname"> <em>obj</em> </td>
5238
<td> ) </td>
5239
<td width="100%"><br>
5244
<div class="memdoc">
5247
frees a previously allocated <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a>
5249
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5250
<table border="0" cellpadding="0" cellspacing="2">
5251
<tbody><tr><td valign="top"><br>
5252
</td><td valign="top"><em>obj</em> </td><td>pointer to object to free </td></tr>
5258
<a class="anchor" name="g08ddf515cd58c061134f47ad0801f372"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_free_space" ref="g08ddf515cd58c061134f47ad0801f372" args="(snd_ctl_elem_list_t *obj)" -->
5259
</p><div class="memitem">
5260
<div class="memproto">
5261
<table class="memname">
5263
<td class="memname">void snd_ctl_elem_list_free_space </td>
5265
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5266
<td class="paramname"> <em>obj</em> </td>
5267
<td> ) </td>
5268
<td width="100%"><br>
5273
<div class="memdoc">
5276
free previously allocated space for CTL element identifiers list
5278
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5279
<table border="0" cellpadding="0" cellspacing="2">
5280
<tbody><tr><td valign="top"><br>
5281
</td><td valign="top"><em>obj</em> </td><td>CTL element identifiers list </td></tr>
5287
<a class="anchor" name="gb2a1800d4b52662368f7bf70d1a4e8ec"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_count" ref="gb2a1800d4b52662368f7bf70d1a4e8ec" args="(const snd_ctl_elem_list_t *obj)" -->
5288
</p><div class="memitem">
5289
<div class="memproto">
5290
<table class="memname">
5292
<td class="memname">unsigned int snd_ctl_elem_list_get_count </td>
5294
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5295
<td class="paramname"> <em>obj</em> </td>
5296
<td> ) </td>
5297
<td width="100%"><br>
5302
<div class="memdoc">
5305
Get total count of elements present in CTL device (information present in every filled CTL element identifiers list).
5307
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5308
<table border="0" cellpadding="0" cellspacing="2">
5309
<tbody><tr><td valign="top"><br>
5310
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5313
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>total number of elements </dd></dl>
5317
<a class="anchor" name="gc1f4935e0dba778e6a4a073bcee0f8a6"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_device" ref="gc1f4935e0dba778e6a4a073bcee0f8a6" args="(const snd_ctl_elem_list_t *obj, unsigned int idx)" -->
5318
</p><div class="memitem">
5319
<div class="memproto">
5320
<table class="memname">
5322
<td class="memname">unsigned int snd_ctl_elem_list_get_device </td>
5324
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5325
<td class="paramname"> <em>obj</em>, </td>
5328
<td class="paramkey"><br>
5332
<td class="paramtype">unsigned int </td>
5333
<td class="paramname"> <em>idx</em></td><td> </td>
5341
</td><td width="100%"><br>
5346
<div class="memdoc">
5349
Get device part of CTL element identifier for an entry of a CTL element identifiers list.
5351
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5352
<table border="0" cellpadding="0" cellspacing="2">
5353
<tbody><tr><td valign="top"><br>
5354
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5355
<tr><td valign="top"><br>
5356
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5359
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related device </dd></dl>
5363
<a class="anchor" name="g723482a685d05910fc56db5177575ce0"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_id" ref="g723482a685d05910fc56db5177575ce0" args="(const snd_ctl_elem_list_t *obj, unsigned int idx, snd_ctl_elem_id_t *ptr)" -->
5364
</p><div class="memitem">
5365
<div class="memproto">
5366
<table class="memname">
5368
<td class="memname">void snd_ctl_elem_list_get_id </td>
5370
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5371
<td class="paramname"> <em>obj</em>, </td>
5374
<td class="paramkey"><br>
5378
<td class="paramtype">unsigned int </td>
5379
<td class="paramname"> <em>idx</em>, </td>
5382
<td class="paramkey"><br>
5386
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
5387
<td class="paramname"> <em>ptr</em></td><td> </td>
5395
</td><td width="100%"><br>
5400
<div class="memdoc">
5403
Get CTL element identifier for an entry of a CTL element identifiers list.
5405
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5406
<table border="0" cellpadding="0" cellspacing="2">
5407
<tbody><tr><td valign="top"><br>
5408
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5409
<tr><td valign="top"><br>
5410
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5411
<tr><td valign="top"><br>
5412
</td><td valign="top"><em>ptr</em> </td><td>Pointer to returned CTL element identifier </td></tr>
5418
<a class="anchor" name="g0cc0fb01308e30b927f1c46372dadcf5"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_index" ref="g0cc0fb01308e30b927f1c46372dadcf5" args="(const snd_ctl_elem_list_t *obj, unsigned int idx)" -->
5419
</p><div class="memitem">
5420
<div class="memproto">
5421
<table class="memname">
5423
<td class="memname">unsigned int snd_ctl_elem_list_get_index </td>
5425
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5426
<td class="paramname"> <em>obj</em>, </td>
5429
<td class="paramkey"><br>
5433
<td class="paramtype">unsigned int </td>
5434
<td class="paramname"> <em>idx</em></td><td> </td>
5442
</td><td width="100%"><br>
5447
<div class="memdoc">
5450
Get index part of CTL element identifier for an entry of a CTL element identifiers list.
5452
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5453
<table border="0" cellpadding="0" cellspacing="2">
5454
<tbody><tr><td valign="top"><br>
5455
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5456
<tr><td valign="top"><br>
5457
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5460
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element index </dd></dl>
5464
<a class="anchor" name="g5bdb5d78604d28a8c3fd49e51ac5fb9a"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_interface" ref="g5bdb5d78604d28a8c3fd49e51ac5fb9a" args="(const snd_ctl_elem_list_t *obj, unsigned int idx)" -->
5465
</p><div class="memitem">
5466
<div class="memproto">
5467
<table class="memname">
5469
<td class="memname"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> snd_ctl_elem_list_get_interface </td>
5471
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5472
<td class="paramname"> <em>obj</em>, </td>
5475
<td class="paramkey"><br>
5479
<td class="paramtype">unsigned int </td>
5480
<td class="paramname"> <em>idx</em></td><td> </td>
5488
</td><td width="100%"><br>
5493
<div class="memdoc">
5496
Get interface part of CTL element identifier for an entry of a CTL element identifiers list.
5498
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5499
<table border="0" cellpadding="0" cellspacing="2">
5500
<tbody><tr><td valign="top"><br>
5501
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5502
<tr><td valign="top"><br>
5503
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5506
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related interface </dd></dl>
5510
<a class="anchor" name="g90b3e2fb36663a669882cd5fe952d3a2"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_name" ref="g90b3e2fb36663a669882cd5fe952d3a2" args="(const snd_ctl_elem_list_t *obj, unsigned int idx)" -->
5511
</p><div class="memitem">
5512
<div class="memproto">
5513
<table class="memname">
5515
<td class="memname">const char* snd_ctl_elem_list_get_name </td>
5517
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5518
<td class="paramname"> <em>obj</em>, </td>
5521
<td class="paramkey"><br>
5525
<td class="paramtype">unsigned int </td>
5526
<td class="paramname"> <em>idx</em></td><td> </td>
5534
</td><td width="100%"><br>
5539
<div class="memdoc">
5542
Get name part of CTL element identifier for an entry of a CTL element identifiers list.
5544
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5545
<table border="0" cellpadding="0" cellspacing="2">
5546
<tbody><tr><td valign="top"><br>
5547
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5548
<tr><td valign="top"><br>
5549
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5552
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element name </dd></dl>
5556
<a class="anchor" name="gf1bb4562e0df64fc33408acd0f9310a5"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_numid" ref="gf1bb4562e0df64fc33408acd0f9310a5" args="(const snd_ctl_elem_list_t *obj, unsigned int idx)" -->
5557
</p><div class="memitem">
5558
<div class="memproto">
5559
<table class="memname">
5561
<td class="memname">unsigned int snd_ctl_elem_list_get_numid </td>
5563
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5564
<td class="paramname"> <em>obj</em>, </td>
5567
<td class="paramkey"><br>
5571
<td class="paramtype">unsigned int </td>
5572
<td class="paramname"> <em>idx</em></td><td> </td>
5580
</td><td width="100%"><br>
5585
<div class="memdoc">
5588
Get CTL element numeric identifier for an entry of a CTL element identifiers list.
5590
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5591
<table border="0" cellpadding="0" cellspacing="2">
5592
<tbody><tr><td valign="top"><br>
5593
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5594
<tr><td valign="top"><br>
5595
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5598
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element numeric identifier </dd></dl>
5602
<a class="anchor" name="g7bea82d42eca53b3c08e793d8b95e200"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_subdevice" ref="g7bea82d42eca53b3c08e793d8b95e200" args="(const snd_ctl_elem_list_t *obj, unsigned int idx)" -->
5603
</p><div class="memitem">
5604
<div class="memproto">
5605
<table class="memname">
5607
<td class="memname">unsigned int snd_ctl_elem_list_get_subdevice </td>
5609
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5610
<td class="paramname"> <em>obj</em>, </td>
5613
<td class="paramkey"><br>
5617
<td class="paramtype">unsigned int </td>
5618
<td class="paramname"> <em>idx</em></td><td> </td>
5626
</td><td width="100%"><br>
5631
<div class="memdoc">
5634
Get subdevice part of CTL element identifier for an entry of a CTL element identifiers list.
5636
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5637
<table border="0" cellpadding="0" cellspacing="2">
5638
<tbody><tr><td valign="top"><br>
5639
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5640
<tr><td valign="top"><br>
5641
</td><td valign="top"><em>idx</em> </td><td>Index of entry </td></tr>
5644
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related subdevice </dd></dl>
5648
<a class="anchor" name="g2c20cf5aeb3a7bb78d8a54e331b800af"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_get_used" ref="g2c20cf5aeb3a7bb78d8a54e331b800af" args="(const snd_ctl_elem_list_t *obj)" -->
5649
</p><div class="memitem">
5650
<div class="memproto">
5651
<table class="memname">
5653
<td class="memname">unsigned int snd_ctl_elem_list_get_used </td>
5655
<td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5656
<td class="paramname"> <em>obj</em> </td>
5657
<td> ) </td>
5658
<td width="100%"><br>
5663
<div class="memdoc">
5666
Get number of used entries in CTL element identifiers list.
5668
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5669
<table border="0" cellpadding="0" cellspacing="2">
5670
<tbody><tr><td valign="top"><br>
5671
</td><td valign="top"><em>obj</em> </td><td>CTL element identifier list </td></tr>
5674
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>number of used entries </dd></dl>
5678
<a class="anchor" name="gf66ec5c0a0a974d6c90ca2c5d4a4783d"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_malloc" ref="gf66ec5c0a0a974d6c90ca2c5d4a4783d" args="(snd_ctl_elem_list_t **ptr)" -->
5679
</p><div class="memitem">
5680
<div class="memproto">
5681
<table class="memname">
5683
<td class="memname">int snd_ctl_elem_list_malloc </td>
5685
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> ** </td>
5686
<td class="paramname"> <em>ptr</em> </td>
5687
<td> ) </td>
5688
<td width="100%"><br>
5693
<div class="memdoc">
5696
allocate an invalid <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> using standard malloc
5698
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5699
<table border="0" cellpadding="0" cellspacing="2">
5700
<tbody><tr><td valign="top"><br>
5701
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
5704
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
5708
<a class="anchor" name="gdfdcda25b3628ee82c1edf2a73b97a68"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_set_offset" ref="gdfdcda25b3628ee82c1edf2a73b97a68" args="(snd_ctl_elem_list_t *obj, unsigned int val)" -->
5709
</p><div class="memitem">
5710
<div class="memproto">
5711
<table class="memname">
5713
<td class="memname">void snd_ctl_elem_list_set_offset </td>
5715
<td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> * </td>
5716
<td class="paramname"> <em>obj</em>, </td>
5719
<td class="paramkey"><br>
5723
<td class="paramtype">unsigned int </td>
5724
<td class="paramname"> <em>val</em></td><td> </td>
5732
</td><td width="100%"><br>
5737
<div class="memdoc">
5740
Set index of first wanted CTL element identifier in a CTL element identifiers list.
5742
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5743
<table border="0" cellpadding="0" cellspacing="2">
5744
<tbody><tr><td valign="top"><br>
5745
</td><td valign="top"><em>obj</em> </td><td>CTL element identifiers list </td></tr>
5746
<tr><td valign="top"><br>
5747
</td><td valign="top"><em>val</em> </td><td>index of CTL element to put at position 0 of list </td></tr>
5753
<a class="anchor" name="g0eac744a630c8ab22a5773783a3b459a"></a><!-- doxytag: member="control.h::snd_ctl_elem_list_sizeof" ref="g0eac744a630c8ab22a5773783a3b459a" args="(void)" -->
5754
</p><div class="memitem">
5755
<div class="memproto">
5756
<table class="memname">
5758
<td class="memname">size_t snd_ctl_elem_list_sizeof </td>
5760
<td class="paramtype">void </td>
5761
<td class="paramname"> <br>
5763
<td> ) </td>
5764
<td width="100%"><br>
5769
<div class="memdoc">
5772
get size of <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a>
5774
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
5778
<a class="anchor" name="gd6639e115668f3e0997be4ca55907455"></a><!-- doxytag: member="control.h::snd_ctl_elem_lock" ref="gd6639e115668f3e0997be4ca55907455" args="(snd_ctl_t *ctl, snd_ctl_elem_id_t *id)" -->
5779
</p><div class="memitem">
5780
<div class="memproto">
5781
<table class="memname">
5783
<td class="memname">int snd_ctl_elem_lock </td>
5785
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
5786
<td class="paramname"> <em>ctl</em>, </td>
5789
<td class="paramkey"><br>
5793
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
5794
<td class="paramname"> <em>id</em></td><td> </td>
5802
</td><td width="100%"><br>
5807
<div class="memdoc">
5812
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5813
<table border="0" cellpadding="0" cellspacing="2">
5814
<tbody><tr><td valign="top"><br>
5815
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
5816
<tr><td valign="top"><br>
5817
</td><td valign="top"><em>id</em> </td><td>CTL element id pointer </td></tr>
5820
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
5824
<a class="anchor" name="gd53942fd55e23563583b4cb0baf4ae98"></a><!-- doxytag: member="control.h::snd_ctl_elem_read" ref="gd53942fd55e23563583b4cb0baf4ae98" args="(snd_ctl_t *ctl, snd_ctl_elem_value_t *value)" -->
5825
</p><div class="memitem">
5826
<div class="memproto">
5827
<table class="memname">
5829
<td class="memname">int snd_ctl_elem_read </td>
5831
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
5832
<td class="paramname"> <em>ctl</em>, </td>
5835
<td class="paramkey"><br>
5839
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
5840
<td class="paramname"> <em>control</em></td><td> </td>
5848
</td><td width="100%"><br>
5853
<div class="memdoc">
5856
Get CTL element value.
5858
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5859
<table border="0" cellpadding="0" cellspacing="2">
5860
<tbody><tr><td valign="top"><br>
5861
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
5862
<tr><td valign="top"><br>
5863
</td><td valign="top"><em>control</em> </td><td>CTL element id/value pointer </td></tr>
5866
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
5870
<a class="anchor" name="gbc54492bb9ccdf83f7219747d2d9d04b"></a><!-- doxytag: member="control.h::snd_ctl_elem_remove" ref="gbc54492bb9ccdf83f7219747d2d9d04b" args="(snd_ctl_t *ctl, snd_ctl_elem_id_t *id)" -->
5871
</p><div class="memitem">
5872
<div class="memproto">
5873
<table class="memname">
5875
<td class="memname">int snd_ctl_elem_remove </td>
5877
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
5878
<td class="paramname"> <em>ctl</em>, </td>
5881
<td class="paramkey"><br>
5885
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
5886
<td class="paramname"> <em>id</em></td><td> </td>
5894
</td><td width="100%"><br>
5899
<div class="memdoc">
5902
Remove an user CTL element.
5904
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5905
<table border="0" cellpadding="0" cellspacing="2">
5906
<tbody><tr><td valign="top"><br>
5907
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
5908
<tr><td valign="top"><br>
5909
</td><td valign="top"><em>id</em> </td><td>CTL element identification </td></tr>
5912
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
5916
<a class="anchor" name="g3b667e7979680cd2cf25ba498e538601"></a><!-- doxytag: member="control.h::snd_ctl_elem_set_bytes" ref="g3b667e7979680cd2cf25ba498e538601" args="(snd_ctl_elem_value_t *obj, void *data, size_t size)" -->
5917
</p><div class="memitem">
5918
<div class="memproto">
5919
<table class="memname">
5921
<td class="memname">void snd_ctl_elem_set_bytes </td>
5923
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
5924
<td class="paramname"> <em>obj</em>, </td>
5927
<td class="paramkey"><br>
5931
<td class="paramtype">void * </td>
5932
<td class="paramname"> <em>data</em>, </td>
5935
<td class="paramkey"><br>
5939
<td class="paramtype">size_t </td>
5940
<td class="paramname"> <em>size</em></td><td> </td>
5948
</td><td width="100%"><br>
5953
<div class="memdoc">
5956
Set CTL element <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> value.
5958
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
5959
<table border="0" cellpadding="0" cellspacing="2">
5960
<tbody><tr><td valign="top"><br>
5961
</td><td valign="top"><em>obj</em> </td><td>CTL handle </td></tr>
5962
<tr><td valign="top"><br>
5963
</td><td valign="top"><em>data</em> </td><td>Bytes value </td></tr>
5964
<tr><td valign="top"><br>
5965
</td><td valign="top"><em>size</em> </td><td>Size in bytes </td></tr>
5971
<a class="anchor" name="g88aa8fb1cbb8778a8b6ddfabc54e9d23"></a><!-- doxytag: member="control.h::snd_ctl_elem_tlv_command" ref="g88aa8fb1cbb8778a8b6ddfabc54e9d23" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, const unsigned int *tlv)" -->
5972
</p><div class="memitem">
5973
<div class="memproto">
5974
<table class="memname">
5976
<td class="memname">int snd_ctl_elem_tlv_command </td>
5978
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
5979
<td class="paramname"> <em>ctl</em>, </td>
5982
<td class="paramkey"><br>
5986
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
5987
<td class="paramname"> <em>id</em>, </td>
5990
<td class="paramkey"><br>
5994
<td class="paramtype">const unsigned int * </td>
5995
<td class="paramname"> <em>tlv</em></td><td> </td>
6003
</td><td width="100%"><br>
6008
<div class="memdoc">
6011
Process CTL element TLV command.
6013
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6014
<table border="0" cellpadding="0" cellspacing="2">
6015
<tbody><tr><td valign="top"><br>
6016
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
6017
<tr><td valign="top"><br>
6018
</td><td valign="top"><em>id</em> </td><td>CTL element id pointer </td></tr>
6019
<tr><td valign="top"><br>
6020
</td><td valign="top"><em>tlv</em> </td><td>TLV array pointer to process </td></tr>
6023
<dl compact="compact"><dt><b>Return values:</b></dt><dd>
6024
<table border="0" cellpadding="0" cellspacing="2">
6025
<tbody><tr><td valign="top"><br>
6026
</td><td valign="top"><em>0</em> </td><td>on success </td></tr>
6027
<tr><td valign="top"><br>
6028
</td><td valign="top"><em>>0</em> </td><td>on success when value was changed </td></tr>
6029
<tr><td valign="top"><br>
6030
</td><td valign="top"><em><0</em> </td><td>a negative error code </td></tr>
6036
<a class="anchor" name="g5693481d9abed8d22f6ee76c829da517"></a><!-- doxytag: member="control.h::snd_ctl_elem_tlv_read" ref="g5693481d9abed8d22f6ee76c829da517" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int *tlv, unsigned int tlv_size)" -->
6037
</p><div class="memitem">
6038
<div class="memproto">
6039
<table class="memname">
6041
<td class="memname">int snd_ctl_elem_tlv_read </td>
6043
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
6044
<td class="paramname"> <em>ctl</em>, </td>
6047
<td class="paramkey"><br>
6051
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
6052
<td class="paramname"> <em>id</em>, </td>
6055
<td class="paramkey"><br>
6059
<td class="paramtype">unsigned int * </td>
6060
<td class="paramname"> <em>tlv</em>, </td>
6063
<td class="paramkey"><br>
6067
<td class="paramtype">unsigned int </td>
6068
<td class="paramname"> <em>tlv_size</em></td><td> </td>
6076
</td><td width="100%"><br>
6081
<div class="memdoc">
6084
Get CTL element TLV value.
6086
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6087
<table border="0" cellpadding="0" cellspacing="2">
6088
<tbody><tr><td valign="top"><br>
6089
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
6090
<tr><td valign="top"><br>
6091
</td><td valign="top"><em>id</em> </td><td>CTL element id pointer </td></tr>
6092
<tr><td valign="top"><br>
6093
</td><td valign="top"><em>tlv</em> </td><td>TLV array pointer to store </td></tr>
6094
<tr><td valign="top"><br>
6095
</td><td valign="top"><em>tlv_size</em> </td><td>TLV array size in bytes </td></tr>
6098
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
6102
<a class="anchor" name="g78a31d9ce13c55c6111a6d3ad111f6bc"></a><!-- doxytag: member="control.h::snd_ctl_elem_tlv_write" ref="g78a31d9ce13c55c6111a6d3ad111f6bc" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, const unsigned int *tlv)" -->
6103
</p><div class="memitem">
6104
<div class="memproto">
6105
<table class="memname">
6107
<td class="memname">int snd_ctl_elem_tlv_write </td>
6109
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
6110
<td class="paramname"> <em>ctl</em>, </td>
6113
<td class="paramkey"><br>
6117
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
6118
<td class="paramname"> <em>id</em>, </td>
6121
<td class="paramkey"><br>
6125
<td class="paramtype">const unsigned int * </td>
6126
<td class="paramname"> <em>tlv</em></td><td> </td>
6134
</td><td width="100%"><br>
6139
<div class="memdoc">
6142
Set CTL element TLV value.
6144
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6145
<table border="0" cellpadding="0" cellspacing="2">
6146
<tbody><tr><td valign="top"><br>
6147
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
6148
<tr><td valign="top"><br>
6149
</td><td valign="top"><em>id</em> </td><td>CTL element id pointer </td></tr>
6150
<tr><td valign="top"><br>
6151
</td><td valign="top"><em>tlv</em> </td><td>TLV array pointer to store </td></tr>
6154
<dl compact="compact"><dt><b>Return values:</b></dt><dd>
6155
<table border="0" cellpadding="0" cellspacing="2">
6156
<tbody><tr><td valign="top"><br>
6157
</td><td valign="top"><em>0</em> </td><td>on success </td></tr>
6158
<tr><td valign="top"><br>
6159
</td><td valign="top"><em>>0</em> </td><td>on success when value was changed </td></tr>
6160
<tr><td valign="top"><br>
6161
</td><td valign="top"><em><0</em> </td><td>a negative error code </td></tr>
6167
<a class="anchor" name="g18120c9132a52422dc38f32d528e9db6"></a><!-- doxytag: member="control.h::snd_ctl_elem_type_name" ref="g18120c9132a52422dc38f32d528e9db6" args="(snd_ctl_elem_type_t type)" -->
6168
</p><div class="memitem">
6169
<div class="memproto">
6170
<table class="memname">
6172
<td class="memname">const char* snd_ctl_elem_type_name </td>
6174
<td class="paramtype"><a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a> </td>
6175
<td class="paramname"> <em>type</em> </td>
6176
<td> ) </td>
6177
<td width="100%"><br>
6182
<div class="memdoc">
6185
get name of a CTL element type
6187
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6188
<table border="0" cellpadding="0" cellspacing="2">
6189
<tbody><tr><td valign="top"><br>
6190
</td><td valign="top"><em>type</em> </td><td>CTL element type </td></tr>
6193
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii name of CTL element type </dd></dl>
6197
<a class="anchor" name="gd495fa1cab1f9ef349af50e72dbce4a1"></a><!-- doxytag: member="control.h::snd_ctl_elem_unlock" ref="gd495fa1cab1f9ef349af50e72dbce4a1" args="(snd_ctl_t *ctl, snd_ctl_elem_id_t *id)" -->
6198
</p><div class="memitem">
6199
<div class="memproto">
6200
<table class="memname">
6202
<td class="memname">int snd_ctl_elem_unlock </td>
6204
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
6205
<td class="paramname"> <em>ctl</em>, </td>
6208
<td class="paramkey"><br>
6212
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
6213
<td class="paramname"> <em>id</em></td><td> </td>
6221
</td><td width="100%"><br>
6226
<div class="memdoc">
6231
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6232
<table border="0" cellpadding="0" cellspacing="2">
6233
<tbody><tr><td valign="top"><br>
6234
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
6235
<tr><td valign="top"><br>
6236
</td><td valign="top"><em>id</em> </td><td>CTL element id pointer </td></tr>
6239
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
6243
<a class="anchor" name="gc14397a7256beacdca2f41d8b1d09b92"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_clear" ref="gc14397a7256beacdca2f41d8b1d09b92" args="(snd_ctl_elem_value_t *obj)" -->
6244
</p><div class="memitem">
6245
<div class="memproto">
6246
<table class="memname">
6248
<td class="memname">void snd_ctl_elem_value_clear </td>
6250
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6251
<td class="paramname"> <em>obj</em> </td>
6252
<td> ) </td>
6253
<td width="100%"><br>
6258
<div class="memdoc">
6261
clear given <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> object
6263
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6264
<table border="0" cellpadding="0" cellspacing="2">
6265
<tbody><tr><td valign="top"><br>
6266
</td><td valign="top"><em>obj</em> </td><td>pointer to object to clear </td></tr>
6272
<a class="anchor" name="gae6101e5aa015ead7945609c55d96081"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_copy" ref="gae6101e5aa015ead7945609c55d96081" args="(snd_ctl_elem_value_t *dst, const snd_ctl_elem_value_t *src)" -->
6273
</p><div class="memitem">
6274
<div class="memproto">
6275
<table class="memname">
6277
<td class="memname">void snd_ctl_elem_value_copy </td>
6279
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6280
<td class="paramname"> <em>dst</em>, </td>
6283
<td class="paramkey"><br>
6287
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6288
<td class="paramname"> <em>src</em></td><td> </td>
6296
</td><td width="100%"><br>
6301
<div class="memdoc">
6304
copy one <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> to another
6306
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6307
<table border="0" cellpadding="0" cellspacing="2">
6308
<tbody><tr><td valign="top"><br>
6309
</td><td valign="top"><em>dst</em> </td><td>pointer to destination </td></tr>
6310
<tr><td valign="top"><br>
6311
</td><td valign="top"><em>src</em> </td><td>pointer to source </td></tr>
6317
<a class="anchor" name="g138362efaaaee315ca3e694539432d4f"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_free" ref="g138362efaaaee315ca3e694539432d4f" args="(snd_ctl_elem_value_t *obj)" -->
6318
</p><div class="memitem">
6319
<div class="memproto">
6320
<table class="memname">
6322
<td class="memname">void snd_ctl_elem_value_free </td>
6324
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6325
<td class="paramname"> <em>obj</em> </td>
6326
<td> ) </td>
6327
<td width="100%"><br>
6332
<div class="memdoc">
6335
frees a previously allocated <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a>
6337
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6338
<table border="0" cellpadding="0" cellspacing="2">
6339
<tbody><tr><td valign="top"><br>
6340
</td><td valign="top"><em>obj</em> </td><td>pointer to object to free </td></tr>
6346
<a class="anchor" name="gadd47e172ad34d05755fe1afd8416d27"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_boolean" ref="gadd47e172ad34d05755fe1afd8416d27" args="(const snd_ctl_elem_value_t *obj, unsigned int idx)" -->
6347
</p><div class="memitem">
6348
<div class="memproto">
6349
<table class="memname">
6351
<td class="memname">int snd_ctl_elem_value_get_boolean </td>
6353
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6354
<td class="paramname"> <em>obj</em>, </td>
6357
<td class="paramkey"><br>
6361
<td class="paramtype">unsigned int </td>
6362
<td class="paramname"> <em>idx</em></td><td> </td>
6370
</td><td width="100%"><br>
6375
<div class="memdoc">
6378
Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4">SND_CTL_ELEM_TYPE_BOOLEAN</a> CTL element id/value.
6380
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6381
<table border="0" cellpadding="0" cellspacing="2">
6382
<tbody><tr><td valign="top"><br>
6383
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6384
<tr><td valign="top"><br>
6385
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
6388
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
6392
<a class="anchor" name="g97efeace200471537ea8bafe7cfe36b7"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_byte" ref="g97efeace200471537ea8bafe7cfe36b7" args="(const snd_ctl_elem_value_t *obj, unsigned int idx)" -->
6393
</p><div class="memitem">
6394
<div class="memproto">
6395
<table class="memname">
6397
<td class="memname">unsigned char snd_ctl_elem_value_get_byte </td>
6399
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6400
<td class="paramname"> <em>obj</em>, </td>
6403
<td class="paramkey"><br>
6407
<td class="paramtype">unsigned int </td>
6408
<td class="paramname"> <em>idx</em></td><td> </td>
6416
</td><td width="100%"><br>
6421
<div class="memdoc">
6424
Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value.
6426
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6427
<table border="0" cellpadding="0" cellspacing="2">
6428
<tbody><tr><td valign="top"><br>
6429
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6430
<tr><td valign="top"><br>
6431
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
6434
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
6438
<a class="anchor" name="g17f2c9b0e264468530a75c56af00e9e1"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_bytes" ref="g17f2c9b0e264468530a75c56af00e9e1" args="(const snd_ctl_elem_value_t *obj)" -->
6439
</p><div class="memitem">
6440
<div class="memproto">
6441
<table class="memname">
6443
<td class="memname">const void* snd_ctl_elem_value_get_bytes </td>
6445
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6446
<td class="paramname"> <em>obj</em> </td>
6447
<td> ) </td>
6448
<td width="100%"><br>
6453
<div class="memdoc">
6456
Get value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value.
6458
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6459
<table border="0" cellpadding="0" cellspacing="2">
6460
<tbody><tr><td valign="top"><br>
6461
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6464
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Pointer to CTL element value </dd></dl>
6468
<a class="anchor" name="g2d946be4755d98f6d804e6f591fe9665"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_device" ref="g2d946be4755d98f6d804e6f591fe9665" args="(const snd_ctl_elem_value_t *obj)" -->
6469
</p><div class="memitem">
6470
<div class="memproto">
6471
<table class="memname">
6473
<td class="memname">unsigned int snd_ctl_elem_value_get_device </td>
6475
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6476
<td class="paramname"> <em>obj</em> </td>
6477
<td> ) </td>
6478
<td width="100%"><br>
6483
<div class="memdoc">
6486
Get device part of CTL element identifier of a CTL element id/value.
6488
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6489
<table border="0" cellpadding="0" cellspacing="2">
6490
<tbody><tr><td valign="top"><br>
6491
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6494
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>device part of element identifier </dd></dl>
6498
<a class="anchor" name="ge3b6ba60e2cf929bf3855b0ab18a4390"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_enumerated" ref="ge3b6ba60e2cf929bf3855b0ab18a4390" args="(const snd_ctl_elem_value_t *obj, unsigned int idx)" -->
6499
</p><div class="memitem">
6500
<div class="memproto">
6501
<table class="memname">
6503
<td class="memname">unsigned int snd_ctl_elem_value_get_enumerated </td>
6505
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6506
<td class="paramname"> <em>obj</em>, </td>
6509
<td class="paramkey"><br>
6513
<td class="paramtype">unsigned int </td>
6514
<td class="paramname"> <em>idx</em></td><td> </td>
6522
</td><td width="100%"><br>
6527
<div class="memdoc">
6530
Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/value.
6532
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6533
<table border="0" cellpadding="0" cellspacing="2">
6534
<tbody><tr><td valign="top"><br>
6535
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6536
<tr><td valign="top"><br>
6537
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
6540
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
6544
<a class="anchor" name="gffcf88beac144eb0d2be795b976dfd12"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_id" ref="gffcf88beac144eb0d2be795b976dfd12" args="(const snd_ctl_elem_value_t *obj, snd_ctl_elem_id_t *ptr)" -->
6545
</p><div class="memitem">
6546
<div class="memproto">
6547
<table class="memname">
6549
<td class="memname">void snd_ctl_elem_value_get_id </td>
6551
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6552
<td class="paramname"> <em>obj</em>, </td>
6555
<td class="paramkey"><br>
6559
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
6560
<td class="paramname"> <em>ptr</em></td><td> </td>
6568
</td><td width="100%"><br>
6573
<div class="memdoc">
6576
Get CTL element identifier of a CTL element id/value.
6578
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6579
<table border="0" cellpadding="0" cellspacing="2">
6580
<tbody><tr><td valign="top"><br>
6581
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6582
<tr><td valign="top"><br>
6583
</td><td valign="top"><em>ptr</em> </td><td>Pointer to returned CTL element identifier </td></tr>
6589
<a class="anchor" name="g5f4c28cfcd2ca949511e190708e502f3"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_iec958" ref="g5f4c28cfcd2ca949511e190708e502f3" args="(const snd_ctl_elem_value_t *obj, snd_aes_iec958_t *ptr)" -->
6590
</p><div class="memitem">
6591
<div class="memproto">
6592
<table class="memname">
6594
<td class="memname">void snd_ctl_elem_value_get_iec958 </td>
6596
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6597
<td class="paramname"> <em>obj</em>, </td>
6600
<td class="paramkey"><br>
6604
<td class="paramtype"><a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> * </td>
6605
<td class="paramname"> <em>ptr</em></td><td> </td>
6613
</td><td width="100%"><br>
6618
<div class="memdoc">
6621
Get value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a> CTL element id/value.
6623
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6624
<table border="0" cellpadding="0" cellspacing="2">
6625
<tbody><tr><td valign="top"><br>
6626
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6627
<tr><td valign="top"><br>
6628
</td><td valign="top"><em>ptr</em> </td><td>Pointer to returned CTL element value </td></tr>
6634
<a class="anchor" name="g535b0e86794a622df878b486726a2ea3"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_index" ref="g535b0e86794a622df878b486726a2ea3" args="(const snd_ctl_elem_value_t *obj)" -->
6635
</p><div class="memitem">
6636
<div class="memproto">
6637
<table class="memname">
6639
<td class="memname">unsigned int snd_ctl_elem_value_get_index </td>
6641
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6642
<td class="paramname"> <em>obj</em> </td>
6643
<td> ) </td>
6644
<td width="100%"><br>
6649
<div class="memdoc">
6652
Get index part of CTL element identifier of a CTL element id/value.
6654
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6655
<table border="0" cellpadding="0" cellspacing="2">
6656
<tbody><tr><td valign="top"><br>
6657
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6660
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>index part of element identifier </dd></dl>
6664
<a class="anchor" name="g73ff1d238343915fb9d62409f8df3783"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_integer" ref="g73ff1d238343915fb9d62409f8df3783" args="(const snd_ctl_elem_value_t *obj, unsigned int idx)" -->
6665
</p><div class="memitem">
6666
<div class="memproto">
6667
<table class="memname">
6669
<td class="memname">long snd_ctl_elem_value_get_integer </td>
6671
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6672
<td class="paramname"> <em>obj</em>, </td>
6675
<td class="paramkey"><br>
6679
<td class="paramtype">unsigned int </td>
6680
<td class="paramname"> <em>idx</em></td><td> </td>
6688
</td><td width="100%"><br>
6693
<div class="memdoc">
6696
Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/value.
6698
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6699
<table border="0" cellpadding="0" cellspacing="2">
6700
<tbody><tr><td valign="top"><br>
6701
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6702
<tr><td valign="top"><br>
6703
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
6706
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
6710
<a class="anchor" name="g5f8a265048dfdb0714dd9024e61a21e3"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_integer64" ref="g5f8a265048dfdb0714dd9024e61a21e3" args="(const snd_ctl_elem_value_t *obj, unsigned int idx)" -->
6711
</p><div class="memitem">
6712
<div class="memproto">
6713
<table class="memname">
6715
<td class="memname">long long snd_ctl_elem_value_get_integer64 </td>
6717
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6718
<td class="paramname"> <em>obj</em>, </td>
6721
<td class="paramkey"><br>
6725
<td class="paramtype">unsigned int </td>
6726
<td class="paramname"> <em>idx</em></td><td> </td>
6734
</td><td width="100%"><br>
6739
<div class="memdoc">
6742
Get value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/value.
6744
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6745
<table border="0" cellpadding="0" cellspacing="2">
6746
<tbody><tr><td valign="top"><br>
6747
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6748
<tr><td valign="top"><br>
6749
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
6752
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
6756
<a class="anchor" name="gf4d4d394888a57491aaddb2e363a68f4"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_interface" ref="gf4d4d394888a57491aaddb2e363a68f4" args="(const snd_ctl_elem_value_t *obj)" -->
6757
</p><div class="memitem">
6758
<div class="memproto">
6759
<table class="memname">
6761
<td class="memname"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> snd_ctl_elem_value_get_interface </td>
6763
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6764
<td class="paramname"> <em>obj</em> </td>
6765
<td> ) </td>
6766
<td width="100%"><br>
6771
<div class="memdoc">
6774
Get interface part of CTL element identifier of a CTL element id/value.
6776
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6777
<table border="0" cellpadding="0" cellspacing="2">
6778
<tbody><tr><td valign="top"><br>
6779
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6782
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>interface part of element identifier </dd></dl>
6786
<a class="anchor" name="g41f7b182736c872a50fdd714edfd5ba9"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_name" ref="g41f7b182736c872a50fdd714edfd5ba9" args="(const snd_ctl_elem_value_t *obj)" -->
6787
</p><div class="memitem">
6788
<div class="memproto">
6789
<table class="memname">
6791
<td class="memname">const char* snd_ctl_elem_value_get_name </td>
6793
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6794
<td class="paramname"> <em>obj</em> </td>
6795
<td> ) </td>
6796
<td width="100%"><br>
6801
<div class="memdoc">
6804
Get name part of CTL element identifier of a CTL element id/value.
6806
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6807
<table border="0" cellpadding="0" cellspacing="2">
6808
<tbody><tr><td valign="top"><br>
6809
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6812
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name part of element identifier </dd></dl>
6816
<a class="anchor" name="ge5c4ff99afd99a0f6f752dc3339f2540"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_numid" ref="ge5c4ff99afd99a0f6f752dc3339f2540" args="(const snd_ctl_elem_value_t *obj)" -->
6817
</p><div class="memitem">
6818
<div class="memproto">
6819
<table class="memname">
6821
<td class="memname">unsigned int snd_ctl_elem_value_get_numid </td>
6823
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6824
<td class="paramname"> <em>obj</em> </td>
6825
<td> ) </td>
6826
<td width="100%"><br>
6831
<div class="memdoc">
6834
Get element numeric identifier of a CTL element id/value.
6836
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6837
<table border="0" cellpadding="0" cellspacing="2">
6838
<tbody><tr><td valign="top"><br>
6839
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6842
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>element numeric identifier </dd></dl>
6846
<a class="anchor" name="g723aca26b6674fdcd36b59a9b8c5496d"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_get_subdevice" ref="g723aca26b6674fdcd36b59a9b8c5496d" args="(const snd_ctl_elem_value_t *obj)" -->
6847
</p><div class="memitem">
6848
<div class="memproto">
6849
<table class="memname">
6851
<td class="memname">unsigned int snd_ctl_elem_value_get_subdevice </td>
6853
<td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6854
<td class="paramname"> <em>obj</em> </td>
6855
<td> ) </td>
6856
<td width="100%"><br>
6861
<div class="memdoc">
6864
Get subdevice part of CTL element identifier of a CTL element id/value.
6866
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6867
<table border="0" cellpadding="0" cellspacing="2">
6868
<tbody><tr><td valign="top"><br>
6869
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6872
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>subdevice part of element identifier </dd></dl>
6876
<a class="anchor" name="ge410438fba06252b2d9a139d09c90b16"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_malloc" ref="ge410438fba06252b2d9a139d09c90b16" args="(snd_ctl_elem_value_t **ptr)" -->
6877
</p><div class="memitem">
6878
<div class="memproto">
6879
<table class="memname">
6881
<td class="memname">int snd_ctl_elem_value_malloc </td>
6883
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> ** </td>
6884
<td class="paramname"> <em>ptr</em> </td>
6885
<td> ) </td>
6886
<td width="100%"><br>
6891
<div class="memdoc">
6894
allocate an invalid <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> using standard malloc
6896
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6897
<table border="0" cellpadding="0" cellspacing="2">
6898
<tbody><tr><td valign="top"><br>
6899
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
6902
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
6906
<a class="anchor" name="geee67da1e0a81de558888e598743f77d"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_boolean" ref="geee67da1e0a81de558888e598743f77d" args="(snd_ctl_elem_value_t *obj, unsigned int idx, long val)" -->
6907
</p><div class="memitem">
6908
<div class="memproto">
6909
<table class="memname">
6911
<td class="memname">void snd_ctl_elem_value_set_boolean </td>
6913
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6914
<td class="paramname"> <em>obj</em>, </td>
6917
<td class="paramkey"><br>
6921
<td class="paramtype">unsigned int </td>
6922
<td class="paramname"> <em>idx</em>, </td>
6925
<td class="paramkey"><br>
6929
<td class="paramtype">long </td>
6930
<td class="paramname"> <em>val</em></td><td> </td>
6938
</td><td width="100%"><br>
6943
<div class="memdoc">
6946
Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31478e05d647fb883e11354c833a93337ee4">SND_CTL_ELEM_TYPE_BOOLEAN</a> CTL element id/value.
6948
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
6949
<table border="0" cellpadding="0" cellspacing="2">
6950
<tbody><tr><td valign="top"><br>
6951
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
6952
<tr><td valign="top"><br>
6953
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
6954
<tr><td valign="top"><br>
6955
</td><td valign="top"><em>val</em> </td><td>value for the entry </td></tr>
6961
<a class="anchor" name="g754508fc23a35cadc3feb57afa6e63c3"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_byte" ref="g754508fc23a35cadc3feb57afa6e63c3" args="(snd_ctl_elem_value_t *obj, unsigned int idx, unsigned char val)" -->
6962
</p><div class="memitem">
6963
<div class="memproto">
6964
<table class="memname">
6966
<td class="memname">void snd_ctl_elem_value_set_byte </td>
6968
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
6969
<td class="paramname"> <em>obj</em>, </td>
6972
<td class="paramkey"><br>
6976
<td class="paramtype">unsigned int </td>
6977
<td class="paramname"> <em>idx</em>, </td>
6980
<td class="paramkey"><br>
6984
<td class="paramtype">unsigned char </td>
6985
<td class="paramname"> <em>val</em></td><td> </td>
6993
</td><td width="100%"><br>
6998
<div class="memdoc">
7001
Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value.
7003
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7004
<table border="0" cellpadding="0" cellspacing="2">
7005
<tbody><tr><td valign="top"><br>
7006
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7007
<tr><td valign="top"><br>
7008
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
7009
<tr><td valign="top"><br>
7010
</td><td valign="top"><em>val</em> </td><td>value for the entry </td></tr>
7016
<a class="anchor" name="g922b8ffbb30558d27d9e6a0de051378d"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_device" ref="g922b8ffbb30558d27d9e6a0de051378d" args="(snd_ctl_elem_value_t *obj, unsigned int val)" -->
7017
</p><div class="memitem">
7018
<div class="memproto">
7019
<table class="memname">
7021
<td class="memname">void snd_ctl_elem_value_set_device </td>
7023
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7024
<td class="paramname"> <em>obj</em>, </td>
7027
<td class="paramkey"><br>
7031
<td class="paramtype">unsigned int </td>
7032
<td class="paramname"> <em>val</em></td><td> </td>
7040
</td><td width="100%"><br>
7045
<div class="memdoc">
7048
Set device part of CTL element identifier of a CTL element id/value.
7050
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7051
<table border="0" cellpadding="0" cellspacing="2">
7052
<tbody><tr><td valign="top"><br>
7053
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7054
<tr><td valign="top"><br>
7055
</td><td valign="top"><em>val</em> </td><td>device part of element identifier </td></tr>
7061
<a class="anchor" name="g2ccf6266e20bd40667c8fe0235776256"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_enumerated" ref="g2ccf6266e20bd40667c8fe0235776256" args="(snd_ctl_elem_value_t *obj, unsigned int idx, unsigned int val)" -->
7062
</p><div class="memitem">
7063
<div class="memproto">
7064
<table class="memname">
7066
<td class="memname">void snd_ctl_elem_value_set_enumerated </td>
7068
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7069
<td class="paramname"> <em>obj</em>, </td>
7072
<td class="paramkey"><br>
7076
<td class="paramtype">unsigned int </td>
7077
<td class="paramname"> <em>idx</em>, </td>
7080
<td class="paramkey"><br>
7084
<td class="paramtype">unsigned int </td>
7085
<td class="paramname"> <em>val</em></td><td> </td>
7093
</td><td width="100%"><br>
7098
<div class="memdoc">
7101
Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/value.
7103
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7104
<table border="0" cellpadding="0" cellspacing="2">
7105
<tbody><tr><td valign="top"><br>
7106
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7107
<tr><td valign="top"><br>
7108
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
7109
<tr><td valign="top"><br>
7110
</td><td valign="top"><em>val</em> </td><td>value for the entry </td></tr>
7116
<a class="anchor" name="g6070520e0dcc351695286e351dc916e5"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_id" ref="g6070520e0dcc351695286e351dc916e5" args="(snd_ctl_elem_value_t *obj, const snd_ctl_elem_id_t *ptr)" -->
7117
</p><div class="memitem">
7118
<div class="memproto">
7119
<table class="memname">
7121
<td class="memname">void snd_ctl_elem_value_set_id </td>
7123
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7124
<td class="paramname"> <em>obj</em>, </td>
7127
<td class="paramkey"><br>
7131
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
7132
<td class="paramname"> <em>ptr</em></td><td> </td>
7140
</td><td width="100%"><br>
7145
<div class="memdoc">
7148
Set CTL element identifier of a CTL element id/value.
7150
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7151
<table border="0" cellpadding="0" cellspacing="2">
7152
<tbody><tr><td valign="top"><br>
7153
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7154
<tr><td valign="top"><br>
7155
</td><td valign="top"><em>ptr</em> </td><td>CTL element identifier </td></tr>
7161
<a class="anchor" name="gdd615358e66598afc67f22a73ce6226f"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_iec958" ref="gdd615358e66598afc67f22a73ce6226f" args="(snd_ctl_elem_value_t *obj, const snd_aes_iec958_t *ptr)" -->
7162
</p><div class="memitem">
7163
<div class="memproto">
7164
<table class="memname">
7166
<td class="memname">void snd_ctl_elem_value_set_iec958 </td>
7168
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7169
<td class="paramname"> <em>obj</em>, </td>
7172
<td class="paramkey"><br>
7176
<td class="paramtype">const <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> * </td>
7177
<td class="paramname"> <em>ptr</em></td><td> </td>
7185
</td><td width="100%"><br>
7190
<div class="memdoc">
7193
Set value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a> CTL element id/value.
7195
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7196
<table border="0" cellpadding="0" cellspacing="2">
7197
<tbody><tr><td valign="top"><br>
7198
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7199
<tr><td valign="top"><br>
7200
</td><td valign="top"><em>ptr</em> </td><td>Pointer to CTL element value </td></tr>
7206
<a class="anchor" name="g3bde7108993d9b1c2d1510e637bf0f4f"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_index" ref="g3bde7108993d9b1c2d1510e637bf0f4f" args="(snd_ctl_elem_value_t *obj, unsigned int val)" -->
7207
</p><div class="memitem">
7208
<div class="memproto">
7209
<table class="memname">
7211
<td class="memname">void snd_ctl_elem_value_set_index </td>
7213
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7214
<td class="paramname"> <em>obj</em>, </td>
7217
<td class="paramkey"><br>
7221
<td class="paramtype">unsigned int </td>
7222
<td class="paramname"> <em>val</em></td><td> </td>
7230
</td><td width="100%"><br>
7235
<div class="memdoc">
7238
Set index part of CTL element identifier of a CTL element id/value.
7240
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7241
<table border="0" cellpadding="0" cellspacing="2">
7242
<tbody><tr><td valign="top"><br>
7243
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7244
<tr><td valign="top"><br>
7245
</td><td valign="top"><em>val</em> </td><td>index part of element identifier </td></tr>
7251
<a class="anchor" name="g45a2fbcb38fe08f96de8698abf2eb3e1"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_integer" ref="g45a2fbcb38fe08f96de8698abf2eb3e1" args="(snd_ctl_elem_value_t *obj, unsigned int idx, long val)" -->
7252
</p><div class="memitem">
7253
<div class="memproto">
7254
<table class="memname">
7256
<td class="memname">void snd_ctl_elem_value_set_integer </td>
7258
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7259
<td class="paramname"> <em>obj</em>, </td>
7262
<td class="paramkey"><br>
7266
<td class="paramtype">unsigned int </td>
7267
<td class="paramname"> <em>idx</em>, </td>
7270
<td class="paramkey"><br>
7274
<td class="paramtype">long </td>
7275
<td class="paramname"> <em>val</em></td><td> </td>
7283
</td><td width="100%"><br>
7288
<div class="memdoc">
7291
Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/value.
7293
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7294
<table border="0" cellpadding="0" cellspacing="2">
7295
<tbody><tr><td valign="top"><br>
7296
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7297
<tr><td valign="top"><br>
7298
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
7299
<tr><td valign="top"><br>
7300
</td><td valign="top"><em>val</em> </td><td>value for the entry </td></tr>
7306
<a class="anchor" name="g5a23df6e5d7aa377ba83efd554aabb94"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_integer64" ref="g5a23df6e5d7aa377ba83efd554aabb94" args="(snd_ctl_elem_value_t *obj, unsigned int idx, long long val)" -->
7307
</p><div class="memitem">
7308
<div class="memproto">
7309
<table class="memname">
7311
<td class="memname">void snd_ctl_elem_value_set_integer64 </td>
7313
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7314
<td class="paramname"> <em>obj</em>, </td>
7317
<td class="paramkey"><br>
7321
<td class="paramtype">unsigned int </td>
7322
<td class="paramname"> <em>idx</em>, </td>
7325
<td class="paramkey"><br>
7329
<td class="paramtype">long long </td>
7330
<td class="paramname"> <em>val</em></td><td> </td>
7338
</td><td width="100%"><br>
7343
<div class="memdoc">
7346
Set value for an entry of a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/value.
7348
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7349
<table border="0" cellpadding="0" cellspacing="2">
7350
<tbody><tr><td valign="top"><br>
7351
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7352
<tr><td valign="top"><br>
7353
</td><td valign="top"><em>idx</em> </td><td>Entry index </td></tr>
7354
<tr><td valign="top"><br>
7355
</td><td valign="top"><em>val</em> </td><td>value for the entry </td></tr>
7361
<a class="anchor" name="g8778107f14238291a0543654e6a6da38"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_interface" ref="g8778107f14238291a0543654e6a6da38" args="(snd_ctl_elem_value_t *obj, snd_ctl_elem_iface_t val)" -->
7362
</p><div class="memitem">
7363
<div class="memproto">
7364
<table class="memname">
7366
<td class="memname">void snd_ctl_elem_value_set_interface </td>
7368
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7369
<td class="paramname"> <em>obj</em>, </td>
7372
<td class="paramkey"><br>
7376
<td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> </td>
7377
<td class="paramname"> <em>val</em></td><td> </td>
7385
</td><td width="100%"><br>
7390
<div class="memdoc">
7393
Set interface part of CTL element identifier of a CTL element id/value.
7395
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7396
<table border="0" cellpadding="0" cellspacing="2">
7397
<tbody><tr><td valign="top"><br>
7398
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7399
<tr><td valign="top"><br>
7400
</td><td valign="top"><em>val</em> </td><td>interface part of element identifier </td></tr>
7406
<a class="anchor" name="g8a7a0c293fdeb1d14cbf30accba7d1ad"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_name" ref="g8a7a0c293fdeb1d14cbf30accba7d1ad" args="(snd_ctl_elem_value_t *obj, const char *val)" -->
7407
</p><div class="memitem">
7408
<div class="memproto">
7409
<table class="memname">
7411
<td class="memname">void snd_ctl_elem_value_set_name </td>
7413
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7414
<td class="paramname"> <em>obj</em>, </td>
7417
<td class="paramkey"><br>
7421
<td class="paramtype">const char * </td>
7422
<td class="paramname"> <em>val</em></td><td> </td>
7430
</td><td width="100%"><br>
7435
<div class="memdoc">
7438
Set name part of CTL element identifier of a CTL element id/value.
7440
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7441
<table border="0" cellpadding="0" cellspacing="2">
7442
<tbody><tr><td valign="top"><br>
7443
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7444
<tr><td valign="top"><br>
7445
</td><td valign="top"><em>val</em> </td><td>name part of element identifier </td></tr>
7451
<a class="anchor" name="ge2a0f80b2178e1fda125b3fb3887d178"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_numid" ref="ge2a0f80b2178e1fda125b3fb3887d178" args="(snd_ctl_elem_value_t *obj, unsigned int val)" -->
7452
</p><div class="memitem">
7453
<div class="memproto">
7454
<table class="memname">
7456
<td class="memname">void snd_ctl_elem_value_set_numid </td>
7458
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7459
<td class="paramname"> <em>obj</em>, </td>
7462
<td class="paramkey"><br>
7466
<td class="paramtype">unsigned int </td>
7467
<td class="paramname"> <em>val</em></td><td> </td>
7475
</td><td width="100%"><br>
7480
<div class="memdoc">
7483
Set element numeric identifier of a CTL element id/value.
7485
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7486
<table border="0" cellpadding="0" cellspacing="2">
7487
<tbody><tr><td valign="top"><br>
7488
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7489
<tr><td valign="top"><br>
7490
</td><td valign="top"><em>val</em> </td><td>element numeric identifier </td></tr>
7496
<a class="anchor" name="g37f8b73d4008f89bbe7834489892631b"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_set_subdevice" ref="g37f8b73d4008f89bbe7834489892631b" args="(snd_ctl_elem_value_t *obj, unsigned int val)" -->
7497
</p><div class="memitem">
7498
<div class="memproto">
7499
<table class="memname">
7501
<td class="memname">void snd_ctl_elem_value_set_subdevice </td>
7503
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7504
<td class="paramname"> <em>obj</em>, </td>
7507
<td class="paramkey"><br>
7511
<td class="paramtype">unsigned int </td>
7512
<td class="paramname"> <em>val</em></td><td> </td>
7520
</td><td width="100%"><br>
7525
<div class="memdoc">
7528
Set subdevice part of CTL element identifier of a CTL element id/value.
7530
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7531
<table border="0" cellpadding="0" cellspacing="2">
7532
<tbody><tr><td valign="top"><br>
7533
</td><td valign="top"><em>obj</em> </td><td>CTL element id/value </td></tr>
7534
<tr><td valign="top"><br>
7535
</td><td valign="top"><em>val</em> </td><td>subdevice part of element identifier </td></tr>
7541
<a class="anchor" name="g1cc467f85955db8b0aee16d1107003cf"></a><!-- doxytag: member="control.h::snd_ctl_elem_value_sizeof" ref="g1cc467f85955db8b0aee16d1107003cf" args="(void)" -->
7542
</p><div class="memitem">
7543
<div class="memproto">
7544
<table class="memname">
7546
<td class="memname">size_t snd_ctl_elem_value_sizeof </td>
7548
<td class="paramtype">void </td>
7549
<td class="paramname"> <br>
7551
<td> ) </td>
7552
<td width="100%"><br>
7557
<div class="memdoc">
7560
get size of <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a>
7562
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
7566
<a class="anchor" name="g17f1a202036e21a6b358d17191c9fa87"></a><!-- doxytag: member="control.h::snd_ctl_elem_write" ref="g17f1a202036e21a6b358d17191c9fa87" args="(snd_ctl_t *ctl, snd_ctl_elem_value_t *value)" -->
7567
</p><div class="memitem">
7568
<div class="memproto">
7569
<table class="memname">
7571
<td class="memname">int snd_ctl_elem_write </td>
7573
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
7574
<td class="paramname"> <em>ctl</em>, </td>
7577
<td class="paramkey"><br>
7581
<td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> * </td>
7582
<td class="paramname"> <em>control</em></td><td> </td>
7590
</td><td width="100%"><br>
7595
<div class="memdoc">
7598
Set CTL element value.
7600
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7601
<table border="0" cellpadding="0" cellspacing="2">
7602
<tbody><tr><td valign="top"><br>
7603
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
7604
<tr><td valign="top"><br>
7605
</td><td valign="top"><em>control</em> </td><td>CTL element id/value pointer </td></tr>
7608
<dl compact="compact"><dt><b>Return values:</b></dt><dd>
7609
<table border="0" cellpadding="0" cellspacing="2">
7610
<tbody><tr><td valign="top"><br>
7611
</td><td valign="top"><em>0</em> </td><td>on success </td></tr>
7612
<tr><td valign="top"><br>
7613
</td><td valign="top"><em>>0</em> </td><td>on success when value was changed </td></tr>
7614
<tr><td valign="top"><br>
7615
</td><td valign="top"><em><0</em> </td><td>a negative error code </td></tr>
7621
<a class="anchor" name="g2091dae7224893a587ba4a3f9cec6210"></a><!-- doxytag: member="control.h::snd_ctl_event_clear" ref="g2091dae7224893a587ba4a3f9cec6210" args="(snd_ctl_event_t *obj)" -->
7622
</p><div class="memitem">
7623
<div class="memproto">
7624
<table class="memname">
7626
<td class="memname">void snd_ctl_event_clear </td>
7628
<td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7629
<td class="paramname"> <em>obj</em> </td>
7630
<td> ) </td>
7631
<td width="100%"><br>
7636
<div class="memdoc">
7639
clear given <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> object
7641
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7642
<table border="0" cellpadding="0" cellspacing="2">
7643
<tbody><tr><td valign="top"><br>
7644
</td><td valign="top"><em>obj</em> </td><td>pointer to object to clear </td></tr>
7650
<a class="anchor" name="gea0e2db6b98d703f99b0b7814604241a"></a><!-- doxytag: member="control.h::snd_ctl_event_copy" ref="gea0e2db6b98d703f99b0b7814604241a" args="(snd_ctl_event_t *dst, const snd_ctl_event_t *src)" -->
7651
</p><div class="memitem">
7652
<div class="memproto">
7653
<table class="memname">
7655
<td class="memname">void snd_ctl_event_copy </td>
7657
<td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7658
<td class="paramname"> <em>dst</em>, </td>
7661
<td class="paramkey"><br>
7665
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7666
<td class="paramname"> <em>src</em></td><td> </td>
7674
</td><td width="100%"><br>
7679
<div class="memdoc">
7682
copy one <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> to another
7684
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7685
<table border="0" cellpadding="0" cellspacing="2">
7686
<tbody><tr><td valign="top"><br>
7687
</td><td valign="top"><em>dst</em> </td><td>pointer to destination </td></tr>
7688
<tr><td valign="top"><br>
7689
</td><td valign="top"><em>src</em> </td><td>pointer to source </td></tr>
7695
<a class="anchor" name="g5dd956cb7a74b0744b0211d52b07c1d3"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_device" ref="g5dd956cb7a74b0744b0211d52b07c1d3" args="(const snd_ctl_event_t *obj)" -->
7696
</p><div class="memitem">
7697
<div class="memproto">
7698
<table class="memname">
7700
<td class="memname">unsigned int snd_ctl_event_elem_get_device </td>
7702
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7703
<td class="paramname"> <em>obj</em> </td>
7704
<td> ) </td>
7705
<td width="100%"><br>
7710
<div class="memdoc">
7713
Get device part of CTL element identifier for an element related event.
7715
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7716
<table border="0" cellpadding="0" cellspacing="2">
7717
<tbody><tr><td valign="top"><br>
7718
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7721
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>device part of element identifier </dd></dl>
7725
<a class="anchor" name="gfc04a1a1fc1d0bfbaa9c508c99cdb1fe"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_id" ref="gfc04a1a1fc1d0bfbaa9c508c99cdb1fe" args="(const snd_ctl_event_t *obj, snd_ctl_elem_id_t *ptr)" -->
7726
</p><div class="memitem">
7727
<div class="memproto">
7728
<table class="memname">
7730
<td class="memname">void snd_ctl_event_elem_get_id </td>
7732
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7733
<td class="paramname"> <em>obj</em>, </td>
7736
<td class="paramkey"><br>
7740
<td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
7741
<td class="paramname"> <em>ptr</em></td><td> </td>
7749
</td><td width="100%"><br>
7754
<div class="memdoc">
7757
Get CTL element identifier for an element related event.
7759
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7760
<table border="0" cellpadding="0" cellspacing="2">
7761
<tbody><tr><td valign="top"><br>
7762
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7763
<tr><td valign="top"><br>
7764
</td><td valign="top"><em>ptr</em> </td><td>Pointer to returned CTL element identifier </td></tr>
7770
<a class="anchor" name="g6c7375029aa7bdd063e736805c19c75a"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_index" ref="g6c7375029aa7bdd063e736805c19c75a" args="(const snd_ctl_event_t *obj)" -->
7771
</p><div class="memitem">
7772
<div class="memproto">
7773
<table class="memname">
7775
<td class="memname">unsigned int snd_ctl_event_elem_get_index </td>
7777
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7778
<td class="paramname"> <em>obj</em> </td>
7779
<td> ) </td>
7780
<td width="100%"><br>
7785
<div class="memdoc">
7788
Get index part of CTL element identifier for an element related event.
7790
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7791
<table border="0" cellpadding="0" cellspacing="2">
7792
<tbody><tr><td valign="top"><br>
7793
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7796
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>index part of element identifier </dd></dl>
7800
<a class="anchor" name="gd13fbee7a7321d3a896a3be8d0ba49ea"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_interface" ref="gd13fbee7a7321d3a896a3be8d0ba49ea" args="(const snd_ctl_event_t *obj)" -->
7801
</p><div class="memitem">
7802
<div class="memproto">
7803
<table class="memname">
7805
<td class="memname"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a> snd_ctl_event_elem_get_interface </td>
7807
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7808
<td class="paramname"> <em>obj</em> </td>
7809
<td> ) </td>
7810
<td width="100%"><br>
7815
<div class="memdoc">
7818
Get interface part of CTL element identifier for an element related event.
7820
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7821
<table border="0" cellpadding="0" cellspacing="2">
7822
<tbody><tr><td valign="top"><br>
7823
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7826
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>interface part of element identifier </dd></dl>
7830
<a class="anchor" name="gf219ff52ef4669a0c21d159b9d261721"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_mask" ref="gf219ff52ef4669a0c21d159b9d261721" args="(const snd_ctl_event_t *obj)" -->
7831
</p><div class="memitem">
7832
<div class="memproto">
7833
<table class="memname">
7835
<td class="memname">unsigned int snd_ctl_event_elem_get_mask </td>
7837
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7838
<td class="paramname"> <em>obj</em> </td>
7839
<td> ) </td>
7840
<td width="100%"><br>
7845
<div class="memdoc">
7848
Get event mask for an element related event.
7850
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7851
<table border="0" cellpadding="0" cellspacing="2">
7852
<tbody><tr><td valign="top"><br>
7853
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7856
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>event mask for element related event </dd></dl>
7860
<a class="anchor" name="g6d257cc178d40bca1182960bba3896b5"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_name" ref="g6d257cc178d40bca1182960bba3896b5" args="(const snd_ctl_event_t *obj)" -->
7861
</p><div class="memitem">
7862
<div class="memproto">
7863
<table class="memname">
7865
<td class="memname">const char* snd_ctl_event_elem_get_name </td>
7867
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7868
<td class="paramname"> <em>obj</em> </td>
7869
<td> ) </td>
7870
<td width="100%"><br>
7875
<div class="memdoc">
7878
Get name part of CTL element identifier for an element related event.
7880
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7881
<table border="0" cellpadding="0" cellspacing="2">
7882
<tbody><tr><td valign="top"><br>
7883
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7886
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name part of element identifier </dd></dl>
7890
<a class="anchor" name="g042978d450b52a14cebb3d23e3b88b50"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_numid" ref="g042978d450b52a14cebb3d23e3b88b50" args="(const snd_ctl_event_t *obj)" -->
7891
</p><div class="memitem">
7892
<div class="memproto">
7893
<table class="memname">
7895
<td class="memname">unsigned int snd_ctl_event_elem_get_numid </td>
7897
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7898
<td class="paramname"> <em>obj</em> </td>
7899
<td> ) </td>
7900
<td width="100%"><br>
7905
<div class="memdoc">
7908
Get element numeric identifier for an element related event.
7910
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7911
<table border="0" cellpadding="0" cellspacing="2">
7912
<tbody><tr><td valign="top"><br>
7913
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7916
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>element numeric identifier </dd></dl>
7920
<a class="anchor" name="gb824db8045e400a3129a2bd6f50cf6bc"></a><!-- doxytag: member="control.h::snd_ctl_event_elem_get_subdevice" ref="gb824db8045e400a3129a2bd6f50cf6bc" args="(const snd_ctl_event_t *obj)" -->
7921
</p><div class="memitem">
7922
<div class="memproto">
7923
<table class="memname">
7925
<td class="memname">unsigned int snd_ctl_event_elem_get_subdevice </td>
7927
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7928
<td class="paramname"> <em>obj</em> </td>
7929
<td> ) </td>
7930
<td width="100%"><br>
7935
<div class="memdoc">
7938
Get subdevice part of CTL element identifier for an element related event.
7940
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7941
<table border="0" cellpadding="0" cellspacing="2">
7942
<tbody><tr><td valign="top"><br>
7943
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
7946
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>subdevice part of element identifier </dd></dl>
7950
<a class="anchor" name="gb90db66d52ff57d45c5d22dfae0da1ce"></a><!-- doxytag: member="control.h::snd_ctl_event_free" ref="gb90db66d52ff57d45c5d22dfae0da1ce" args="(snd_ctl_event_t *obj)" -->
7951
</p><div class="memitem">
7952
<div class="memproto">
7953
<table class="memname">
7955
<td class="memname">void snd_ctl_event_free </td>
7957
<td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7958
<td class="paramname"> <em>obj</em> </td>
7959
<td> ) </td>
7960
<td width="100%"><br>
7965
<div class="memdoc">
7968
frees a previously allocated <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a>
7970
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
7971
<table border="0" cellpadding="0" cellspacing="2">
7972
<tbody><tr><td valign="top"><br>
7973
</td><td valign="top"><em>obj</em> </td><td>pointer to object to free </td></tr>
7979
<a class="anchor" name="g386431fe458d900cb28619bcd2840de7"></a><!-- doxytag: member="control.h::snd_ctl_event_get_type" ref="g386431fe458d900cb28619bcd2840de7" args="(const snd_ctl_event_t *obj)" -->
7980
</p><div class="memitem">
7981
<div class="memproto">
7982
<table class="memname">
7984
<td class="memname"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a> snd_ctl_event_get_type </td>
7986
<td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
7987
<td class="paramname"> <em>obj</em> </td>
7988
<td> ) </td>
7989
<td width="100%"><br>
7994
<div class="memdoc">
7997
Get type of a CTL event.
7999
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8000
<table border="0" cellpadding="0" cellspacing="2">
8001
<tbody><tr><td valign="top"><br>
8002
</td><td valign="top"><em>obj</em> </td><td>CTL event </td></tr>
8005
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL event type </dd></dl>
8009
<a class="anchor" name="g076f6a9d96cfe42d1dc3705a5f2b047c"></a><!-- doxytag: member="control.h::snd_ctl_event_malloc" ref="g076f6a9d96cfe42d1dc3705a5f2b047c" args="(snd_ctl_event_t **ptr)" -->
8010
</p><div class="memitem">
8011
<div class="memproto">
8012
<table class="memname">
8014
<td class="memname">int snd_ctl_event_malloc </td>
8016
<td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> ** </td>
8017
<td class="paramname"> <em>ptr</em> </td>
8018
<td> ) </td>
8019
<td width="100%"><br>
8024
<div class="memdoc">
8027
allocate an invalid <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> using standard malloc
8029
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8030
<table border="0" cellpadding="0" cellspacing="2">
8031
<tbody><tr><td valign="top"><br>
8032
</td><td valign="top"><em>ptr</em> </td><td>returned pointer </td></tr>
8035
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
8039
<a class="anchor" name="g55a2d16ee51feddcc71caa9609d02116"></a><!-- doxytag: member="control.h::snd_ctl_event_sizeof" ref="g55a2d16ee51feddcc71caa9609d02116" args="(void)" -->
8040
</p><div class="memitem">
8041
<div class="memproto">
8042
<table class="memname">
8044
<td class="memname">size_t snd_ctl_event_sizeof </td>
8046
<td class="paramtype">void </td>
8047
<td class="paramname"> <br>
8049
<td> ) </td>
8050
<td width="100%"><br>
8055
<div class="memdoc">
8058
get size of <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a>
8060
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
8064
<a class="anchor" name="g9357ffcb27d0224d01d0704620ff5828"></a><!-- doxytag: member="control.h::snd_ctl_event_type_name" ref="g9357ffcb27d0224d01d0704620ff5828" args="(snd_ctl_event_type_t type)" -->
8065
</p><div class="memitem">
8066
<div class="memproto">
8067
<table class="memname">
8069
<td class="memname">const char* snd_ctl_event_type_name </td>
8071
<td class="paramtype"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a> </td>
8072
<td class="paramname"> <em>type</em> </td>
8073
<td> ) </td>
8074
<td width="100%"><br>
8079
<div class="memdoc">
8082
get name of a CTL event type
8084
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8085
<table border="0" cellpadding="0" cellspacing="2">
8086
<tbody><tr><td valign="top"><br>
8087
</td><td valign="top"><em>type</em> </td><td>CTL event type </td></tr>
8090
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii name of CTL event type </dd></dl>
8094
<a class="anchor" name="g1fabb04772efb2ea2c07ac1eed4764ae"></a><!-- doxytag: member="control.h::snd_ctl_get_dB_range" ref="g1fabb04772efb2ea2c07ac1eed4764ae" args="(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, long *min, long *max)" -->
8095
</p><div class="memitem">
8096
<div class="memproto">
8097
<table class="memname">
8099
<td class="memname">int snd_ctl_get_dB_range </td>
8101
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8102
<td class="paramname"> <em>ctl</em>, </td>
8105
<td class="paramkey"><br>
8109
<td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> * </td>
8110
<td class="paramname"> <em>id</em>, </td>
8113
<td class="paramkey"><br>
8117
<td class="paramtype">long * </td>
8118
<td class="paramname"> <em>min</em>, </td>
8121
<td class="paramkey"><br>
8125
<td class="paramtype">long * </td>
8126
<td class="paramname"> <em>max</em></td><td> </td>
8134
</td><td width="100%"><br>
8139
<div class="memdoc">
8142
Get the dB min/max values on the given control element.
8144
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8145
<table border="0" cellpadding="0" cellspacing="2">
8146
<tbody><tr><td valign="top"><br>
8147
</td><td valign="top"><em>ctl</em> </td><td>the control handler </td></tr>
8148
<tr><td valign="top"><br>
8149
</td><td valign="top"><em>id</em> </td><td>the element id </td></tr>
8150
<tr><td valign="top"><br>
8151
</td><td valign="top"><em>min</em> </td><td>the pointer to store the minimum dB value (in 0.01dB unit) </td></tr>
8152
<tr><td valign="top"><br>
8153
</td><td valign="top"><em>max</em> </td><td>the pointer to store the maximum dB value (in 0.01dB unit) </td></tr>
8156
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
8160
<a class="anchor" name="gdba7e71f27a44ef898af21b6ddc0a0f7"></a><!-- doxytag: member="control.h::snd_ctl_get_power_state" ref="gdba7e71f27a44ef898af21b6ddc0a0f7" args="(snd_ctl_t *ctl, unsigned int *state)" -->
8161
</p><div class="memitem">
8162
<div class="memproto">
8163
<table class="memname">
8165
<td class="memname">int snd_ctl_get_power_state </td>
8167
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8168
<td class="paramname"> <em>ctl</em>, </td>
8171
<td class="paramkey"><br>
8175
<td class="paramtype">unsigned int * </td>
8176
<td class="paramname"> <em>state</em></td><td> </td>
8184
</td><td width="100%"><br>
8189
<div class="memdoc">
8192
Get actual Power State.
8194
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8195
<table border="0" cellpadding="0" cellspacing="2">
8196
<tbody><tr><td valign="top"><br>
8197
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8198
<tr><td valign="top"><br>
8199
</td><td valign="top"><em>state</em> </td><td>Destination value </td></tr>
8202
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
8206
<a class="anchor" name="gf4f33af8a1f0bd3f4c1bb02195212899"></a><!-- doxytag: member="control.h::snd_ctl_name" ref="gf4f33af8a1f0bd3f4c1bb02195212899" args="(snd_ctl_t *ctl)" -->
8207
</p><div class="memitem">
8208
<div class="memproto">
8209
<table class="memname">
8211
<td class="memname">const char* snd_ctl_name </td>
8213
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8214
<td class="paramname"> <em>ctl</em> </td>
8215
<td> ) </td>
8216
<td width="100%"><br>
8221
<div class="memdoc">
8224
get identifier of CTL handle
8226
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8227
<table border="0" cellpadding="0" cellspacing="2">
8228
<tbody><tr><td valign="top"><br>
8229
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8232
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii identifier of CTL handle</dd></dl>
8233
Returns the ASCII identifier of given CTL handle. It's the same identifier specified in <a class="el" href="group___control.html#g22f42c2f2d87ba35139b7de50effc567">snd_ctl_open()</a>.
8236
<a class="anchor" name="gd6dc5e34dfe46b6f45a3c439d6ba42d1"></a><!-- doxytag: member="control.h::snd_ctl_nonblock" ref="gd6dc5e34dfe46b6f45a3c439d6ba42d1" args="(snd_ctl_t *ctl, int nonblock)" -->
8237
</p><div class="memitem">
8238
<div class="memproto">
8239
<table class="memname">
8241
<td class="memname">int snd_ctl_nonblock </td>
8243
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8244
<td class="paramname"> <em>ctl</em>, </td>
8247
<td class="paramkey"><br>
8251
<td class="paramtype">int </td>
8252
<td class="paramname"> <em>nonblock</em></td><td> </td>
8260
</td><td width="100%"><br>
8265
<div class="memdoc">
8270
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8271
<table border="0" cellpadding="0" cellspacing="2">
8272
<tbody><tr><td valign="top"><br>
8273
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8274
<tr><td valign="top"><br>
8275
</td><td valign="top"><em>nonblock</em> </td><td>0 = block, 1 = nonblock mode </td></tr>
8278
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
8282
<a class="anchor" name="g22f42c2f2d87ba35139b7de50effc567"></a><!-- doxytag: member="control.h::snd_ctl_open" ref="g22f42c2f2d87ba35139b7de50effc567" args="(snd_ctl_t **ctl, const char *name, int mode)" -->
8283
</p><div class="memitem">
8284
<div class="memproto">
8285
<table class="memname">
8287
<td class="memname">int snd_ctl_open </td>
8289
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> ** </td>
8290
<td class="paramname"> <em>ctlp</em>, </td>
8293
<td class="paramkey"><br>
8297
<td class="paramtype">const char * </td>
8298
<td class="paramname"> <em>name</em>, </td>
8301
<td class="paramkey"><br>
8305
<td class="paramtype">int </td>
8306
<td class="paramname"> <em>mode</em></td><td> </td>
8314
</td><td width="100%"><br>
8319
<div class="memdoc">
8324
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8325
<table border="0" cellpadding="0" cellspacing="2">
8326
<tbody><tr><td valign="top"><br>
8327
</td><td valign="top"><em>ctlp</em> </td><td>Returned CTL handle </td></tr>
8328
<tr><td valign="top"><br>
8329
</td><td valign="top"><em>name</em> </td><td>ASCII identifier of the CTL handle </td></tr>
8330
<tr><td valign="top"><br>
8331
</td><td valign="top"><em>mode</em> </td><td>Open mode (see <a class="el" href="group___control.html#g5586bc148cc719502294277c91a89ff5">SND_CTL_NONBLOCK</a>, <a class="el" href="group___control.html#g65f5927f20d2ee013b69b6df7f0f4087">SND_CTL_ASYNC</a>) </td></tr>
8334
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
8338
<a class="anchor" name="g11a7d33017db952b9f42008f004b9dc6"></a><!-- doxytag: member="control.h::snd_ctl_open_lconf" ref="g11a7d33017db952b9f42008f004b9dc6" args="(snd_ctl_t **ctl, const char *name, int mode, snd_config_t *lconf)" -->
8339
</p><div class="memitem">
8340
<div class="memproto">
8341
<table class="memname">
8343
<td class="memname">int snd_ctl_open_lconf </td>
8345
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> ** </td>
8346
<td class="paramname"> <em>ctlp</em>, </td>
8349
<td class="paramkey"><br>
8353
<td class="paramtype">const char * </td>
8354
<td class="paramname"> <em>name</em>, </td>
8357
<td class="paramkey"><br>
8361
<td class="paramtype">int </td>
8362
<td class="paramname"> <em>mode</em>, </td>
8365
<td class="paramkey"><br>
8369
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
8370
<td class="paramname"> <em>lconf</em></td><td> </td>
8378
</td><td width="100%"><br>
8383
<div class="memdoc">
8386
Opens a CTL using local configuration.
8388
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8389
<table border="0" cellpadding="0" cellspacing="2">
8390
<tbody><tr><td valign="top"><br>
8391
</td><td valign="top"><em>ctlp</em> </td><td>Returned CTL handle </td></tr>
8392
<tr><td valign="top"><br>
8393
</td><td valign="top"><em>name</em> </td><td>ASCII identifier of the CTL handle </td></tr>
8394
<tr><td valign="top"><br>
8395
</td><td valign="top"><em>mode</em> </td><td>Open mode (see <a class="el" href="group___control.html#g5586bc148cc719502294277c91a89ff5">SND_CTL_NONBLOCK</a>, <a class="el" href="group___control.html#g65f5927f20d2ee013b69b6df7f0f4087">SND_CTL_ASYNC</a>) </td></tr>
8396
<tr><td valign="top"><br>
8397
</td><td valign="top"><em>lconf</em> </td><td>Local configuration </td></tr>
8400
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
8404
<a class="anchor" name="g670abfcc404b38fa80af355141aec9ea"></a><!-- doxytag: member="control.h::snd_ctl_poll_descriptors" ref="g670abfcc404b38fa80af355141aec9ea" args="(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space)" -->
8405
</p><div class="memitem">
8406
<div class="memproto">
8407
<table class="memname">
8409
<td class="memname">int snd_ctl_poll_descriptors </td>
8411
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8412
<td class="paramname"> <em>ctl</em>, </td>
8415
<td class="paramkey"><br>
8419
<td class="paramtype">struct pollfd * </td>
8420
<td class="paramname"> <em>pfds</em>, </td>
8423
<td class="paramkey"><br>
8427
<td class="paramtype">unsigned int </td>
8428
<td class="paramname"> <em>space</em></td><td> </td>
8436
</td><td width="100%"><br>
8441
<div class="memdoc">
8444
get poll descriptors
8446
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8447
<table border="0" cellpadding="0" cellspacing="2">
8448
<tbody><tr><td valign="top"><br>
8449
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8450
<tr><td valign="top"><br>
8451
</td><td valign="top"><em>pfds</em> </td><td>array of poll descriptors </td></tr>
8452
<tr><td valign="top"><br>
8453
</td><td valign="top"><em>space</em> </td><td>space in the poll descriptor array </td></tr>
8456
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>count of filled descriptors </dd></dl>
8460
<a class="anchor" name="gc920dd42059e0700840642ad36c30597"></a><!-- doxytag: member="control.h::snd_ctl_poll_descriptors_count" ref="gc920dd42059e0700840642ad36c30597" args="(snd_ctl_t *ctl)" -->
8461
</p><div class="memitem">
8462
<div class="memproto">
8463
<table class="memname">
8465
<td class="memname">int snd_ctl_poll_descriptors_count </td>
8467
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8468
<td class="paramname"> <em>ctl</em> </td>
8469
<td> ) </td>
8470
<td width="100%"><br>
8475
<div class="memdoc">
8478
get count of poll descriptors for CTL handle
8480
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8481
<table border="0" cellpadding="0" cellspacing="2">
8482
<tbody><tr><td valign="top"><br>
8483
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8486
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>count of poll descriptors </dd></dl>
8490
<a class="anchor" name="ga70244cf1d5abccf0534642a84f93a84"></a><!-- doxytag: member="control.h::snd_ctl_poll_descriptors_revents" ref="ga70244cf1d5abccf0534642a84f93a84" args="(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)" -->
8491
</p><div class="memitem">
8492
<div class="memproto">
8493
<table class="memname">
8495
<td class="memname">int snd_ctl_poll_descriptors_revents </td>
8497
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8498
<td class="paramname"> <em>ctl</em>, </td>
8501
<td class="paramkey"><br>
8505
<td class="paramtype">struct pollfd * </td>
8506
<td class="paramname"> <em>pfds</em>, </td>
8509
<td class="paramkey"><br>
8513
<td class="paramtype">unsigned int </td>
8514
<td class="paramname"> <em>nfds</em>, </td>
8517
<td class="paramkey"><br>
8521
<td class="paramtype">unsigned short * </td>
8522
<td class="paramname"> <em>revents</em></td><td> </td>
8530
</td><td width="100%"><br>
8535
<div class="memdoc">
8538
get returned events from poll descriptors
8540
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8541
<table border="0" cellpadding="0" cellspacing="2">
8542
<tbody><tr><td valign="top"><br>
8543
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8544
<tr><td valign="top"><br>
8545
</td><td valign="top"><em>pfds</em> </td><td>array of poll descriptors </td></tr>
8546
<tr><td valign="top"><br>
8547
</td><td valign="top"><em>nfds</em> </td><td>count of poll descriptors </td></tr>
8548
<tr><td valign="top"><br>
8549
</td><td valign="top"><em>revents</em> </td><td>returned events </td></tr>
8552
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
8556
<a class="anchor" name="ge9143d17bbcc7f039601fe6465fe813d"></a><!-- doxytag: member="control.h::snd_ctl_read" ref="ge9143d17bbcc7f039601fe6465fe813d" args="(snd_ctl_t *ctl, snd_ctl_event_t *event)" -->
8557
</p><div class="memitem">
8558
<div class="memproto">
8559
<table class="memname">
8561
<td class="memname">int snd_ctl_read </td>
8563
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8564
<td class="paramname"> <em>ctl</em>, </td>
8567
<td class="paramkey"><br>
8571
<td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> * </td>
8572
<td class="paramname"> <em>event</em></td><td> </td>
8580
</td><td width="100%"><br>
8585
<div class="memdoc">
8590
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8591
<table border="0" cellpadding="0" cellspacing="2">
8592
<tbody><tr><td valign="top"><br>
8593
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8594
<tr><td valign="top"><br>
8595
</td><td valign="top"><em>event</em> </td><td>Event pointer </td></tr>
8598
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>number of events read otherwise a negative error code on failure </dd></dl>
8602
<a class="anchor" name="gf70feeb5ea9216121c5fb26034f28ac4"></a><!-- doxytag: member="control.h::snd_ctl_set_power_state" ref="gf70feeb5ea9216121c5fb26034f28ac4" args="(snd_ctl_t *ctl, unsigned int state)" -->
8603
</p><div class="memitem">
8604
<div class="memproto">
8605
<table class="memname">
8607
<td class="memname">int snd_ctl_set_power_state </td>
8609
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8610
<td class="paramname"> <em>ctl</em>, </td>
8613
<td class="paramkey"><br>
8617
<td class="paramtype">unsigned int </td>
8618
<td class="paramname"> <em>state</em></td><td> </td>
8626
</td><td width="100%"><br>
8631
<div class="memdoc">
8634
Set Power State to given SND_CTL_POWER_* value and do the power management.
8636
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8637
<table border="0" cellpadding="0" cellspacing="2">
8638
<tbody><tr><td valign="top"><br>
8639
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8640
<tr><td valign="top"><br>
8641
</td><td valign="top"><em>state</em> </td><td>Desired Power State </td></tr>
8644
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
8648
<a class="anchor" name="g9a9dfdbbd2b7c2d74293f8c54e51445b"></a><!-- doxytag: member="control.h::snd_ctl_subscribe_events" ref="g9a9dfdbbd2b7c2d74293f8c54e51445b" args="(snd_ctl_t *ctl, int subscribe)" -->
8649
</p><div class="memitem">
8650
<div class="memproto">
8651
<table class="memname">
8653
<td class="memname">int snd_ctl_subscribe_events </td>
8655
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8656
<td class="paramname"> <em>ctl</em>, </td>
8659
<td class="paramkey"><br>
8663
<td class="paramtype">int </td>
8664
<td class="paramname"> <em>subscribe</em></td><td> </td>
8672
</td><td width="100%"><br>
8677
<div class="memdoc">
8680
Ask to be informed about events (poll, <a class="el" href="group___control.html#gc6043c5e6f543bbb370e731f6b99fe38">snd_async_add_ctl_handler</a>, <a class="el" href="group___control.html#ge9143d17bbcc7f039601fe6465fe813d">snd_ctl_read</a>).
8682
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8683
<table border="0" cellpadding="0" cellspacing="2">
8684
<tbody><tr><td valign="top"><br>
8685
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8686
<tr><td valign="top"><br>
8687
</td><td valign="top"><em>subscribe</em> </td><td>0 = unsubscribe, 1 = subscribe </td></tr>
8690
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
8694
<a class="anchor" name="g97dce0bd3805dc72abf9cd4bb2a26de5"></a><!-- doxytag: member="control.h::snd_ctl_type" ref="g97dce0bd3805dc72abf9cd4bb2a26de5" args="(snd_ctl_t *ctl)" -->
8695
</p><div class="memitem">
8696
<div class="memproto">
8697
<table class="memname">
8699
<td class="memname"><a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a> snd_ctl_type </td>
8701
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8702
<td class="paramname"> <em>ctl</em> </td>
8703
<td> ) </td>
8704
<td width="100%"><br>
8709
<div class="memdoc">
8712
get type of CTL handle
8714
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8715
<table border="0" cellpadding="0" cellspacing="2">
8716
<tbody><tr><td valign="top"><br>
8717
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8720
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>type of CTL handle</dd></dl>
8721
Returns the type <a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a> of given CTL handle.
8724
<a class="anchor" name="g4aa1bf3d1456da9c5eba36de6050c950"></a><!-- doxytag: member="control.h::snd_ctl_wait" ref="g4aa1bf3d1456da9c5eba36de6050c950" args="(snd_ctl_t *ctl, int timeout)" -->
8725
</p><div class="memitem">
8726
<div class="memproto">
8727
<table class="memname">
8729
<td class="memname">int snd_ctl_wait </td>
8731
<td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> * </td>
8732
<td class="paramname"> <em>ctl</em>, </td>
8735
<td class="paramkey"><br>
8739
<td class="paramtype">int </td>
8740
<td class="paramname"> <em>timeout</em></td><td> </td>
8748
</td><td width="100%"><br>
8753
<div class="memdoc">
8756
Wait for a CTL to become ready (i.e. at least one event pending).
8758
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8759
<table border="0" cellpadding="0" cellspacing="2">
8760
<tbody><tr><td valign="top"><br>
8761
</td><td valign="top"><em>ctl</em> </td><td>CTL handle </td></tr>
8762
<tr><td valign="top"><br>
8763
</td><td valign="top"><em>timeout</em> </td><td>maximum time in milliseconds to wait </td></tr>
8766
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 otherwise a negative error code on failure </dd></dl>
8770
<a class="anchor" name="gb04e1e8ca97e03ce0ae32a867778b10e"></a><!-- doxytag: member="control.h::snd_device_name_free_hint" ref="gb04e1e8ca97e03ce0ae32a867778b10e" args="(void **hints)" -->
8771
</p><div class="memitem">
8772
<div class="memproto">
8773
<table class="memname">
8775
<td class="memname">int snd_device_name_free_hint </td>
8777
<td class="paramtype">void ** </td>
8778
<td class="paramname"> <em>hints</em> </td>
8779
<td> ) </td>
8780
<td width="100%"><br>
8785
<div class="memdoc">
8788
Free a string list with device name hints.
8790
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8791
<table border="0" cellpadding="0" cellspacing="2">
8792
<tbody><tr><td valign="top"><br>
8793
</td><td valign="top"><em>hints</em> </td><td>A string list to free </td></tr>
8796
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
8800
<a class="anchor" name="g89654b540632851f112745d07804cda7"></a><!-- doxytag: member="control.h::snd_device_name_get_hint" ref="g89654b540632851f112745d07804cda7" args="(const void *hint, const char *id)" -->
8801
</p><div class="memitem">
8802
<div class="memproto">
8803
<table class="memname">
8805
<td class="memname">char* snd_device_name_get_hint </td>
8807
<td class="paramtype">const void * </td>
8808
<td class="paramname"> <em>hint</em>, </td>
8811
<td class="paramkey"><br>
8815
<td class="paramtype">const char * </td>
8816
<td class="paramname"> <em>id</em></td><td> </td>
8824
</td><td width="100%"><br>
8829
<div class="memdoc">
8832
Get a hint Free a string list with device name hints.
8834
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8835
<table border="0" cellpadding="0" cellspacing="2">
8836
<tbody><tr><td valign="top"><br>
8837
</td><td valign="top"><em>hint</em> </td><td>A pointer to hint </td></tr>
8838
<tr><td valign="top"><br>
8839
</td><td valign="top"><em>id</em> </td><td>Hint ID (see bellow) </td></tr>
8842
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>an allocated ASCII string if success, otherwise NULL</dd></dl>List
8843
of valid IDs: NAME - name of device DESC - description of device IOID -
8844
input / output identification (Input or Output strings), not present
8845
(NULL) means both </div>
8847
<a class="anchor" name="gceb9a23613885d5217e15629450ccf2c"></a><!-- doxytag: member="control.h::snd_device_name_hint" ref="gceb9a23613885d5217e15629450ccf2c" args="(int card, const char *iface, void ***hints)" -->
8848
</p><div class="memitem">
8849
<div class="memproto">
8850
<table class="memname">
8852
<td class="memname">int snd_device_name_hint </td>
8854
<td class="paramtype">int </td>
8855
<td class="paramname"> <em>card</em>, </td>
8858
<td class="paramkey"><br>
8862
<td class="paramtype">const char * </td>
8863
<td class="paramname"> <em>iface</em>, </td>
8866
<td class="paramkey"><br>
8870
<td class="paramtype">void *** </td>
8871
<td class="paramname"> <em>hints</em></td><td> </td>
8879
</td><td width="100%"><br>
8884
<div class="memdoc">
8887
Return string list with device name hints.
8889
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8890
<table border="0" cellpadding="0" cellspacing="2">
8891
<tbody><tr><td valign="top"><br>
8892
</td><td valign="top"><em>card</em> </td><td>Card number or -1 (means all cards) </td></tr>
8893
<tr><td valign="top"><br>
8894
</td><td valign="top"><em>iface</em> </td><td>Interface identification (like "pcm", "rawmidi", "timer", "seq") </td></tr>
8895
<tr><td valign="top"><br>
8896
</td><td valign="top"><em>hints</em> </td><td>Result - array of string with device name hints </td></tr>
8899
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code</dd></dl>
8900
Note: The device description is separated with '|' char.<p>
8901
User defined hints are gathered from namehint.IFACE tree like:</p><p>
8902
<code> namehint.pcm {<br>
8903
myfile "file:FILE=/tmp/soundwave.raw|Save sound output to /tmp/soundwave.raw"<br>
8904
myplug "plug:front:Do all conversions for front speakers"<br>
8906
Special variables: defaults.namehint.showall specifies if all device definitions are accepted (boolean type).
8909
<a class="anchor" name="gb3880fdd033f5f93174ead930b7bdf6d"></a><!-- doxytag: member="control.h::snd_tlv_convert_from_dB" ref="gb3880fdd033f5f93174ead930b7bdf6d" args="(unsigned int *tlv, long rangemin, long rangemax, long db_gain, long *value, int xdir)" -->
8910
</p><div class="memitem">
8911
<div class="memproto">
8912
<table class="memname">
8914
<td class="memname">int snd_tlv_convert_from_dB </td>
8916
<td class="paramtype">unsigned int * </td>
8917
<td class="paramname"> <em>tlv</em>, </td>
8920
<td class="paramkey"><br>
8924
<td class="paramtype">long </td>
8925
<td class="paramname"> <em>rangemin</em>, </td>
8928
<td class="paramkey"><br>
8932
<td class="paramtype">long </td>
8933
<td class="paramname"> <em>rangemax</em>, </td>
8936
<td class="paramkey"><br>
8940
<td class="paramtype">long </td>
8941
<td class="paramname"> <em>db_gain</em>, </td>
8944
<td class="paramkey"><br>
8948
<td class="paramtype">long * </td>
8949
<td class="paramname"> <em>value</em>, </td>
8952
<td class="paramkey"><br>
8956
<td class="paramtype">int </td>
8957
<td class="paramname"> <em>xdir</em></td><td> </td>
8965
</td><td width="100%"><br>
8970
<div class="memdoc">
8973
Convert from dB gain to the corresponding raw value.
8975
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
8976
<table border="0" cellpadding="0" cellspacing="2">
8977
<tbody><tr><td valign="top"><br>
8978
</td><td valign="top"><em>tlv</em> </td><td>the TLV source returned by <a class="el" href="group___control.html#gf898227141d761cb364068dc853f44d8">snd_tlv_parse_dB_info()</a> </td></tr>
8979
<tr><td valign="top"><br>
8980
</td><td valign="top"><em>rangemin</em> </td><td>the minimum value of the raw volume </td></tr>
8981
<tr><td valign="top"><br>
8982
</td><td valign="top"><em>rangemax</em> </td><td>the maximum value of the raw volume </td></tr>
8983
<tr><td valign="top"><br>
8984
</td><td valign="top"><em>db_gain</em> </td><td>the dB gain to convert (in 0.01dB unit) </td></tr>
8985
<tr><td valign="top"><br>
8986
</td><td valign="top"><em>value</em> </td><td>the pointer to store the converted raw volume value </td></tr>
8987
<tr><td valign="top"><br>
8988
</td><td valign="top"><em>xdir</em> </td><td>the direction for round-up. The value is round up when this is positive. </td></tr>
8991
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
8995
<a class="anchor" name="g80e50c16b309e410fdfc7e7ba6a5b3f4"></a><!-- doxytag: member="control.h::snd_tlv_convert_to_dB" ref="g80e50c16b309e410fdfc7e7ba6a5b3f4" args="(unsigned int *tlv, long rangemin, long rangemax, long volume, long *db_gain)" -->
8996
</p><div class="memitem">
8997
<div class="memproto">
8998
<table class="memname">
9000
<td class="memname">int snd_tlv_convert_to_dB </td>
9002
<td class="paramtype">unsigned int * </td>
9003
<td class="paramname"> <em>tlv</em>, </td>
9006
<td class="paramkey"><br>
9010
<td class="paramtype">long </td>
9011
<td class="paramname"> <em>rangemin</em>, </td>
9014
<td class="paramkey"><br>
9018
<td class="paramtype">long </td>
9019
<td class="paramname"> <em>rangemax</em>, </td>
9022
<td class="paramkey"><br>
9026
<td class="paramtype">long </td>
9027
<td class="paramname"> <em>volume</em>, </td>
9030
<td class="paramkey"><br>
9034
<td class="paramtype">long * </td>
9035
<td class="paramname"> <em>db_gain</em></td><td> </td>
9043
</td><td width="100%"><br>
9048
<div class="memdoc">
9051
Convert the given raw volume value to a dB gain.
9053
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
9054
<table border="0" cellpadding="0" cellspacing="2">
9055
<tbody><tr><td valign="top"><br>
9056
</td><td valign="top"><em>tlv</em> </td><td>the TLV source returned by <a class="el" href="group___control.html#gf898227141d761cb364068dc853f44d8">snd_tlv_parse_dB_info()</a> </td></tr>
9057
<tr><td valign="top"><br>
9058
</td><td valign="top"><em>rangemin</em> </td><td>the minimum value of the raw volume </td></tr>
9059
<tr><td valign="top"><br>
9060
</td><td valign="top"><em>rangemax</em> </td><td>the maximum value of the raw volume </td></tr>
9061
<tr><td valign="top"><br>
9062
</td><td valign="top"><em>volume</em> </td><td>the raw volume value to convert </td></tr>
9063
<tr><td valign="top"><br>
9064
</td><td valign="top"><em>db_gain</em> </td><td>the dB gain (in 0.01dB unit) </td></tr>
9067
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
9071
<a class="anchor" name="g76f3f99eeb0890aa9216afb33cb9c381"></a><!-- doxytag: member="control.h::snd_tlv_get_dB_range" ref="g76f3f99eeb0890aa9216afb33cb9c381" args="(unsigned int *tlv, long rangemin, long rangemax, long *min, long *max)" -->
9072
</p><div class="memitem">
9073
<div class="memproto">
9074
<table class="memname">
9076
<td class="memname">int snd_tlv_get_dB_range </td>
9078
<td class="paramtype">unsigned int * </td>
9079
<td class="paramname"> <em>tlv</em>, </td>
9082
<td class="paramkey"><br>
9086
<td class="paramtype">long </td>
9087
<td class="paramname"> <em>rangemin</em>, </td>
9090
<td class="paramkey"><br>
9094
<td class="paramtype">long </td>
9095
<td class="paramname"> <em>rangemax</em>, </td>
9098
<td class="paramkey"><br>
9102
<td class="paramtype">long * </td>
9103
<td class="paramname"> <em>min</em>, </td>
9106
<td class="paramkey"><br>
9110
<td class="paramtype">long * </td>
9111
<td class="paramname"> <em>max</em></td><td> </td>
9119
</td><td width="100%"><br>
9124
<div class="memdoc">
9127
Get the dB min/max values.
9129
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
9130
<table border="0" cellpadding="0" cellspacing="2">
9131
<tbody><tr><td valign="top"><br>
9132
</td><td valign="top"><em>tlv</em> </td><td>the TLV source returned by <a class="el" href="group___control.html#gf898227141d761cb364068dc853f44d8">snd_tlv_parse_dB_info()</a> </td></tr>
9133
<tr><td valign="top"><br>
9134
</td><td valign="top"><em>rangemin</em> </td><td>the minimum value of the raw volume </td></tr>
9135
<tr><td valign="top"><br>
9136
</td><td valign="top"><em>rangemax</em> </td><td>the maximum value of the raw volume </td></tr>
9137
<tr><td valign="top"><br>
9138
</td><td valign="top"><em>min</em> </td><td>the pointer to store the minimum dB value (in 0.01dB unit) </td></tr>
9139
<tr><td valign="top"><br>
9140
</td><td valign="top"><em>max</em> </td><td>the pointer to store the maximum dB value (in 0.01dB unit) </td></tr>
9143
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
9147
<a class="anchor" name="gf898227141d761cb364068dc853f44d8"></a><!-- doxytag: member="control.h::snd_tlv_parse_dB_info" ref="gf898227141d761cb364068dc853f44d8" args="(unsigned int *tlv, unsigned int tlv_size, unsigned int **db_tlvp)" -->
9148
</p><div class="memitem">
9149
<div class="memproto">
9150
<table class="memname">
9152
<td class="memname">int snd_tlv_parse_dB_info </td>
9154
<td class="paramtype">unsigned int * </td>
9155
<td class="paramname"> <em>tlv</em>, </td>
9158
<td class="paramkey"><br>
9162
<td class="paramtype">unsigned int </td>
9163
<td class="paramname"> <em>tlv_size</em>, </td>
9166
<td class="paramkey"><br>
9170
<td class="paramtype">unsigned int ** </td>
9171
<td class="paramname"> <em>db_tlvp</em></td><td> </td>
9179
</td><td width="100%"><br>
9184
<div class="memdoc">
9187
Parse TLV stream and retrieve dB information.
9189
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
9190
<table border="0" cellpadding="0" cellspacing="2">
9191
<tbody><tr><td valign="top"><br>
9192
</td><td valign="top"><em>tlv</em> </td><td>the TLV source </td></tr>
9193
<tr><td valign="top"><br>
9194
</td><td valign="top"><em>tlv_size</em> </td><td>the byte size of TLV source </td></tr>
9195
<tr><td valign="top"><br>
9196
</td><td valign="top"><em>db_tlvp</em> </td><td>the pointer stored the dB TLV information </td></tr>
9199
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>the byte size of dB TLV information if found in the given TLV source, or a negative error code.</dd></dl>This
9200
function parses the given TLV source and stores the TLV start point if
9201
the TLV information regarding dB conversion is found. The stored TLV
9202
pointer can be passed to the convesion functions <a class="el" href="group___control.html#g80e50c16b309e410fdfc7e7ba6a5b3f4">snd_tlv_convert_to_dB()</a>, <a class="el" href="group___control.html#gb3880fdd033f5f93174ead930b7bdf6d">snd_tlv_convert_from_dB()</a> and <a class="el" href="group___control.html#g76f3f99eeb0890aa9216afb33cb9c381">snd_tlv_get_dB_range()</a>.
9205
</p><hr size="1"><address style=""><small>Generated on Wed Sep 9 14:37:08 2009 for ALSA project - the C library reference by
9206
<a href="http://www.doxygen.org/index.html">
9207
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
b'\\ No newline at end of file'