~n3npq/lsb/t2c-alsa-tests

« back to all changes in this revision

Viewing changes to spec/group___control.html

  • Committer: Jeff Licquia
  • Date: 2009-12-01 02:17:33 UTC
  • Revision ID: jeff@licquia.org-20091201021733-3wwc7cdytdzz7hwo
Initial version.

This contains the spec, as mirrored from the ALSA site, and as run
through KompoZer (so its gratuitous format changes are already there).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head>
 
3
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ALSA project - the C library reference: Control Interface</title>
 
4
 
 
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 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li><a href="modules.html"><span>Modules</span></a></li>
 
12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
 
13
    <li><a href="files.html"><span>Files</span></a></li>
 
14
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
 
15
    <li><a href="examples.html"><span>Examples</span></a></li>
 
16
  </ul></div>
 
17
<h1>Control Interface</h1><table border="0" cellpadding="0" cellspacing="0">
 
18
<tbody><tr><td><br>
 
19
</td></tr>
 
20
<tr><td colspan="2"><br><h2>Modules</h2></td></tr>
 
21
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_control.html">High level Control Interface</a></td></tr>
 
22
 
 
23
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_control.html">Setup Control Interface</a></td></tr>
 
24
 
 
25
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
 
26
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958</a></td></tr>
 
27
 
 
28
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
 
29
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gea32c77baf04f60abff1110417418f8f">SND_CONTROL_DLSYM_VERSION</a>&nbsp;&nbsp;&nbsp;_dlsym_control_001</td></tr>
 
30
 
 
31
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gcce091d3716682bc23d8a4b833e434fa">SND_CTL_EVENT_MASK_REMOVE</a></td></tr>
 
32
 
 
33
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf8c94abcf943d3070a418659bd288a64">SND_CTL_EVENT_MASK_VALUE</a></td></tr>
 
34
 
 
35
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge1073645081fac21ef7ed8cbb83273e4">SND_CTL_EVENT_MASK_INFO</a></td></tr>
 
36
 
 
37
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5363f66de356e642df58ea13a98dc515">SND_CTL_EVENT_MASK_ADD</a></td></tr>
 
38
 
 
39
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gfc7f39f40b7fa92b6fe52ddd4faa2669">SND_CTL_EVENT_MASK_TLV</a></td></tr>
 
40
 
 
41
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gca2e910ff41920fdfd7d3438d25efe4f">SND_CTL_NAME_NONE</a>&nbsp;&nbsp;&nbsp;""</td></tr>
 
42
 
 
43
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gee78f26ebd61724f63de752daf9fb5b7">SND_CTL_NAME_PLAYBACK</a>&nbsp;&nbsp;&nbsp;"Playback "</td></tr>
 
44
 
 
45
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc097f557ebca454d28cd3907603fc200">SND_CTL_NAME_CAPTURE</a>&nbsp;&nbsp;&nbsp;"Capture "</td></tr>
 
46
 
 
47
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd85a2fd8ac70ef9920e51429c295dbb6">SND_CTL_NAME_IEC958_NONE</a>&nbsp;&nbsp;&nbsp;""</td></tr>
 
48
 
 
49
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5e80fb8074f4c46c20bd8643d4bd8f01">SND_CTL_NAME_IEC958_SWITCH</a>&nbsp;&nbsp;&nbsp;"Switch"</td></tr>
 
50
 
 
51
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g110db3b82547b9adc68d7bddf5753429">SND_CTL_NAME_IEC958_VOLUME</a>&nbsp;&nbsp;&nbsp;"Volume"</td></tr>
 
52
 
 
53
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g02ecf52b94a5b92530efcf9940b25848">SND_CTL_NAME_IEC958_DEFAULT</a>&nbsp;&nbsp;&nbsp;"Default"</td></tr>
 
54
 
 
55
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf3365b35cc6bf28f6a18fd52487b9faa">SND_CTL_NAME_IEC958_MASK</a>&nbsp;&nbsp;&nbsp;"Mask"</td></tr>
 
56
 
 
57
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gbf9d999dde40d6ab9a350d8f1eefb5a7">SND_CTL_NAME_IEC958_CON_MASK</a>&nbsp;&nbsp;&nbsp;"Con Mask"</td></tr>
 
58
 
 
59
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge2016f5bf0d3f832300b89647b4cd2d0">SND_CTL_NAME_IEC958_PRO_MASK</a>&nbsp;&nbsp;&nbsp;"Pro Mask"</td></tr>
 
60
 
 
61
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1959631668e7d6a6c5fadfab63fcbc74">SND_CTL_NAME_IEC958_PCM_STREAM</a>&nbsp;&nbsp;&nbsp;"PCM Stream"</td></tr>
 
62
 
 
63
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g550f0a9f82752dbd734aba9867c7f13a">SND_CTL_NAME_IEC958</a>(expl, direction, what)&nbsp;&nbsp;&nbsp;"IEC958 " expl SND_CTL_NAME_##direction SND_CTL_NAME_IEC958_##what</td></tr>
 
64
 
 
65
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1095126a9c336ab8649f77664b84ffed">SND_CTL_POWER_MASK</a>&nbsp;&nbsp;&nbsp;0xff00</td></tr>
 
66
 
 
67
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gfad188663bcc3090a8107c498cfbf5d0">SND_CTL_POWER_D0</a>&nbsp;&nbsp;&nbsp;0x0000</td></tr>
 
68
 
 
69
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g35265befb4535956714be32920c78297">SND_CTL_POWER_D1</a>&nbsp;&nbsp;&nbsp;0x0100</td></tr>
 
70
 
 
71
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb95e3b2ea61fe588199bda3a1f2d26b7">SND_CTL_POWER_D2</a>&nbsp;&nbsp;&nbsp;0x0200</td></tr>
 
72
 
 
73
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0c7be51e842ea5333a51d35dcba84ddd">SND_CTL_POWER_D3</a>&nbsp;&nbsp;&nbsp;0x0300</td></tr>
 
74
 
 
75
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd84936642becf3077092ea48bb64ebda">SND_CTL_POWER_D3hot</a>&nbsp;&nbsp;&nbsp;(SND_CTL_POWER_D3|0x0000)</td></tr>
 
76
 
 
77
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb53b48e8ca639180c707b645af65337f">SND_CTL_POWER_D3cold</a>&nbsp;&nbsp;&nbsp;(SND_CTL_POWER_D3|0x0001)</td></tr>
 
78
 
 
79
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g145cd2efa9ac984bf0d49c4493627e68">SND_CTL_TLVT_CONTAINER</a>&nbsp;&nbsp;&nbsp;0x0000</td></tr>
 
80
 
 
81
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2039eb986a4376cc0c416c75a4e08e2d">SND_CTL_TLVT_DB_SCALE</a>&nbsp;&nbsp;&nbsp;0x0001</td></tr>
 
82
 
 
83
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g060162fb7e452b4f67f6b1e467d22e14">SND_CTL_TLVT_DB_LINEAR</a>&nbsp;&nbsp;&nbsp;0x0002</td></tr>
 
84
 
 
85
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g255317561a4762dce4f50a10f77884f8">SND_CTL_TLVT_DB_RANGE</a>&nbsp;&nbsp;&nbsp;0x0003</td></tr>
 
86
 
 
87
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ged16bd0b1f1a47b2bb5d487114042ab4">SND_CTL_TLVT_DB_MINMAX</a>&nbsp;&nbsp;&nbsp;0x0004</td></tr>
 
88
 
 
89
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7243a4a717258108d1ab2eb8db2b6f50">SND_CTL_TLVT_DB_MINMAX_MUTE</a>&nbsp;&nbsp;&nbsp;0x0005</td></tr>
 
90
 
 
91
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2acc958ac36458dc2498a2450edb2811">SND_CTL_TLV_DB_GAIN_MUTE</a>&nbsp;&nbsp;&nbsp;-9999999</td></tr>
 
92
 
 
93
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g5586bc148cc719502294277c91a89ff5">SND_CTL_NONBLOCK</a></td></tr>
 
94
 
 
95
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g65f5927f20d2ee013b69b6df7f0f4087">SND_CTL_ASYNC</a></td></tr>
 
96
 
 
97
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g73d8edc6cb2b5fa6a3064f93876659cb">SND_CTL_READONLY</a></td></tr>
 
98
 
 
99
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge29b38562448b38dc36af5b6ca027536">SND_SCTL_NOFREE</a>&nbsp;&nbsp;&nbsp;0x0001</td></tr>
 
100
 
 
101
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g85dc8bfb083e0ffea71aa5b03e058699">snd_ctl_elem_id_alloca</a>(ptr)</td></tr>
 
102
 
 
103
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1eb001c45296218a2db4c2830f1deb98">snd_ctl_card_info_alloca</a>(ptr)</td></tr>
 
105
 
 
106
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8a80fddea66dd980ef5dd22d88296a65">snd_ctl_event_alloca</a>(ptr)</td></tr>
 
108
 
 
109
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7facaf005846bdd7f145d9c807be3189">snd_ctl_elem_list_alloca</a>(ptr)</td></tr>
 
111
 
 
112
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g4763532de8046f84c0d9494cd209d885">snd_ctl_elem_info_alloca</a>(ptr)</td></tr>
 
114
 
 
115
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6e4c8a7a9c7bbeacb7bc3997b2b86acf">snd_ctl_elem_value_alloca</a>(ptr)</td></tr>
 
117
 
 
118
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g9da73cdacfd94eaa6863cea72f978ddf">snd_aes_iec958_t</a></td></tr>
 
121
 
 
122
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_card_info&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a></td></tr>
 
123
 
 
124
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_id&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a></td></tr>
 
125
 
 
126
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_list&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a></td></tr>
 
127
 
 
128
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_info&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a></td></tr>
 
129
 
 
130
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_elem_value&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a></td></tr>
 
131
 
 
132
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl_event&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a></td></tr>
 
133
 
 
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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a></td></tr>
 
135
 
 
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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a></td></tr>
 
137
 
 
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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a></td></tr>
 
139
 
 
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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a></td></tr>
 
141
 
 
142
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_ctl&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a></td></tr>
 
143
 
 
144
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">typedef _snd_sctl&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g69ede2c8eae4a6b5bd174be1e38ccf69">snd_sctl_t</a></td></tr>
 
145
 
 
146
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
 
147
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g687044a5222c1292cca47941081e3147">_snd_ctl_elem_type</a> { <br>
 
148
&nbsp;&nbsp;<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>, 
 
152
<br>
 
153
&nbsp;&nbsp;<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
 
157
<br>
 
158
 }</td></tr>
 
159
 
 
160
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gcad203f0331afeeadcb127e8a367a06b">_snd_ctl_elem_iface</a> { <br>
 
161
&nbsp;&nbsp;<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>, 
 
165
<br>
 
166
&nbsp;&nbsp;<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
 
170
<br>
 
171
 }</td></tr>
 
172
 
 
173
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum &nbsp;</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
 
175
 }</td></tr>
 
176
 
 
177
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">enum &nbsp;</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>
 
181
 }</td></tr>
 
182
 
 
183
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
 
184
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g2fdc6a46ac3ddfe172693f266b0a58ee">snd_card_load</a> (int card)</td></tr>
 
185
 
 
186
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ga45d18d26b11bcfdd2ba40f30a56c46a">snd_card_next</a> (int *card)</td></tr>
 
188
 
 
189
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#ge6399e627ae738cd123a61b781c015c4">snd_card_get_index</a> (const char *name)</td></tr>
 
191
 
 
192
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
194
 
 
195
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
197
 
 
198
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
200
 
 
201
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gb04e1e8ca97e03ce0ae32a867778b10e">snd_device_name_free_hint</a> (void **hints)</td></tr>
 
203
 
 
204
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
206
 
 
207
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
209
 
 
210
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
212
 
 
213
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
215
 
 
216
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
218
 
 
219
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
221
 
 
222
<tr><td class="mdescLeft">&nbsp;</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> *&nbsp;</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>
 
224
 
 
225
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
227
 
 
228
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
230
 
 
231
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
233
 
 
234
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
236
 
 
237
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
239
 
 
240
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
242
 
 
243
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
245
 
 
246
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
248
 
 
249
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
251
 
 
252
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
254
 
 
255
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
257
 
 
258
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
260
 
 
261
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
263
 
 
264
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
266
 
 
267
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
269
 
 
270
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
272
 
 
273
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
275
 
 
276
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
278
 
 
279
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
281
 
 
282
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
284
 
 
285
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
287
 
 
288
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
290
 
 
291
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
293
 
 
294
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
296
 
 
297
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
299
 
 
300
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
302
 
 
303
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
305
 
 
306
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
308
 
 
309
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
311
 
 
312
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
314
 
 
315
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
317
 
 
318
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
320
 
 
321
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
323
 
 
324
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g6c69bc87ba682c1f19a060dc9eefa29c">snd_ctl_elem_id_sizeof</a> (void)</td></tr>
 
326
 
 
327
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
329
 
 
330
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
332
 
 
333
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
335
 
 
336
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
338
 
 
339
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
341
 
 
342
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
344
 
 
345
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
347
 
 
348
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
350
 
 
351
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
353
 
 
354
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
356
 
 
357
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
359
 
 
360
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
362
 
 
363
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
365
 
 
366
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
368
 
 
369
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
371
 
 
372
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
374
 
 
375
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g881e3ff055d2525c8ecf326ef78cbb36">snd_ctl_card_info_sizeof</a> (void)</td></tr>
 
377
 
 
378
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
380
 
 
381
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
383
 
 
384
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
386
 
 
387
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
389
 
 
390
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
392
 
 
393
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
395
 
 
396
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
398
 
 
399
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
401
 
 
402
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
404
 
 
405
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
407
 
 
408
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
410
 
 
411
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g55a2d16ee51feddcc71caa9609d02116">snd_ctl_event_sizeof</a> (void)</td></tr>
 
413
 
 
414
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
416
 
 
417
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
419
 
 
420
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
422
 
 
423
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
425
 
 
426
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
428
 
 
429
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g0eac744a630c8ab22a5773783a3b459a">snd_ctl_elem_list_sizeof</a> (void)</td></tr>
 
431
 
 
432
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
434
 
 
435
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
437
 
 
438
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
440
 
 
441
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
443
 
 
444
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
446
 
 
447
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
449
 
 
450
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
452
 
 
453
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
455
 
 
456
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
458
 
 
459
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
461
 
 
462
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
464
 
 
465
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
467
 
 
468
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
470
 
 
471
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
473
 
 
474
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#gf578c56fe5377697876bf3ef878e1de8">snd_ctl_elem_info_sizeof</a> (void)</td></tr>
 
476
 
 
477
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
479
 
 
480
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
482
 
 
483
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
485
 
 
486
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
488
 
 
489
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
491
 
 
492
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
494
 
 
495
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
497
 
 
498
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
500
 
 
501
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
503
 
 
504
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
506
 
 
507
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
509
 
 
510
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
512
 
 
513
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
515
 
 
516
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
518
 
 
519
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
521
 
 
522
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
524
 
 
525
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
527
 
 
528
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
530
 
 
531
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
533
 
 
534
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
536
 
 
537
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
539
 
 
540
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
542
 
 
543
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
545
 
 
546
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
548
 
 
549
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
551
 
 
552
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
554
 
 
555
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
557
 
 
558
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
560
 
 
561
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
563
 
 
564
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
566
 
 
567
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
569
 
 
570
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
572
 
 
573
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
575
 
 
576
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
578
 
 
579
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
581
 
 
582
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
584
 
 
585
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
587
 
 
588
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
590
 
 
591
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
593
 
 
594
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
596
 
 
597
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
599
 
 
600
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
602
 
 
603
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
605
 
 
606
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
608
 
 
609
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
611
 
 
612
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
614
 
 
615
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
617
 
 
618
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___control.html#g1cc467f85955db8b0aee16d1107003cf">snd_ctl_elem_value_sizeof</a> (void)</td></tr>
 
620
 
 
621
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
623
 
 
624
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
626
 
 
627
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
629
 
 
630
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
632
 
 
633
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
635
 
 
636
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
638
 
 
639
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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>
 
641
 
 
642
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
644
 
 
645
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
647
 
 
648
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
650
 
 
651
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
653
 
 
654
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
656
 
 
657
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
659
 
 
660
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
662
 
 
663
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
665
 
 
666
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
668
 
 
669
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
671
 
 
672
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
674
 
 
675
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
677
 
 
678
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
680
 
 
681
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
683
 
 
684
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
686
 
 
687
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
689
 
 
690
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
692
 
 
693
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
695
 
 
696
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
698
 
 
699
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
701
 
 
702
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
704
 
 
705
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
707
 
 
708
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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>
 
710
 
 
711
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
713
 
 
714
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
716
 
 
717
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
719
 
 
720
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
722
 
 
723
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
725
 
 
726
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
728
 
 
729
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
731
 
 
732
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
734
 
 
735
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
737
 
 
738
<tr><td class="mdescLeft">&nbsp;</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>
 
739
</tbody></table>
 
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">
 
746
        <tbody><tr>
 
747
          <td class="memname">#define SND_CONTROL_DLSYM_VERSION&nbsp;&nbsp;&nbsp;_dlsym_control_001          </td>
 
748
        </tr>
 
749
      </tbody></table>
 
750
</div>
 
751
<div class="memdoc">
 
752
 
 
753
<p>
 
754
dlsym version for interface entry callback 
 
755
</p></div>
 
756
</div><p>
 
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">
 
761
        <tbody><tr>
 
762
          <td class="memname">#define SND_CTL_ASYNC          </td>
 
763
        </tr>
 
764
      </tbody></table>
 
765
</div>
 
766
<div class="memdoc">
 
767
 
 
768
<p>
 
769
Async notification (flag for open mode) 
 
770
</p></div>
 
771
</div><p>
 
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">
 
776
        <tbody><tr>
 
777
          <td class="memname">#define snd_ctl_card_info_alloca          </td>
 
778
          <td>(</td>
 
779
          <td class="paramtype">ptr&nbsp;</td>
 
780
          <td class="paramname">          <br>
 
781
</td>
 
782
          <td>&nbsp;)&nbsp;</td>
 
783
          <td width="100%"><br>
 
784
</td>
 
785
        </tr>
 
786
      </tbody></table>
 
787
</div>
 
788
<div class="memdoc">
 
789
 
 
790
<p>
 
791
allocate an invalid <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> using standard alloca 
 
792
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
797
  </tbody></table>
 
798
</dd></dl>
 
799
 
 
800
</div>
 
801
</div><p>
 
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">
 
806
        <tbody><tr>
 
807
          <td class="memname">#define snd_ctl_elem_id_alloca          </td>
 
808
          <td>(</td>
 
809
          <td class="paramtype">ptr&nbsp;</td>
 
810
          <td class="paramname">          <br>
 
811
</td>
 
812
          <td>&nbsp;)&nbsp;</td>
 
813
          <td width="100%"><br>
 
814
</td>
 
815
        </tr>
 
816
      </tbody></table>
 
817
</div>
 
818
<div class="memdoc">
 
819
 
 
820
<p>
 
821
allocate an invalid <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> using standard alloca 
 
822
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
827
  </tbody></table>
 
828
</dd></dl>
 
829
 
 
830
</div>
 
831
</div><p>
 
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">
 
836
        <tbody><tr>
 
837
          <td class="memname">#define snd_ctl_elem_info_alloca          </td>
 
838
          <td>(</td>
 
839
          <td class="paramtype">ptr&nbsp;</td>
 
840
          <td class="paramname">          <br>
 
841
</td>
 
842
          <td>&nbsp;)&nbsp;</td>
 
843
          <td width="100%"><br>
 
844
</td>
 
845
        </tr>
 
846
      </tbody></table>
 
847
</div>
 
848
<div class="memdoc">
 
849
 
 
850
<p>
 
851
allocate an invalid <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> using standard alloca 
 
852
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
857
  </tbody></table>
 
858
</dd></dl>
 
859
 
 
860
</div>
 
861
</div><p>
 
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">
 
866
        <tbody><tr>
 
867
          <td class="memname">#define snd_ctl_elem_list_alloca          </td>
 
868
          <td>(</td>
 
869
          <td class="paramtype">ptr&nbsp;</td>
 
870
          <td class="paramname">          <br>
 
871
</td>
 
872
          <td>&nbsp;)&nbsp;</td>
 
873
          <td width="100%"><br>
 
874
</td>
 
875
        </tr>
 
876
      </tbody></table>
 
877
</div>
 
878
<div class="memdoc">
 
879
 
 
880
<p>
 
881
allocate an invalid <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> using standard alloca 
 
882
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
887
  </tbody></table>
 
888
</dd></dl>
 
889
 
 
890
</div>
 
891
</div><p>
 
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">
 
896
        <tbody><tr>
 
897
          <td class="memname">#define snd_ctl_elem_value_alloca          </td>
 
898
          <td>(</td>
 
899
          <td class="paramtype">ptr&nbsp;</td>
 
900
          <td class="paramname">          <br>
 
901
</td>
 
902
          <td>&nbsp;)&nbsp;</td>
 
903
          <td width="100%"><br>
 
904
</td>
 
905
        </tr>
 
906
      </tbody></table>
 
907
</div>
 
908
<div class="memdoc">
 
909
 
 
910
<p>
 
911
allocate an invalid <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> using standard alloca 
 
912
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
917
  </tbody></table>
 
918
</dd></dl>
 
919
 
 
920
</div>
 
921
</div><p>
 
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">
 
926
        <tbody><tr>
 
927
          <td class="memname">#define snd_ctl_event_alloca          </td>
 
928
          <td>(</td>
 
929
          <td class="paramtype">ptr&nbsp;</td>
 
930
          <td class="paramname">          <br>
 
931
</td>
 
932
          <td>&nbsp;)&nbsp;</td>
 
933
          <td width="100%"><br>
 
934
</td>
 
935
        </tr>
 
936
      </tbody></table>
 
937
</div>
 
938
<div class="memdoc">
 
939
 
 
940
<p>
 
941
allocate an invalid <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> using standard alloca 
 
942
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
947
  </tbody></table>
 
948
</dd></dl>
 
949
 
 
950
</div>
 
951
</div><p>
 
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">
 
956
        <tbody><tr>
 
957
          <td class="memname">#define SND_CTL_EVENT_MASK_ADD          </td>
 
958
        </tr>
 
959
      </tbody></table>
 
960
</div>
 
961
<div class="memdoc">
 
962
 
 
963
<p>
 
964
Element has been added 
 
965
</p></div>
 
966
</div><p>
 
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">
 
971
        <tbody><tr>
 
972
          <td class="memname">#define SND_CTL_EVENT_MASK_INFO          </td>
 
973
        </tr>
 
974
      </tbody></table>
 
975
</div>
 
976
<div class="memdoc">
 
977
 
 
978
<p>
 
979
Element info has been changed 
 
980
</p></div>
 
981
</div><p>
 
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">
 
986
        <tbody><tr>
 
987
          <td class="memname">#define SND_CTL_EVENT_MASK_REMOVE          </td>
 
988
        </tr>
 
989
      </tbody></table>
 
990
</div>
 
991
<div class="memdoc">
 
992
 
 
993
<p>
 
994
Element has been removed (Warning: test this first and if set don't test the other masks) 
 
995
</p></div>
 
996
</div><p>
 
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">
 
1001
        <tbody><tr>
 
1002
          <td class="memname">#define SND_CTL_EVENT_MASK_TLV          </td>
 
1003
        </tr>
 
1004
      </tbody></table>
 
1005
</div>
 
1006
<div class="memdoc">
 
1007
 
 
1008
<p>
 
1009
Element's TLV value has been changed 
 
1010
</p></div>
 
1011
</div><p>
 
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">
 
1016
        <tbody><tr>
 
1017
          <td class="memname">#define SND_CTL_EVENT_MASK_VALUE          </td>
 
1018
        </tr>
 
1019
      </tbody></table>
 
1020
</div>
 
1021
<div class="memdoc">
 
1022
 
 
1023
<p>
 
1024
Element value has been changed 
 
1025
</p></div>
 
1026
</div><p>
 
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">
 
1031
        <tbody><tr>
 
1032
          <td class="memname">#define SND_CTL_NAME_CAPTURE&nbsp;&nbsp;&nbsp;"Capture "          </td>
 
1033
        </tr>
 
1034
      </tbody></table>
 
1035
</div>
 
1036
<div class="memdoc">
 
1037
 
 
1038
<p>
 
1039
CTL name helper 
 
1040
</p></div>
 
1041
</div><p>
 
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">
 
1046
        <tbody><tr>
 
1047
          <td class="memname">#define SND_CTL_NAME_IEC958          </td>
 
1048
          <td>(</td>
 
1049
          <td class="paramtype">expl,         </td></tr><tr>
 
1050
          <td class="paramkey"><br>
 
1051
</td>
 
1052
          <td><br>
 
1053
</td>
 
1054
          <td class="paramtype">direction,         </td></tr><tr>
 
1055
          <td class="paramkey"><br>
 
1056
</td>
 
1057
          <td><br>
 
1058
</td>
 
1059
          <td class="paramtype">what&nbsp;</td>
 
1060
          <td class="paramname">          <br>
 
1061
</td>
 
1062
          <td>&nbsp;)&nbsp;</td>
 
1063
          <td width="100%">&nbsp;&nbsp;&nbsp;"IEC958 " expl SND_CTL_NAME_##direction SND_CTL_NAME_IEC958_##what</td>
 
1064
        </tr>
 
1065
      </tbody></table>
 
1066
</div>
 
1067
<div class="memdoc">
 
1068
 
 
1069
<p>
 
1070
Element name for IEC958 (S/PDIF) 
 
1071
</p></div>
 
1072
</div><p>
 
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">
 
1077
        <tbody><tr>
 
1078
          <td class="memname">#define SND_CTL_NAME_IEC958_CON_MASK&nbsp;&nbsp;&nbsp;"Con Mask"          </td>
 
1079
        </tr>
 
1080
      </tbody></table>
 
1081
</div>
 
1082
<div class="memdoc">
 
1083
 
 
1084
<p>
 
1085
CTL name helper 
 
1086
</p></div>
 
1087
</div><p>
 
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">
 
1092
        <tbody><tr>
 
1093
          <td class="memname">#define SND_CTL_NAME_IEC958_DEFAULT&nbsp;&nbsp;&nbsp;"Default"          </td>
 
1094
        </tr>
 
1095
      </tbody></table>
 
1096
</div>
 
1097
<div class="memdoc">
 
1098
 
 
1099
<p>
 
1100
CTL name helper 
 
1101
</p></div>
 
1102
</div><p>
 
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">
 
1107
        <tbody><tr>
 
1108
          <td class="memname">#define SND_CTL_NAME_IEC958_MASK&nbsp;&nbsp;&nbsp;"Mask"          </td>
 
1109
        </tr>
 
1110
      </tbody></table>
 
1111
</div>
 
1112
<div class="memdoc">
 
1113
 
 
1114
<p>
 
1115
CTL name helper 
 
1116
</p></div>
 
1117
</div><p>
 
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">
 
1122
        <tbody><tr>
 
1123
          <td class="memname">#define SND_CTL_NAME_IEC958_NONE&nbsp;&nbsp;&nbsp;""          </td>
 
1124
        </tr>
 
1125
      </tbody></table>
 
1126
</div>
 
1127
<div class="memdoc">
 
1128
 
 
1129
<p>
 
1130
CTL name helper 
 
1131
</p></div>
 
1132
</div><p>
 
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">
 
1137
        <tbody><tr>
 
1138
          <td class="memname">#define SND_CTL_NAME_IEC958_PCM_STREAM&nbsp;&nbsp;&nbsp;"PCM Stream"          </td>
 
1139
        </tr>
 
1140
      </tbody></table>
 
1141
</div>
 
1142
<div class="memdoc">
 
1143
 
 
1144
<p>
 
1145
CTL name helper 
 
1146
</p></div>
 
1147
</div><p>
 
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">
 
1152
        <tbody><tr>
 
1153
          <td class="memname">#define SND_CTL_NAME_IEC958_PRO_MASK&nbsp;&nbsp;&nbsp;"Pro Mask"          </td>
 
1154
        </tr>
 
1155
      </tbody></table>
 
1156
</div>
 
1157
<div class="memdoc">
 
1158
 
 
1159
<p>
 
1160
CTL name helper 
 
1161
</p></div>
 
1162
</div><p>
 
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">
 
1167
        <tbody><tr>
 
1168
          <td class="memname">#define SND_CTL_NAME_IEC958_SWITCH&nbsp;&nbsp;&nbsp;"Switch"          </td>
 
1169
        </tr>
 
1170
      </tbody></table>
 
1171
</div>
 
1172
<div class="memdoc">
 
1173
 
 
1174
<p>
 
1175
CTL name helper 
 
1176
</p></div>
 
1177
</div><p>
 
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">
 
1182
        <tbody><tr>
 
1183
          <td class="memname">#define SND_CTL_NAME_IEC958_VOLUME&nbsp;&nbsp;&nbsp;"Volume"          </td>
 
1184
        </tr>
 
1185
      </tbody></table>
 
1186
</div>
 
1187
<div class="memdoc">
 
1188
 
 
1189
<p>
 
1190
CTL name helper 
 
1191
</p></div>
 
1192
</div><p>
 
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">
 
1197
        <tbody><tr>
 
1198
          <td class="memname">#define SND_CTL_NAME_NONE&nbsp;&nbsp;&nbsp;""          </td>
 
1199
        </tr>
 
1200
      </tbody></table>
 
1201
</div>
 
1202
<div class="memdoc">
 
1203
 
 
1204
<p>
 
1205
CTL name helper 
 
1206
</p></div>
 
1207
</div><p>
 
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">
 
1212
        <tbody><tr>
 
1213
          <td class="memname">#define SND_CTL_NAME_PLAYBACK&nbsp;&nbsp;&nbsp;"Playback "          </td>
 
1214
        </tr>
 
1215
      </tbody></table>
 
1216
</div>
 
1217
<div class="memdoc">
 
1218
 
 
1219
<p>
 
1220
CTL name helper 
 
1221
</p></div>
 
1222
</div><p>
 
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">
 
1227
        <tbody><tr>
 
1228
          <td class="memname">#define SND_CTL_NONBLOCK          </td>
 
1229
        </tr>
 
1230
      </tbody></table>
 
1231
</div>
 
1232
<div class="memdoc">
 
1233
 
 
1234
<p>
 
1235
Non blocking mode (flag for open mode) 
 
1236
</p></div>
 
1237
</div><p>
 
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">
 
1242
        <tbody><tr>
 
1243
          <td class="memname">#define SND_CTL_POWER_D0&nbsp;&nbsp;&nbsp;0x0000          </td>
 
1244
        </tr>
 
1245
      </tbody></table>
 
1246
</div>
 
1247
<div class="memdoc">
 
1248
 
 
1249
<p>
 
1250
ACPI/PCI Power State D0 
 
1251
</p></div>
 
1252
</div><p>
 
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">
 
1257
        <tbody><tr>
 
1258
          <td class="memname">#define SND_CTL_POWER_D1&nbsp;&nbsp;&nbsp;0x0100          </td>
 
1259
        </tr>
 
1260
      </tbody></table>
 
1261
</div>
 
1262
<div class="memdoc">
 
1263
 
 
1264
<p>
 
1265
ACPI/PCI Power State D1 
 
1266
</p></div>
 
1267
</div><p>
 
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">
 
1272
        <tbody><tr>
 
1273
          <td class="memname">#define SND_CTL_POWER_D2&nbsp;&nbsp;&nbsp;0x0200          </td>
 
1274
        </tr>
 
1275
      </tbody></table>
 
1276
</div>
 
1277
<div class="memdoc">
 
1278
 
 
1279
<p>
 
1280
ACPI/PCI Power State D2 
 
1281
</p></div>
 
1282
</div><p>
 
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">
 
1287
        <tbody><tr>
 
1288
          <td class="memname">#define SND_CTL_POWER_D3&nbsp;&nbsp;&nbsp;0x0300          </td>
 
1289
        </tr>
 
1290
      </tbody></table>
 
1291
</div>
 
1292
<div class="memdoc">
 
1293
 
 
1294
<p>
 
1295
ACPI/PCI Power State D3 
 
1296
</p></div>
 
1297
</div><p>
 
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">
 
1302
        <tbody><tr>
 
1303
          <td class="memname">#define SND_CTL_POWER_D3cold&nbsp;&nbsp;&nbsp;(SND_CTL_POWER_D3|0x0001)          </td>
 
1304
        </tr>
 
1305
      </tbody></table>
 
1306
</div>
 
1307
<div class="memdoc">
 
1308
 
 
1309
<p>
 
1310
ACPI/PCI Power State D3cold 
 
1311
</p></div>
 
1312
</div><p>
 
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">
 
1317
        <tbody><tr>
 
1318
          <td class="memname">#define SND_CTL_POWER_D3hot&nbsp;&nbsp;&nbsp;(SND_CTL_POWER_D3|0x0000)          </td>
 
1319
        </tr>
 
1320
      </tbody></table>
 
1321
</div>
 
1322
<div class="memdoc">
 
1323
 
 
1324
<p>
 
1325
ACPI/PCI Power State D3hot 
 
1326
</p></div>
 
1327
</div><p>
 
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">
 
1332
        <tbody><tr>
 
1333
          <td class="memname">#define SND_CTL_POWER_MASK&nbsp;&nbsp;&nbsp;0xff00          </td>
 
1334
        </tr>
 
1335
      </tbody></table>
 
1336
</div>
 
1337
<div class="memdoc">
 
1338
 
 
1339
<p>
 
1340
Mask for the major Power State identifier 
 
1341
</p></div>
 
1342
</div><p>
 
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">
 
1347
        <tbody><tr>
 
1348
          <td class="memname">#define SND_CTL_READONLY          </td>
 
1349
        </tr>
 
1350
      </tbody></table>
 
1351
</div>
 
1352
<div class="memdoc">
 
1353
 
 
1354
<p>
 
1355
Read only (flag for open mode) 
 
1356
</p></div>
 
1357
</div><p>
 
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">
 
1362
        <tbody><tr>
 
1363
          <td class="memname">#define SND_CTL_TLV_DB_GAIN_MUTE&nbsp;&nbsp;&nbsp;-9999999          </td>
 
1364
        </tr>
 
1365
      </tbody></table>
 
1366
</div>
 
1367
<div class="memdoc">
 
1368
 
 
1369
<p>
 
1370
Mute state 
 
1371
</p></div>
 
1372
</div><p>
 
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">
 
1377
        <tbody><tr>
 
1378
          <td class="memname">#define SND_CTL_TLVT_CONTAINER&nbsp;&nbsp;&nbsp;0x0000          </td>
 
1379
        </tr>
 
1380
      </tbody></table>
 
1381
</div>
 
1382
<div class="memdoc">
 
1383
 
 
1384
<p>
 
1385
TLV type - Container 
 
1386
</p></div>
 
1387
</div><p>
 
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">
 
1392
        <tbody><tr>
 
1393
          <td class="memname">#define SND_CTL_TLVT_DB_LINEAR&nbsp;&nbsp;&nbsp;0x0002          </td>
 
1394
        </tr>
 
1395
      </tbody></table>
 
1396
</div>
 
1397
<div class="memdoc">
 
1398
 
 
1399
<p>
 
1400
TLV type - linear volume 
 
1401
</p></div>
 
1402
</div><p>
 
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">
 
1407
        <tbody><tr>
 
1408
          <td class="memname">#define SND_CTL_TLVT_DB_MINMAX&nbsp;&nbsp;&nbsp;0x0004          </td>
 
1409
        </tr>
 
1410
      </tbody></table>
 
1411
</div>
 
1412
<div class="memdoc">
 
1413
 
 
1414
<p>
 
1415
TLV type - dB scale specified by min/max values 
 
1416
</p></div>
 
1417
</div><p>
 
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">
 
1422
        <tbody><tr>
 
1423
          <td class="memname">#define SND_CTL_TLVT_DB_MINMAX_MUTE&nbsp;&nbsp;&nbsp;0x0005          </td>
 
1424
        </tr>
 
1425
      </tbody></table>
 
1426
</div>
 
1427
<div class="memdoc">
 
1428
 
 
1429
<p>
 
1430
TLV type - dB scale specified by min/max values (with mute) 
 
1431
</p></div>
 
1432
</div><p>
 
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">
 
1437
        <tbody><tr>
 
1438
          <td class="memname">#define SND_CTL_TLVT_DB_RANGE&nbsp;&nbsp;&nbsp;0x0003          </td>
 
1439
        </tr>
 
1440
      </tbody></table>
 
1441
</div>
 
1442
<div class="memdoc">
 
1443
 
 
1444
<p>
 
1445
TLV type - dB range container 
 
1446
</p></div>
 
1447
</div><p>
 
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">
 
1452
        <tbody><tr>
 
1453
          <td class="memname">#define SND_CTL_TLVT_DB_SCALE&nbsp;&nbsp;&nbsp;0x0001          </td>
 
1454
        </tr>
 
1455
      </tbody></table>
 
1456
</div>
 
1457
<div class="memdoc">
 
1458
 
 
1459
<p>
 
1460
TLV type - basic dB scale 
 
1461
</p></div>
 
1462
</div><p>
 
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">
 
1467
        <tbody><tr>
 
1468
          <td class="memname">#define SND_SCTL_NOFREE&nbsp;&nbsp;&nbsp;0x0001          </td>
 
1469
        </tr>
 
1470
      </tbody></table>
 
1471
</div>
 
1472
<div class="memdoc">
 
1473
 
 
1474
<p>
 
1475
Don't destroy the ctl handle when close 
 
1476
</p></div>
 
1477
</div><p>
 
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">
 
1483
        <tbody><tr>
 
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>
 
1485
        </tr>
 
1486
      </tbody></table>
 
1487
</div>
 
1488
<div class="memdoc">
 
1489
 
 
1490
<p>
 
1491
IEC958 structure 
 
1492
</p></div>
 
1493
</div><p>
 
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">
 
1498
        <tbody><tr>
 
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>
 
1500
        </tr>
 
1501
      </tbody></table>
 
1502
</div>
 
1503
<div class="memdoc">
 
1504
 
 
1505
<p>
 
1506
CTL card info container 
 
1507
</p></div>
 
1508
</div><p>
 
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">
 
1513
        <tbody><tr>
 
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>
 
1515
        </tr>
 
1516
      </tbody></table>
 
1517
</div>
 
1518
<div class="memdoc">
 
1519
 
 
1520
<p>
 
1521
CTL element identifier container 
 
1522
</p></div>
 
1523
</div><p>
 
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">
 
1528
        <tbody><tr>
 
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>
 
1530
        </tr>
 
1531
      </tbody></table>
 
1532
</div>
 
1533
<div class="memdoc">
 
1534
 
 
1535
<p>
 
1536
CTL related interface 
 
1537
</p></div>
 
1538
</div><p>
 
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">
 
1543
        <tbody><tr>
 
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>
 
1545
        </tr>
 
1546
      </tbody></table>
 
1547
</div>
 
1548
<div class="memdoc">
 
1549
 
 
1550
<p>
 
1551
CTL element info container 
 
1552
</p></div>
 
1553
</div><p>
 
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">
 
1558
        <tbody><tr>
 
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>
 
1560
        </tr>
 
1561
      </tbody></table>
 
1562
</div>
 
1563
<div class="memdoc">
 
1564
 
 
1565
<p>
 
1566
CTL element identifier list container 
 
1567
</p></div>
 
1568
</div><p>
 
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">
 
1573
        <tbody><tr>
 
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>
 
1575
        </tr>
 
1576
      </tbody></table>
 
1577
</div>
 
1578
<div class="memdoc">
 
1579
 
 
1580
<p>
 
1581
CTL element type 
 
1582
</p></div>
 
1583
</div><p>
 
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">
 
1588
        <tbody><tr>
 
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>
 
1590
        </tr>
 
1591
      </tbody></table>
 
1592
</div>
 
1593
<div class="memdoc">
 
1594
 
 
1595
<p>
 
1596
CTL element value container 
 
1597
</p></div>
 
1598
</div><p>
 
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">
 
1603
        <tbody><tr>
 
1604
          <td class="memname">typedef struct _snd_ctl_event <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a>          </td>
 
1605
        </tr>
 
1606
      </tbody></table>
 
1607
</div>
 
1608
<div class="memdoc">
 
1609
 
 
1610
<p>
 
1611
CTL event container 
 
1612
</p></div>
 
1613
</div><p>
 
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">
 
1618
        <tbody><tr>
 
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>
 
1620
        </tr>
 
1621
      </tbody></table>
 
1622
</div>
 
1623
<div class="memdoc">
 
1624
 
 
1625
<p>
 
1626
Event class 
 
1627
</p></div>
 
1628
</div><p>
 
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">
 
1633
        <tbody><tr>
 
1634
          <td class="memname">typedef struct _snd_ctl <a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a>          </td>
 
1635
        </tr>
 
1636
      </tbody></table>
 
1637
</div>
 
1638
<div class="memdoc">
 
1639
 
 
1640
<p>
 
1641
CTL handle 
 
1642
</p></div>
 
1643
</div><p>
 
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">
 
1648
        <tbody><tr>
 
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>
 
1650
        </tr>
 
1651
      </tbody></table>
 
1652
</div>
 
1653
<div class="memdoc">
 
1654
 
 
1655
<p>
 
1656
CTL type 
 
1657
</p></div>
 
1658
</div><p>
 
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">
 
1663
        <tbody><tr>
 
1664
          <td class="memname">typedef struct _snd_sctl <a class="el" href="group___control.html#g69ede2c8eae4a6b5bd174be1e38ccf69">snd_sctl_t</a>          </td>
 
1665
        </tr>
 
1666
      </tbody></table>
 
1667
</div>
 
1668
<div class="memdoc">
 
1669
 
 
1670
<p>
 
1671
SCTL type 
 
1672
</p></div>
 
1673
</div><p>
 
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">
 
1679
        <tbody><tr>
 
1680
          <td class="memname">enum <a class="el" href="group___control.html#gcad203f0331afeeadcb127e8a367a06b">_snd_ctl_elem_iface</a>          </td>
 
1681
        </tr>
 
1682
      </tbody></table>
 
1683
</div>
 
1684
<div class="memdoc">
 
1685
 
 
1686
<p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>
 
1694
Mixer </td></tr>
 
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>&nbsp;</td><td>
 
1696
PCM </td></tr>
 
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>&nbsp;</td><td>
 
1698
RawMidi </td></tr>
 
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>&nbsp;</td><td>
 
1700
Timer </td></tr>
 
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>&nbsp;</td><td>
 
1702
Sequencer </td></tr>
 
1703
</tbody></table>
 
1704
</dd></dl>
 
1705
 
 
1706
</div>
 
1707
</div><p>
 
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">
 
1712
        <tbody><tr>
 
1713
          <td class="memname">enum <a class="el" href="group___control.html#g687044a5222c1292cca47941081e3147">_snd_ctl_elem_type</a>          </td>
 
1714
        </tr>
 
1715
      </tbody></table>
 
1716
</div>
 
1717
<div class="memdoc">
 
1718
 
 
1719
<p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>
 
1735
64-bit integer contents </td></tr>
 
1736
</tbody></table>
 
1737
</dd></dl>
 
1738
 
 
1739
</div>
 
1740
</div><p>
 
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">
 
1745
        <tbody><tr>
 
1746
          <td class="memname">enum <a class="el" href="group___control.html#g36f1fdb68b0243d8fc6642620008dad9">_snd_ctl_event_type</a>          </td>
 
1747
        </tr>
 
1748
      </tbody></table>
 
1749
</div>
 
1750
<div class="memdoc">
 
1751
 
 
1752
<p>
 
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>&nbsp;</td><td>
 
1756
Elements related event </td></tr>
 
1757
</tbody></table>
 
1758
</dd></dl>
 
1759
 
 
1760
</div>
 
1761
</div><p>
 
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">
 
1766
        <tbody><tr>
 
1767
          <td class="memname">enum <a class="el" href="group___control.html#g2db031e865355606639c5ec065711e78">_snd_ctl_type</a>          </td>
 
1768
        </tr>
 
1769
      </tbody></table>
 
1770
</div>
 
1771
<div class="memdoc">
 
1772
 
 
1773
<p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>
 
1783
External control plugin </td></tr>
 
1784
</tbody></table>
 
1785
</dd></dl>
 
1786
 
 
1787
</div>
 
1788
</div><p>
 
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">
 
1794
        <tbody><tr>
 
1795
          <td class="memname">int snd_async_add_ctl_handler           </td>
 
1796
          <td>(</td>
 
1797
          <td class="paramtype"><a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> **&nbsp;</td>
 
1798
          <td class="paramname"> <em>handler</em>, </td>
 
1799
        </tr>
 
1800
        <tr>
 
1801
          <td class="paramkey"><br>
 
1802
</td>
 
1803
          <td><br>
 
1804
</td>
 
1805
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
1806
          <td class="paramname"> <em>ctl</em>, </td>
 
1807
        </tr>
 
1808
        <tr>
 
1809
          <td class="paramkey"><br>
 
1810
</td>
 
1811
          <td><br>
 
1812
</td>
 
1813
          <td class="paramtype"><a class="el" href="group___global.html#gc2c426c7ea09cdcc0cdb398660104baa">snd_async_callback_t</a>&nbsp;</td>
 
1814
          <td class="paramname"> <em>callback</em>, </td>
 
1815
        </tr>
 
1816
        <tr>
 
1817
          <td class="paramkey"><br>
 
1818
</td>
 
1819
          <td><br>
 
1820
</td>
 
1821
          <td class="paramtype">void *&nbsp;</td>
 
1822
          <td class="paramname"> <em>private_data</em></td><td>&nbsp;</td>
 
1823
        </tr>
 
1824
        <tr>
 
1825
          <td><br>
 
1826
</td>
 
1827
          <td>)</td>
 
1828
          <td><br>
 
1829
</td><td><br>
 
1830
</td><td width="100%"><br>
 
1831
</td>
 
1832
        </tr>
 
1833
      </tbody></table>
 
1834
</div>
 
1835
<div class="memdoc">
 
1836
 
 
1837
<p>
 
1838
Add an async handler for a CTL. 
 
1839
</p><p>
 
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>&nbsp;</td><td>Returned handler handle </td></tr>
 
1844
    <tr><td valign="top"><br>
 
1845
</td><td valign="top"><em>ctl</em>&nbsp;</td><td>CTL handle </td></tr>
 
1846
    <tr><td valign="top"><br>
 
1847
</td><td valign="top"><em>callback</em>&nbsp;</td><td>Callback function </td></tr>
 
1848
    <tr><td valign="top"><br>
 
1849
</td><td valign="top"><em>private_data</em>&nbsp;</td><td>Callback private data </td></tr>
 
1850
  </tbody></table>
 
1851
</dd></dl>
 
1852
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 otherwise a negative error code on failure </dd></dl>
 
1853
 
 
1854
</div>
 
1855
</div><p>
 
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">
 
1860
        <tbody><tr>
 
1861
          <td class="memname"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a>* snd_async_handler_get_ctl           </td>
 
1862
          <td>(</td>
 
1863
          <td class="paramtype"><a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *&nbsp;</td>
 
1864
          <td class="paramname"> <em>handler</em>          </td>
 
1865
          <td>&nbsp;)&nbsp;</td>
 
1866
          <td width="100%"><br>
 
1867
</td>
 
1868
        </tr>
 
1869
      </tbody></table>
 
1870
</div>
 
1871
<div class="memdoc">
 
1872
 
 
1873
<p>
 
1874
Return CTL handle related to an async handler. 
 
1875
</p><p>
 
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>&nbsp;</td><td>Async handler handle </td></tr>
 
1880
  </tbody></table>
 
1881
</dd></dl>
 
1882
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL handle </dd></dl>
 
1883
 
 
1884
</div>
 
1885
</div><p>
 
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">
 
1890
        <tbody><tr>
 
1891
          <td class="memname">int snd_card_get_index           </td>
 
1892
          <td>(</td>
 
1893
          <td class="paramtype">const char *&nbsp;</td>
 
1894
          <td class="paramname"> <em>string</em>          </td>
 
1895
          <td>&nbsp;)&nbsp;</td>
 
1896
          <td width="100%"><br>
 
1897
</td>
 
1898
        </tr>
 
1899
      </tbody></table>
 
1900
</div>
 
1901
<div class="memdoc">
 
1902
 
 
1903
<p>
 
1904
Convert card string to an integer value. 
 
1905
</p><p>
 
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>&nbsp;</td><td>String containing card identifier </td></tr>
 
1910
  </tbody></table>
 
1911
</dd></dl>
 
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>
 
1916
</div><p>
 
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">
 
1921
        <tbody><tr>
 
1922
          <td class="memname">int snd_card_get_longname           </td>
 
1923
          <td>(</td>
 
1924
          <td class="paramtype">int&nbsp;</td>
 
1925
          <td class="paramname"> <em>card</em>, </td>
 
1926
        </tr>
 
1927
        <tr>
 
1928
          <td class="paramkey"><br>
 
1929
</td>
 
1930
          <td><br>
 
1931
</td>
 
1932
          <td class="paramtype">char **&nbsp;</td>
 
1933
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
 
1934
        </tr>
 
1935
        <tr>
 
1936
          <td><br>
 
1937
</td>
 
1938
          <td>)</td>
 
1939
          <td><br>
 
1940
</td><td><br>
 
1941
</td><td width="100%"><br>
 
1942
</td>
 
1943
        </tr>
 
1944
      </tbody></table>
 
1945
</div>
 
1946
<div class="memdoc">
 
1947
 
 
1948
<p>
 
1949
Obtain the card long name. 
 
1950
</p><p>
 
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>&nbsp;</td><td>Card number </td></tr>
 
1955
    <tr><td valign="top"><br>
 
1956
</td><td valign="top"><em>name</em>&nbsp;</td><td>Result - card long name corresponding to card number </td></tr>
 
1957
  </tbody></table>
 
1958
</dd></dl>
 
1959
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
 
1960
 
 
1961
</div>
 
1962
</div><p>
 
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">
 
1967
        <tbody><tr>
 
1968
          <td class="memname">int snd_card_get_name           </td>
 
1969
          <td>(</td>
 
1970
          <td class="paramtype">int&nbsp;</td>
 
1971
          <td class="paramname"> <em>card</em>, </td>
 
1972
        </tr>
 
1973
        <tr>
 
1974
          <td class="paramkey"><br>
 
1975
</td>
 
1976
          <td><br>
 
1977
</td>
 
1978
          <td class="paramtype">char **&nbsp;</td>
 
1979
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
 
1980
        </tr>
 
1981
        <tr>
 
1982
          <td><br>
 
1983
</td>
 
1984
          <td>)</td>
 
1985
          <td><br>
 
1986
</td><td><br>
 
1987
</td><td width="100%"><br>
 
1988
</td>
 
1989
        </tr>
 
1990
      </tbody></table>
 
1991
</div>
 
1992
<div class="memdoc">
 
1993
 
 
1994
<p>
 
1995
Obtain the card name. 
 
1996
</p><p>
 
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>&nbsp;</td><td>Card number </td></tr>
 
2001
    <tr><td valign="top"><br>
 
2002
</td><td valign="top"><em>name</em>&nbsp;</td><td>Result - card name corresponding to card number </td></tr>
 
2003
  </tbody></table>
 
2004
</dd></dl>
 
2005
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
 
2006
 
 
2007
</div>
 
2008
</div><p>
 
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">
 
2013
        <tbody><tr>
 
2014
          <td class="memname">int snd_card_load           </td>
 
2015
          <td>(</td>
 
2016
          <td class="paramtype">int&nbsp;</td>
 
2017
          <td class="paramname"> <em>card</em>          </td>
 
2018
          <td>&nbsp;)&nbsp;</td>
 
2019
          <td width="100%"><br>
 
2020
</td>
 
2021
        </tr>
 
2022
      </tbody></table>
 
2023
</div>
 
2024
<div class="memdoc">
 
2025
 
 
2026
<p>
 
2027
Try to load the driver for a card. 
 
2028
</p><p>
 
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>&nbsp;</td><td>Card number. </td></tr>
 
2033
  </tbody></table>
 
2034
</dd></dl>
 
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>
 
2036
 
 
2037
</div>
 
2038
</div><p>
 
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">
 
2043
        <tbody><tr>
 
2044
          <td class="memname">int snd_card_next           </td>
 
2045
          <td>(</td>
 
2046
          <td class="paramtype">int *&nbsp;</td>
 
2047
          <td class="paramname"> <em>rcard</em>          </td>
 
2048
          <td>&nbsp;)&nbsp;</td>
 
2049
          <td width="100%"><br>
 
2050
</td>
 
2051
        </tr>
 
2052
      </tbody></table>
 
2053
</div>
 
2054
<div class="memdoc">
 
2055
 
 
2056
<p>
 
2057
Try to determine the next card. 
 
2058
</p><p>
 
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>&nbsp;</td><td>pointer to card number </td></tr>
 
2063
  </tbody></table>
 
2064
</dd></dl>
 
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>
 
2069
</div><p>
 
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">
 
2074
        <tbody><tr>
 
2075
          <td class="memname">int snd_ctl_card_info           </td>
 
2076
          <td>(</td>
 
2077
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2078
          <td class="paramname"> <em>ctl</em>, </td>
 
2079
        </tr>
 
2080
        <tr>
 
2081
          <td class="paramkey"><br>
 
2082
</td>
 
2083
          <td><br>
 
2084
</td>
 
2085
          <td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2086
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
 
2087
        </tr>
 
2088
        <tr>
 
2089
          <td><br>
 
2090
</td>
 
2091
          <td>)</td>
 
2092
          <td><br>
 
2093
</td><td><br>
 
2094
</td><td width="100%"><br>
 
2095
</td>
 
2096
        </tr>
 
2097
      </tbody></table>
 
2098
</div>
 
2099
<div class="memdoc">
 
2100
 
 
2101
<p>
 
2102
Get card related information. 
 
2103
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
2108
    <tr><td valign="top"><br>
 
2109
</td><td valign="top"><em>info</em>&nbsp;</td><td>Card info pointer </td></tr>
 
2110
  </tbody></table>
 
2111
</dd></dl>
 
2112
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
2113
 
 
2114
</div>
 
2115
</div><p>
 
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">
 
2120
        <tbody><tr>
 
2121
          <td class="memname">void snd_ctl_card_info_clear           </td>
 
2122
          <td>(</td>
 
2123
          <td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2124
          <td class="paramname"> <em>obj</em>          </td>
 
2125
          <td>&nbsp;)&nbsp;</td>
 
2126
          <td width="100%"><br>
 
2127
</td>
 
2128
        </tr>
 
2129
      </tbody></table>
 
2130
</div>
 
2131
<div class="memdoc">
 
2132
 
 
2133
<p>
 
2134
clear given <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> object 
 
2135
</p><p>
 
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>&nbsp;</td><td>pointer to object to clear </td></tr>
 
2140
  </tbody></table>
 
2141
</dd></dl>
 
2142
 
 
2143
</div>
 
2144
</div><p>
 
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">
 
2149
        <tbody><tr>
 
2150
          <td class="memname">void snd_ctl_card_info_copy           </td>
 
2151
          <td>(</td>
 
2152
          <td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2153
          <td class="paramname"> <em>dst</em>, </td>
 
2154
        </tr>
 
2155
        <tr>
 
2156
          <td class="paramkey"><br>
 
2157
</td>
 
2158
          <td><br>
 
2159
</td>
 
2160
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2161
          <td class="paramname"> <em>src</em></td><td>&nbsp;</td>
 
2162
        </tr>
 
2163
        <tr>
 
2164
          <td><br>
 
2165
</td>
 
2166
          <td>)</td>
 
2167
          <td><br>
 
2168
</td><td><br>
 
2169
</td><td width="100%"><br>
 
2170
</td>
 
2171
        </tr>
 
2172
      </tbody></table>
 
2173
</div>
 
2174
<div class="memdoc">
 
2175
 
 
2176
<p>
 
2177
copy one <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> to another 
 
2178
</p><p>
 
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>&nbsp;</td><td>pointer to destination </td></tr>
 
2183
    <tr><td valign="top"><br>
 
2184
</td><td valign="top"><em>src</em>&nbsp;</td><td>pointer to source </td></tr>
 
2185
  </tbody></table>
 
2186
</dd></dl>
 
2187
 
 
2188
</div>
 
2189
</div><p>
 
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">
 
2194
        <tbody><tr>
 
2195
          <td class="memname">void snd_ctl_card_info_free           </td>
 
2196
          <td>(</td>
 
2197
          <td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2198
          <td class="paramname"> <em>obj</em>          </td>
 
2199
          <td>&nbsp;)&nbsp;</td>
 
2200
          <td width="100%"><br>
 
2201
</td>
 
2202
        </tr>
 
2203
      </tbody></table>
 
2204
</div>
 
2205
<div class="memdoc">
 
2206
 
 
2207
<p>
 
2208
frees a previously allocated <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> 
 
2209
</p><p>
 
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>&nbsp;</td><td>pointer to object to free </td></tr>
 
2214
  </tbody></table>
 
2215
</dd></dl>
 
2216
 
 
2217
</div>
 
2218
</div><p>
 
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">
 
2223
        <tbody><tr>
 
2224
          <td class="memname">int snd_ctl_card_info_get_card           </td>
 
2225
          <td>(</td>
 
2226
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2227
          <td class="paramname"> <em>obj</em>          </td>
 
2228
          <td>&nbsp;)&nbsp;</td>
 
2229
          <td width="100%"><br>
 
2230
</td>
 
2231
        </tr>
 
2232
      </tbody></table>
 
2233
</div>
 
2234
<div class="memdoc">
 
2235
 
 
2236
<p>
 
2237
Get card number from a CTL card info. 
 
2238
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2243
  </tbody></table>
 
2244
</dd></dl>
 
2245
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card number </dd></dl>
 
2246
 
 
2247
</div>
 
2248
</div><p>
 
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">
 
2253
        <tbody><tr>
 
2254
          <td class="memname">const char* snd_ctl_card_info_get_components           </td>
 
2255
          <td>(</td>
 
2256
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2257
          <td class="paramname"> <em>obj</em>          </td>
 
2258
          <td>&nbsp;)&nbsp;</td>
 
2259
          <td width="100%"><br>
 
2260
</td>
 
2261
        </tr>
 
2262
      </tbody></table>
 
2263
</div>
 
2264
<div class="memdoc">
 
2265
 
 
2266
<p>
 
2267
Get card component list from a CTL card info. 
 
2268
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2273
  </tbody></table>
 
2274
</dd></dl>
 
2275
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card mixer identifier </dd></dl>
 
2276
 
 
2277
</div>
 
2278
</div><p>
 
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">
 
2283
        <tbody><tr>
 
2284
          <td class="memname">const char* snd_ctl_card_info_get_driver           </td>
 
2285
          <td>(</td>
 
2286
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2287
          <td class="paramname"> <em>obj</em>          </td>
 
2288
          <td>&nbsp;)&nbsp;</td>
 
2289
          <td width="100%"><br>
 
2290
</td>
 
2291
        </tr>
 
2292
      </tbody></table>
 
2293
</div>
 
2294
<div class="memdoc">
 
2295
 
 
2296
<p>
 
2297
Get card driver name from a CTL card info. 
 
2298
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2303
  </tbody></table>
 
2304
</dd></dl>
 
2305
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card driver name </dd></dl>
 
2306
 
 
2307
</div>
 
2308
</div><p>
 
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">
 
2313
        <tbody><tr>
 
2314
          <td class="memname">const char* snd_ctl_card_info_get_id           </td>
 
2315
          <td>(</td>
 
2316
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2317
          <td class="paramname"> <em>obj</em>          </td>
 
2318
          <td>&nbsp;)&nbsp;</td>
 
2319
          <td width="100%"><br>
 
2320
</td>
 
2321
        </tr>
 
2322
      </tbody></table>
 
2323
</div>
 
2324
<div class="memdoc">
 
2325
 
 
2326
<p>
 
2327
Get card identifier from a CTL card info. 
 
2328
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2333
  </tbody></table>
 
2334
</dd></dl>
 
2335
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card identifier </dd></dl>
 
2336
 
 
2337
</div>
 
2338
</div><p>
 
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">
 
2343
        <tbody><tr>
 
2344
          <td class="memname">const char* snd_ctl_card_info_get_longname           </td>
 
2345
          <td>(</td>
 
2346
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2347
          <td class="paramname"> <em>obj</em>          </td>
 
2348
          <td>&nbsp;)&nbsp;</td>
 
2349
          <td width="100%"><br>
 
2350
</td>
 
2351
        </tr>
 
2352
      </tbody></table>
 
2353
</div>
 
2354
<div class="memdoc">
 
2355
 
 
2356
<p>
 
2357
Get card long name from a CTL card info. 
 
2358
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2363
  </tbody></table>
 
2364
</dd></dl>
 
2365
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card long name </dd></dl>
 
2366
 
 
2367
</div>
 
2368
</div><p>
 
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">
 
2373
        <tbody><tr>
 
2374
          <td class="memname">const char* snd_ctl_card_info_get_mixername           </td>
 
2375
          <td>(</td>
 
2376
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2377
          <td class="paramname"> <em>obj</em>          </td>
 
2378
          <td>&nbsp;)&nbsp;</td>
 
2379
          <td width="100%"><br>
 
2380
</td>
 
2381
        </tr>
 
2382
      </tbody></table>
 
2383
</div>
 
2384
<div class="memdoc">
 
2385
 
 
2386
<p>
 
2387
Get card mixer name from a CTL card info. 
 
2388
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2393
  </tbody></table>
 
2394
</dd></dl>
 
2395
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card mixer name </dd></dl>
 
2396
 
 
2397
</div>
 
2398
</div><p>
 
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">
 
2403
        <tbody><tr>
 
2404
          <td class="memname">const char* snd_ctl_card_info_get_name           </td>
 
2405
          <td>(</td>
 
2406
          <td class="paramtype">const <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> *&nbsp;</td>
 
2407
          <td class="paramname"> <em>obj</em>          </td>
 
2408
          <td>&nbsp;)&nbsp;</td>
 
2409
          <td width="100%"><br>
 
2410
</td>
 
2411
        </tr>
 
2412
      </tbody></table>
 
2413
</div>
 
2414
<div class="memdoc">
 
2415
 
 
2416
<p>
 
2417
Get card name from a CTL card info. 
 
2418
</p><p>
 
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>&nbsp;</td><td>CTL card info </td></tr>
 
2423
  </tbody></table>
 
2424
</dd></dl>
 
2425
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>card name </dd></dl>
 
2426
 
 
2427
</div>
 
2428
</div><p>
 
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">
 
2433
        <tbody><tr>
 
2434
          <td class="memname">int snd_ctl_card_info_malloc           </td>
 
2435
          <td>(</td>
 
2436
          <td class="paramtype"><a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> **&nbsp;</td>
 
2437
          <td class="paramname"> <em>ptr</em>          </td>
 
2438
          <td>&nbsp;)&nbsp;</td>
 
2439
          <td width="100%"><br>
 
2440
</td>
 
2441
        </tr>
 
2442
      </tbody></table>
 
2443
</div>
 
2444
<div class="memdoc">
 
2445
 
 
2446
<p>
 
2447
allocate an invalid <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> using standard malloc 
 
2448
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
2453
  </tbody></table>
 
2454
</dd></dl>
 
2455
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
 
2456
 
 
2457
</div>
 
2458
</div><p>
 
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">
 
2463
        <tbody><tr>
 
2464
          <td class="memname">size_t snd_ctl_card_info_sizeof           </td>
 
2465
          <td>(</td>
 
2466
          <td class="paramtype">void&nbsp;</td>
 
2467
          <td class="paramname">          <br>
 
2468
</td>
 
2469
          <td>&nbsp;)&nbsp;</td>
 
2470
          <td width="100%"><br>
 
2471
</td>
 
2472
        </tr>
 
2473
      </tbody></table>
 
2474
</div>
 
2475
<div class="memdoc">
 
2476
 
 
2477
<p>
 
2478
get size of <a class="el" href="group___control.html#gc498d3243ca485b815030b27cd0f1fa0">snd_ctl_card_info_t</a> 
 
2479
</p><p>
 
2480
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
 
2481
 
 
2482
</div>
 
2483
</div><p>
 
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">
 
2488
        <tbody><tr>
 
2489
          <td class="memname">int snd_ctl_close           </td>
 
2490
          <td>(</td>
 
2491
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2492
          <td class="paramname"> <em>ctl</em>          </td>
 
2493
          <td>&nbsp;)&nbsp;</td>
 
2494
          <td width="100%"><br>
 
2495
</td>
 
2496
        </tr>
 
2497
      </tbody></table>
 
2498
</div>
 
2499
<div class="memdoc">
 
2500
 
 
2501
<p>
 
2502
close CTL handle 
 
2503
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
2508
  </tbody></table>
 
2509
</dd></dl>
 
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. 
 
2512
</div>
 
2513
</div><p>
 
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">
 
2518
        <tbody><tr>
 
2519
          <td class="memname">int snd_ctl_convert_from_dB           </td>
 
2520
          <td>(</td>
 
2521
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2522
          <td class="paramname"> <em>ctl</em>, </td>
 
2523
        </tr>
 
2524
        <tr>
 
2525
          <td class="paramkey"><br>
 
2526
</td>
 
2527
          <td><br>
 
2528
</td>
 
2529
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2530
          <td class="paramname"> <em>id</em>, </td>
 
2531
        </tr>
 
2532
        <tr>
 
2533
          <td class="paramkey"><br>
 
2534
</td>
 
2535
          <td><br>
 
2536
</td>
 
2537
          <td class="paramtype">long&nbsp;</td>
 
2538
          <td class="paramname"> <em>db_gain</em>, </td>
 
2539
        </tr>
 
2540
        <tr>
 
2541
          <td class="paramkey"><br>
 
2542
</td>
 
2543
          <td><br>
 
2544
</td>
 
2545
          <td class="paramtype">long *&nbsp;</td>
 
2546
          <td class="paramname"> <em>value</em>, </td>
 
2547
        </tr>
 
2548
        <tr>
 
2549
          <td class="paramkey"><br>
 
2550
</td>
 
2551
          <td><br>
 
2552
</td>
 
2553
          <td class="paramtype">int&nbsp;</td>
 
2554
          <td class="paramname"> <em>xdir</em></td><td>&nbsp;</td>
 
2555
        </tr>
 
2556
        <tr>
 
2557
          <td><br>
 
2558
</td>
 
2559
          <td>)</td>
 
2560
          <td><br>
 
2561
</td><td><br>
 
2562
</td><td width="100%"><br>
 
2563
</td>
 
2564
        </tr>
 
2565
      </tbody></table>
 
2566
</div>
 
2567
<div class="memdoc">
 
2568
 
 
2569
<p>
 
2570
Convert from dB gain to the raw volume value on the given control element. 
 
2571
</p><p>
 
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>&nbsp;</td><td>the control handler </td></tr>
 
2576
    <tr><td valign="top"><br>
 
2577
</td><td valign="top"><em>id</em>&nbsp;</td><td>the element id </td></tr>
 
2578
    <tr><td valign="top"><br>
 
2579
</td><td valign="top"><em>db_gain</em>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>the direction for round-up. The value is round up when this is positive. </td></tr>
 
2584
  </tbody></table>
 
2585
</dd></dl>
 
2586
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
 
2587
 
 
2588
</div>
 
2589
</div><p>
 
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">
 
2594
        <tbody><tr>
 
2595
          <td class="memname">int snd_ctl_convert_to_dB           </td>
 
2596
          <td>(</td>
 
2597
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2598
          <td class="paramname"> <em>ctl</em>, </td>
 
2599
        </tr>
 
2600
        <tr>
 
2601
          <td class="paramkey"><br>
 
2602
</td>
 
2603
          <td><br>
 
2604
</td>
 
2605
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2606
          <td class="paramname"> <em>id</em>, </td>
 
2607
        </tr>
 
2608
        <tr>
 
2609
          <td class="paramkey"><br>
 
2610
</td>
 
2611
          <td><br>
 
2612
</td>
 
2613
          <td class="paramtype">long&nbsp;</td>
 
2614
          <td class="paramname"> <em>volume</em>, </td>
 
2615
        </tr>
 
2616
        <tr>
 
2617
          <td class="paramkey"><br>
 
2618
</td>
 
2619
          <td><br>
 
2620
</td>
 
2621
          <td class="paramtype">long *&nbsp;</td>
 
2622
          <td class="paramname"> <em>db_gain</em></td><td>&nbsp;</td>
 
2623
        </tr>
 
2624
        <tr>
 
2625
          <td><br>
 
2626
</td>
 
2627
          <td>)</td>
 
2628
          <td><br>
 
2629
</td><td><br>
 
2630
</td><td width="100%"><br>
 
2631
</td>
 
2632
        </tr>
 
2633
      </tbody></table>
 
2634
</div>
 
2635
<div class="memdoc">
 
2636
 
 
2637
<p>
 
2638
Convert the volume value to dB on the given control element. 
 
2639
</p><p>
 
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>&nbsp;</td><td>the control handler </td></tr>
 
2644
    <tr><td valign="top"><br>
 
2645
</td><td valign="top"><em>id</em>&nbsp;</td><td>the element id </td></tr>
 
2646
    <tr><td valign="top"><br>
 
2647
</td><td valign="top"><em>volume</em>&nbsp;</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>&nbsp;</td><td>the dB gain (in 0.01dB unit) </td></tr>
 
2650
  </tbody></table>
 
2651
</dd></dl>
 
2652
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
 
2653
 
 
2654
</div>
 
2655
</div><p>
 
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">
 
2660
        <tbody><tr>
 
2661
          <td class="memname">int snd_ctl_elem_add_boolean           </td>
 
2662
          <td>(</td>
 
2663
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2664
          <td class="paramname"> <em>ctl</em>, </td>
 
2665
        </tr>
 
2666
        <tr>
 
2667
          <td class="paramkey"><br>
 
2668
</td>
 
2669
          <td><br>
 
2670
</td>
 
2671
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2672
          <td class="paramname"> <em>id</em>, </td>
 
2673
        </tr>
 
2674
        <tr>
 
2675
          <td class="paramkey"><br>
 
2676
</td>
 
2677
          <td><br>
 
2678
</td>
 
2679
          <td class="paramtype">unsigned int&nbsp;</td>
 
2680
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
 
2681
        </tr>
 
2682
        <tr>
 
2683
          <td><br>
 
2684
</td>
 
2685
          <td>)</td>
 
2686
          <td><br>
 
2687
</td><td><br>
 
2688
</td><td width="100%"><br>
 
2689
</td>
 
2690
        </tr>
 
2691
      </tbody></table>
 
2692
</div>
 
2693
<div class="memdoc">
 
2694
 
 
2695
<p>
 
2696
Create and add an user BOOLEAN CTL element. 
 
2697
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
2702
    <tr><td valign="top"><br>
 
2703
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id to add </td></tr>
 
2704
    <tr><td valign="top"><br>
 
2705
</td><td valign="top"><em>count</em>&nbsp;</td><td>number of elements </td></tr>
 
2706
  </tbody></table>
 
2707
</dd></dl>
 
2708
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
2709
 
 
2710
</div>
 
2711
</div><p>
 
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">
 
2716
        <tbody><tr>
 
2717
          <td class="memname">int snd_ctl_elem_add_iec958           </td>
 
2718
          <td>(</td>
 
2719
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2720
          <td class="paramname"> <em>ctl</em>, </td>
 
2721
        </tr>
 
2722
        <tr>
 
2723
          <td class="paramkey"><br>
 
2724
</td>
 
2725
          <td><br>
 
2726
</td>
 
2727
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2728
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
 
2729
        </tr>
 
2730
        <tr>
 
2731
          <td><br>
 
2732
</td>
 
2733
          <td>)</td>
 
2734
          <td><br>
 
2735
</td><td><br>
 
2736
</td><td width="100%"><br>
 
2737
</td>
 
2738
        </tr>
 
2739
      </tbody></table>
 
2740
</div>
 
2741
<div class="memdoc">
 
2742
 
 
2743
<p>
 
2744
Create and add an user IEC958 CTL element. 
 
2745
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
2750
    <tr><td valign="top"><br>
 
2751
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element info to add </td></tr>
 
2752
  </tbody></table>
 
2753
</dd></dl>
 
2754
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
2755
 
 
2756
</div>
 
2757
</div><p>
 
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">
 
2762
        <tbody><tr>
 
2763
          <td class="memname">int snd_ctl_elem_add_integer           </td>
 
2764
          <td>(</td>
 
2765
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2766
          <td class="paramname"> <em>ctl</em>, </td>
 
2767
        </tr>
 
2768
        <tr>
 
2769
          <td class="paramkey"><br>
 
2770
</td>
 
2771
          <td><br>
 
2772
</td>
 
2773
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2774
          <td class="paramname"> <em>id</em>, </td>
 
2775
        </tr>
 
2776
        <tr>
 
2777
          <td class="paramkey"><br>
 
2778
</td>
 
2779
          <td><br>
 
2780
</td>
 
2781
          <td class="paramtype">unsigned int&nbsp;</td>
 
2782
          <td class="paramname"> <em>count</em>, </td>
 
2783
        </tr>
 
2784
        <tr>
 
2785
          <td class="paramkey"><br>
 
2786
</td>
 
2787
          <td><br>
 
2788
</td>
 
2789
          <td class="paramtype">long&nbsp;</td>
 
2790
          <td class="paramname"> <em>min</em>, </td>
 
2791
        </tr>
 
2792
        <tr>
 
2793
          <td class="paramkey"><br>
 
2794
</td>
 
2795
          <td><br>
 
2796
</td>
 
2797
          <td class="paramtype">long&nbsp;</td>
 
2798
          <td class="paramname"> <em>max</em>, </td>
 
2799
        </tr>
 
2800
        <tr>
 
2801
          <td class="paramkey"><br>
 
2802
</td>
 
2803
          <td><br>
 
2804
</td>
 
2805
          <td class="paramtype">long&nbsp;</td>
 
2806
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
 
2807
        </tr>
 
2808
        <tr>
 
2809
          <td><br>
 
2810
</td>
 
2811
          <td>)</td>
 
2812
          <td><br>
 
2813
</td><td><br>
 
2814
</td><td width="100%"><br>
 
2815
</td>
 
2816
        </tr>
 
2817
      </tbody></table>
 
2818
</div>
 
2819
<div class="memdoc">
 
2820
 
 
2821
<p>
 
2822
Create and add an user INTEGER CTL element. 
 
2823
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
2828
    <tr><td valign="top"><br>
 
2829
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id to add </td></tr>
 
2830
    <tr><td valign="top"><br>
 
2831
</td><td valign="top"><em>count</em>&nbsp;</td><td>number of elements </td></tr>
 
2832
    <tr><td valign="top"><br>
 
2833
</td><td valign="top"><em>min</em>&nbsp;</td><td>minimum value </td></tr>
 
2834
    <tr><td valign="top"><br>
 
2835
</td><td valign="top"><em>max</em>&nbsp;</td><td>maximum value </td></tr>
 
2836
    <tr><td valign="top"><br>
 
2837
</td><td valign="top"><em>step</em>&nbsp;</td><td>value step </td></tr>
 
2838
  </tbody></table>
 
2839
</dd></dl>
 
2840
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
2841
 
 
2842
</div>
 
2843
</div><p>
 
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">
 
2848
        <tbody><tr>
 
2849
          <td class="memname">int snd_ctl_elem_add_integer64           </td>
 
2850
          <td>(</td>
 
2851
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
2852
          <td class="paramname"> <em>ctl</em>, </td>
 
2853
        </tr>
 
2854
        <tr>
 
2855
          <td class="paramkey"><br>
 
2856
</td>
 
2857
          <td><br>
 
2858
</td>
 
2859
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2860
          <td class="paramname"> <em>id</em>, </td>
 
2861
        </tr>
 
2862
        <tr>
 
2863
          <td class="paramkey"><br>
 
2864
</td>
 
2865
          <td><br>
 
2866
</td>
 
2867
          <td class="paramtype">unsigned int&nbsp;</td>
 
2868
          <td class="paramname"> <em>count</em>, </td>
 
2869
        </tr>
 
2870
        <tr>
 
2871
          <td class="paramkey"><br>
 
2872
</td>
 
2873
          <td><br>
 
2874
</td>
 
2875
          <td class="paramtype">long long&nbsp;</td>
 
2876
          <td class="paramname"> <em>min</em>, </td>
 
2877
        </tr>
 
2878
        <tr>
 
2879
          <td class="paramkey"><br>
 
2880
</td>
 
2881
          <td><br>
 
2882
</td>
 
2883
          <td class="paramtype">long long&nbsp;</td>
 
2884
          <td class="paramname"> <em>max</em>, </td>
 
2885
        </tr>
 
2886
        <tr>
 
2887
          <td class="paramkey"><br>
 
2888
</td>
 
2889
          <td><br>
 
2890
</td>
 
2891
          <td class="paramtype">long long&nbsp;</td>
 
2892
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
 
2893
        </tr>
 
2894
        <tr>
 
2895
          <td><br>
 
2896
</td>
 
2897
          <td>)</td>
 
2898
          <td><br>
 
2899
</td><td><br>
 
2900
</td><td width="100%"><br>
 
2901
</td>
 
2902
        </tr>
 
2903
      </tbody></table>
 
2904
</div>
 
2905
<div class="memdoc">
 
2906
 
 
2907
<p>
 
2908
Create and add an user INTEGER64 CTL element. 
 
2909
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
2914
    <tr><td valign="top"><br>
 
2915
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id to add </td></tr>
 
2916
    <tr><td valign="top"><br>
 
2917
</td><td valign="top"><em>count</em>&nbsp;</td><td>number of elements </td></tr>
 
2918
    <tr><td valign="top"><br>
 
2919
</td><td valign="top"><em>min</em>&nbsp;</td><td>minimum value </td></tr>
 
2920
    <tr><td valign="top"><br>
 
2921
</td><td valign="top"><em>max</em>&nbsp;</td><td>maximum value </td></tr>
 
2922
    <tr><td valign="top"><br>
 
2923
</td><td valign="top"><em>step</em>&nbsp;</td><td>value step </td></tr>
 
2924
  </tbody></table>
 
2925
</dd></dl>
 
2926
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
2927
 
 
2928
</div>
 
2929
</div><p>
 
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">
 
2934
        <tbody><tr>
 
2935
          <td class="memname">void snd_ctl_elem_id_clear           </td>
 
2936
          <td>(</td>
 
2937
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2938
          <td class="paramname"> <em>obj</em>          </td>
 
2939
          <td>&nbsp;)&nbsp;</td>
 
2940
          <td width="100%"><br>
 
2941
</td>
 
2942
        </tr>
 
2943
      </tbody></table>
 
2944
</div>
 
2945
<div class="memdoc">
 
2946
 
 
2947
<p>
 
2948
clear given <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> object 
 
2949
</p><p>
 
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>&nbsp;</td><td>pointer to object to clear </td></tr>
 
2954
  </tbody></table>
 
2955
</dd></dl>
 
2956
 
 
2957
</div>
 
2958
</div><p>
 
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">
 
2963
        <tbody><tr>
 
2964
          <td class="memname">void snd_ctl_elem_id_copy           </td>
 
2965
          <td>(</td>
 
2966
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2967
          <td class="paramname"> <em>dst</em>, </td>
 
2968
        </tr>
 
2969
        <tr>
 
2970
          <td class="paramkey"><br>
 
2971
</td>
 
2972
          <td><br>
 
2973
</td>
 
2974
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
2975
          <td class="paramname"> <em>src</em></td><td>&nbsp;</td>
 
2976
        </tr>
 
2977
        <tr>
 
2978
          <td><br>
 
2979
</td>
 
2980
          <td>)</td>
 
2981
          <td><br>
 
2982
</td><td><br>
 
2983
</td><td width="100%"><br>
 
2984
</td>
 
2985
        </tr>
 
2986
      </tbody></table>
 
2987
</div>
 
2988
<div class="memdoc">
 
2989
 
 
2990
<p>
 
2991
copy one <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> to another 
 
2992
</p><p>
 
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>&nbsp;</td><td>pointer to destination </td></tr>
 
2997
    <tr><td valign="top"><br>
 
2998
</td><td valign="top"><em>src</em>&nbsp;</td><td>pointer to source </td></tr>
 
2999
  </tbody></table>
 
3000
</dd></dl>
 
3001
 
 
3002
</div>
 
3003
</div><p>
 
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">
 
3008
        <tbody><tr>
 
3009
          <td class="memname">void snd_ctl_elem_id_free           </td>
 
3010
          <td>(</td>
 
3011
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3012
          <td class="paramname"> <em>obj</em>          </td>
 
3013
          <td>&nbsp;)&nbsp;</td>
 
3014
          <td width="100%"><br>
 
3015
</td>
 
3016
        </tr>
 
3017
      </tbody></table>
 
3018
</div>
 
3019
<div class="memdoc">
 
3020
 
 
3021
<p>
 
3022
frees a previously allocated <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> 
 
3023
</p><p>
 
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>&nbsp;</td><td>pointer to object to free </td></tr>
 
3028
  </tbody></table>
 
3029
</dd></dl>
 
3030
 
 
3031
</div>
 
3032
</div><p>
 
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">
 
3037
        <tbody><tr>
 
3038
          <td class="memname">unsigned int snd_ctl_elem_id_get_device           </td>
 
3039
          <td>(</td>
 
3040
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3041
          <td class="paramname"> <em>obj</em>          </td>
 
3042
          <td>&nbsp;)&nbsp;</td>
 
3043
          <td width="100%"><br>
 
3044
</td>
 
3045
        </tr>
 
3046
      </tbody></table>
 
3047
</div>
 
3048
<div class="memdoc">
 
3049
 
 
3050
<p>
 
3051
Get device part of a CTL element identifier. 
 
3052
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3057
  </tbody></table>
 
3058
</dd></dl>
 
3059
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related device </dd></dl>
 
3060
 
 
3061
</div>
 
3062
</div><p>
 
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">
 
3067
        <tbody><tr>
 
3068
          <td class="memname">unsigned int snd_ctl_elem_id_get_index           </td>
 
3069
          <td>(</td>
 
3070
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3071
          <td class="paramname"> <em>obj</em>          </td>
 
3072
          <td>&nbsp;)&nbsp;</td>
 
3073
          <td width="100%"><br>
 
3074
</td>
 
3075
        </tr>
 
3076
      </tbody></table>
 
3077
</div>
 
3078
<div class="memdoc">
 
3079
 
 
3080
<p>
 
3081
Get index part of a CTL element identifier. 
 
3082
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3087
  </tbody></table>
 
3088
</dd></dl>
 
3089
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element index </dd></dl>
 
3090
 
 
3091
</div>
 
3092
</div><p>
 
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">
 
3097
        <tbody><tr>
 
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>
 
3099
          <td>(</td>
 
3100
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3101
          <td class="paramname"> <em>obj</em>          </td>
 
3102
          <td>&nbsp;)&nbsp;</td>
 
3103
          <td width="100%"><br>
 
3104
</td>
 
3105
        </tr>
 
3106
      </tbody></table>
 
3107
</div>
 
3108
<div class="memdoc">
 
3109
 
 
3110
<p>
 
3111
Get interface part of a CTL element identifier. 
 
3112
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3117
  </tbody></table>
 
3118
</dd></dl>
 
3119
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related interface </dd></dl>
 
3120
 
 
3121
</div>
 
3122
</div><p>
 
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">
 
3127
        <tbody><tr>
 
3128
          <td class="memname">const char* snd_ctl_elem_id_get_name           </td>
 
3129
          <td>(</td>
 
3130
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3131
          <td class="paramname"> <em>obj</em>          </td>
 
3132
          <td>&nbsp;)&nbsp;</td>
 
3133
          <td width="100%"><br>
 
3134
</td>
 
3135
        </tr>
 
3136
      </tbody></table>
 
3137
</div>
 
3138
<div class="memdoc">
 
3139
 
 
3140
<p>
 
3141
Get name part of a CTL element identifier. 
 
3142
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3147
  </tbody></table>
 
3148
</dd></dl>
 
3149
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element name </dd></dl>
 
3150
 
 
3151
</div>
 
3152
</div><p>
 
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">
 
3157
        <tbody><tr>
 
3158
          <td class="memname">unsigned int snd_ctl_elem_id_get_numid           </td>
 
3159
          <td>(</td>
 
3160
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3161
          <td class="paramname"> <em>obj</em>          </td>
 
3162
          <td>&nbsp;)&nbsp;</td>
 
3163
          <td width="100%"><br>
 
3164
</td>
 
3165
        </tr>
 
3166
      </tbody></table>
 
3167
</div>
 
3168
<div class="memdoc">
 
3169
 
 
3170
<p>
 
3171
Get numeric identifier from a CTL element identifier. 
 
3172
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3177
  </tbody></table>
 
3178
</dd></dl>
 
3179
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element numeric identifier </dd></dl>
 
3180
 
 
3181
</div>
 
3182
</div><p>
 
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">
 
3187
        <tbody><tr>
 
3188
          <td class="memname">unsigned int snd_ctl_elem_id_get_subdevice           </td>
 
3189
          <td>(</td>
 
3190
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3191
          <td class="paramname"> <em>obj</em>          </td>
 
3192
          <td>&nbsp;)&nbsp;</td>
 
3193
          <td width="100%"><br>
 
3194
</td>
 
3195
        </tr>
 
3196
      </tbody></table>
 
3197
</div>
 
3198
<div class="memdoc">
 
3199
 
 
3200
<p>
 
3201
Get subdevice part of a CTL element identifier. 
 
3202
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3207
  </tbody></table>
 
3208
</dd></dl>
 
3209
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related subdevice </dd></dl>
 
3210
 
 
3211
</div>
 
3212
</div><p>
 
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">
 
3217
        <tbody><tr>
 
3218
          <td class="memname">int snd_ctl_elem_id_malloc           </td>
 
3219
          <td>(</td>
 
3220
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> **&nbsp;</td>
 
3221
          <td class="paramname"> <em>ptr</em>          </td>
 
3222
          <td>&nbsp;)&nbsp;</td>
 
3223
          <td width="100%"><br>
 
3224
</td>
 
3225
        </tr>
 
3226
      </tbody></table>
 
3227
</div>
 
3228
<div class="memdoc">
 
3229
 
 
3230
<p>
 
3231
allocate an invalid <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> using standard malloc 
 
3232
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
3237
  </tbody></table>
 
3238
</dd></dl>
 
3239
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
 
3240
 
 
3241
</div>
 
3242
</div><p>
 
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">
 
3247
        <tbody><tr>
 
3248
          <td class="memname">void snd_ctl_elem_id_set_device           </td>
 
3249
          <td>(</td>
 
3250
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3251
          <td class="paramname"> <em>obj</em>, </td>
 
3252
        </tr>
 
3253
        <tr>
 
3254
          <td class="paramkey"><br>
 
3255
</td>
 
3256
          <td><br>
 
3257
</td>
 
3258
          <td class="paramtype">unsigned int&nbsp;</td>
 
3259
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
3260
        </tr>
 
3261
        <tr>
 
3262
          <td><br>
 
3263
</td>
 
3264
          <td>)</td>
 
3265
          <td><br>
 
3266
</td><td><br>
 
3267
</td><td width="100%"><br>
 
3268
</td>
 
3269
        </tr>
 
3270
      </tbody></table>
 
3271
</div>
 
3272
<div class="memdoc">
 
3273
 
 
3274
<p>
 
3275
Set device part for a CTL element identifier. 
 
3276
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3281
    <tr><td valign="top"><br>
 
3282
</td><td valign="top"><em>val</em>&nbsp;</td><td>CTL element related device </td></tr>
 
3283
  </tbody></table>
 
3284
</dd></dl>
 
3285
 
 
3286
</div>
 
3287
</div><p>
 
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">
 
3292
        <tbody><tr>
 
3293
          <td class="memname">void snd_ctl_elem_id_set_index           </td>
 
3294
          <td>(</td>
 
3295
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3296
          <td class="paramname"> <em>obj</em>, </td>
 
3297
        </tr>
 
3298
        <tr>
 
3299
          <td class="paramkey"><br>
 
3300
</td>
 
3301
          <td><br>
 
3302
</td>
 
3303
          <td class="paramtype">unsigned int&nbsp;</td>
 
3304
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
3305
        </tr>
 
3306
        <tr>
 
3307
          <td><br>
 
3308
</td>
 
3309
          <td>)</td>
 
3310
          <td><br>
 
3311
</td><td><br>
 
3312
</td><td width="100%"><br>
 
3313
</td>
 
3314
        </tr>
 
3315
      </tbody></table>
 
3316
</div>
 
3317
<div class="memdoc">
 
3318
 
 
3319
<p>
 
3320
Set index part for a CTL element identifier. 
 
3321
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3326
    <tr><td valign="top"><br>
 
3327
</td><td valign="top"><em>val</em>&nbsp;</td><td>CTL element index </td></tr>
 
3328
  </tbody></table>
 
3329
</dd></dl>
 
3330
 
 
3331
</div>
 
3332
</div><p>
 
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">
 
3337
        <tbody><tr>
 
3338
          <td class="memname">void snd_ctl_elem_id_set_interface           </td>
 
3339
          <td>(</td>
 
3340
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3341
          <td class="paramname"> <em>obj</em>, </td>
 
3342
        </tr>
 
3343
        <tr>
 
3344
          <td class="paramkey"><br>
 
3345
</td>
 
3346
          <td><br>
 
3347
</td>
 
3348
          <td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a>&nbsp;</td>
 
3349
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
3350
        </tr>
 
3351
        <tr>
 
3352
          <td><br>
 
3353
</td>
 
3354
          <td>)</td>
 
3355
          <td><br>
 
3356
</td><td><br>
 
3357
</td><td width="100%"><br>
 
3358
</td>
 
3359
        </tr>
 
3360
      </tbody></table>
 
3361
</div>
 
3362
<div class="memdoc">
 
3363
 
 
3364
<p>
 
3365
Set interface part for a CTL element identifier. 
 
3366
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3371
    <tr><td valign="top"><br>
 
3372
</td><td valign="top"><em>val</em>&nbsp;</td><td>CTL element related interface </td></tr>
 
3373
  </tbody></table>
 
3374
</dd></dl>
 
3375
 
 
3376
</div>
 
3377
</div><p>
 
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">
 
3382
        <tbody><tr>
 
3383
          <td class="memname">void snd_ctl_elem_id_set_name           </td>
 
3384
          <td>(</td>
 
3385
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3386
          <td class="paramname"> <em>obj</em>, </td>
 
3387
        </tr>
 
3388
        <tr>
 
3389
          <td class="paramkey"><br>
 
3390
</td>
 
3391
          <td><br>
 
3392
</td>
 
3393
          <td class="paramtype">const char *&nbsp;</td>
 
3394
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
3395
        </tr>
 
3396
        <tr>
 
3397
          <td><br>
 
3398
</td>
 
3399
          <td>)</td>
 
3400
          <td><br>
 
3401
</td><td><br>
 
3402
</td><td width="100%"><br>
 
3403
</td>
 
3404
        </tr>
 
3405
      </tbody></table>
 
3406
</div>
 
3407
<div class="memdoc">
 
3408
 
 
3409
<p>
 
3410
Set name part for a CTL element identifier. 
 
3411
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3416
    <tr><td valign="top"><br>
 
3417
</td><td valign="top"><em>val</em>&nbsp;</td><td>CTL element name </td></tr>
 
3418
  </tbody></table>
 
3419
</dd></dl>
 
3420
 
 
3421
</div>
 
3422
</div><p>
 
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">
 
3427
        <tbody><tr>
 
3428
          <td class="memname">void snd_ctl_elem_id_set_numid           </td>
 
3429
          <td>(</td>
 
3430
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3431
          <td class="paramname"> <em>obj</em>, </td>
 
3432
        </tr>
 
3433
        <tr>
 
3434
          <td class="paramkey"><br>
 
3435
</td>
 
3436
          <td><br>
 
3437
</td>
 
3438
          <td class="paramtype">unsigned int&nbsp;</td>
 
3439
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
3440
        </tr>
 
3441
        <tr>
 
3442
          <td><br>
 
3443
</td>
 
3444
          <td>)</td>
 
3445
          <td><br>
 
3446
</td><td><br>
 
3447
</td><td width="100%"><br>
 
3448
</td>
 
3449
        </tr>
 
3450
      </tbody></table>
 
3451
</div>
 
3452
<div class="memdoc">
 
3453
 
 
3454
<p>
 
3455
Set numeric identifier for a CTL element identifier. 
 
3456
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3461
    <tr><td valign="top"><br>
 
3462
</td><td valign="top"><em>val</em>&nbsp;</td><td>CTL element numeric identifier </td></tr>
 
3463
  </tbody></table>
 
3464
</dd></dl>
 
3465
 
 
3466
</div>
 
3467
</div><p>
 
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">
 
3472
        <tbody><tr>
 
3473
          <td class="memname">void snd_ctl_elem_id_set_subdevice           </td>
 
3474
          <td>(</td>
 
3475
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3476
          <td class="paramname"> <em>obj</em>, </td>
 
3477
        </tr>
 
3478
        <tr>
 
3479
          <td class="paramkey"><br>
 
3480
</td>
 
3481
          <td><br>
 
3482
</td>
 
3483
          <td class="paramtype">unsigned int&nbsp;</td>
 
3484
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
3485
        </tr>
 
3486
        <tr>
 
3487
          <td><br>
 
3488
</td>
 
3489
          <td>)</td>
 
3490
          <td><br>
 
3491
</td><td><br>
 
3492
</td><td width="100%"><br>
 
3493
</td>
 
3494
        </tr>
 
3495
      </tbody></table>
 
3496
</div>
 
3497
<div class="memdoc">
 
3498
 
 
3499
<p>
 
3500
Set subdevice part for a CTL element identifier. 
 
3501
</p><p>
 
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>&nbsp;</td><td>CTL element identifier </td></tr>
 
3506
    <tr><td valign="top"><br>
 
3507
</td><td valign="top"><em>val</em>&nbsp;</td><td>CTL element related subdevice </td></tr>
 
3508
  </tbody></table>
 
3509
</dd></dl>
 
3510
 
 
3511
</div>
 
3512
</div><p>
 
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">
 
3517
        <tbody><tr>
 
3518
          <td class="memname">size_t snd_ctl_elem_id_sizeof           </td>
 
3519
          <td>(</td>
 
3520
          <td class="paramtype">void&nbsp;</td>
 
3521
          <td class="paramname">          <br>
 
3522
</td>
 
3523
          <td>&nbsp;)&nbsp;</td>
 
3524
          <td width="100%"><br>
 
3525
</td>
 
3526
        </tr>
 
3527
      </tbody></table>
 
3528
</div>
 
3529
<div class="memdoc">
 
3530
 
 
3531
<p>
 
3532
get size of <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> 
 
3533
</p><p>
 
3534
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
 
3535
 
 
3536
</div>
 
3537
</div><p>
 
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">
 
3542
        <tbody><tr>
 
3543
          <td class="memname">const char* snd_ctl_elem_iface_name           </td>
 
3544
          <td>(</td>
 
3545
          <td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a>&nbsp;</td>
 
3546
          <td class="paramname"> <em>iface</em>          </td>
 
3547
          <td>&nbsp;)&nbsp;</td>
 
3548
          <td width="100%"><br>
 
3549
</td>
 
3550
        </tr>
 
3551
      </tbody></table>
 
3552
</div>
 
3553
<div class="memdoc">
 
3554
 
 
3555
<p>
 
3556
get name of a CTL element related interface 
 
3557
</p><p>
 
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>&nbsp;</td><td>CTL element related interface </td></tr>
 
3562
  </tbody></table>
 
3563
</dd></dl>
 
3564
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii name of CTL element related interface </dd></dl>
 
3565
 
 
3566
</div>
 
3567
</div><p>
 
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">
 
3572
        <tbody><tr>
 
3573
          <td class="memname">int snd_ctl_elem_info           </td>
 
3574
          <td>(</td>
 
3575
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
3576
          <td class="paramname"> <em>ctl</em>, </td>
 
3577
        </tr>
 
3578
        <tr>
 
3579
          <td class="paramkey"><br>
 
3580
</td>
 
3581
          <td><br>
 
3582
</td>
 
3583
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3584
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
 
3585
        </tr>
 
3586
        <tr>
 
3587
          <td><br>
 
3588
</td>
 
3589
          <td>)</td>
 
3590
          <td><br>
 
3591
</td><td><br>
 
3592
</td><td width="100%"><br>
 
3593
</td>
 
3594
        </tr>
 
3595
      </tbody></table>
 
3596
</div>
 
3597
<div class="memdoc">
 
3598
 
 
3599
<p>
 
3600
Get CTL element information. 
 
3601
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
3606
    <tr><td valign="top"><br>
 
3607
</td><td valign="top"><em>info</em>&nbsp;</td><td>CTL element id/information pointer </td></tr>
 
3608
  </tbody></table>
 
3609
</dd></dl>
 
3610
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
3611
 
 
3612
</div>
 
3613
</div><p>
 
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">
 
3618
        <tbody><tr>
 
3619
          <td class="memname">void snd_ctl_elem_info_clear           </td>
 
3620
          <td>(</td>
 
3621
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3622
          <td class="paramname"> <em>obj</em>          </td>
 
3623
          <td>&nbsp;)&nbsp;</td>
 
3624
          <td width="100%"><br>
 
3625
</td>
 
3626
        </tr>
 
3627
      </tbody></table>
 
3628
</div>
 
3629
<div class="memdoc">
 
3630
 
 
3631
<p>
 
3632
clear given <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> object 
 
3633
</p><p>
 
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>&nbsp;</td><td>pointer to object to clear </td></tr>
 
3638
  </tbody></table>
 
3639
</dd></dl>
 
3640
 
 
3641
</div>
 
3642
</div><p>
 
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">
 
3647
        <tbody><tr>
 
3648
          <td class="memname">void snd_ctl_elem_info_copy           </td>
 
3649
          <td>(</td>
 
3650
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3651
          <td class="paramname"> <em>dst</em>, </td>
 
3652
        </tr>
 
3653
        <tr>
 
3654
          <td class="paramkey"><br>
 
3655
</td>
 
3656
          <td><br>
 
3657
</td>
 
3658
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3659
          <td class="paramname"> <em>src</em></td><td>&nbsp;</td>
 
3660
        </tr>
 
3661
        <tr>
 
3662
          <td><br>
 
3663
</td>
 
3664
          <td>)</td>
 
3665
          <td><br>
 
3666
</td><td><br>
 
3667
</td><td width="100%"><br>
 
3668
</td>
 
3669
        </tr>
 
3670
      </tbody></table>
 
3671
</div>
 
3672
<div class="memdoc">
 
3673
 
 
3674
<p>
 
3675
copy one <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> to another 
 
3676
</p><p>
 
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>&nbsp;</td><td>pointer to destination </td></tr>
 
3681
    <tr><td valign="top"><br>
 
3682
</td><td valign="top"><em>src</em>&nbsp;</td><td>pointer to source </td></tr>
 
3683
  </tbody></table>
 
3684
</dd></dl>
 
3685
 
 
3686
</div>
 
3687
</div><p>
 
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">
 
3692
        <tbody><tr>
 
3693
          <td class="memname">void snd_ctl_elem_info_free           </td>
 
3694
          <td>(</td>
 
3695
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3696
          <td class="paramname"> <em>obj</em>          </td>
 
3697
          <td>&nbsp;)&nbsp;</td>
 
3698
          <td width="100%"><br>
 
3699
</td>
 
3700
        </tr>
 
3701
      </tbody></table>
 
3702
</div>
 
3703
<div class="memdoc">
 
3704
 
 
3705
<p>
 
3706
frees a previously allocated <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> 
 
3707
</p><p>
 
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>&nbsp;</td><td>pointer to object to free </td></tr>
 
3712
  </tbody></table>
 
3713
</dd></dl>
 
3714
 
 
3715
</div>
 
3716
</div><p>
 
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">
 
3721
        <tbody><tr>
 
3722
          <td class="memname">unsigned int snd_ctl_elem_info_get_count           </td>
 
3723
          <td>(</td>
 
3724
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3725
          <td class="paramname"> <em>obj</em>          </td>
 
3726
          <td>&nbsp;)&nbsp;</td>
 
3727
          <td width="100%"><br>
 
3728
</td>
 
3729
        </tr>
 
3730
      </tbody></table>
 
3731
</div>
 
3732
<div class="memdoc">
 
3733
 
 
3734
<p>
 
3735
Get number of value entries from a CTL element id/info. 
 
3736
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3741
  </tbody></table>
 
3742
</dd></dl>
 
3743
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value entries count </dd></dl>
 
3744
 
 
3745
</div>
 
3746
</div><p>
 
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">
 
3751
        <tbody><tr>
 
3752
          <td class="memname">unsigned int snd_ctl_elem_info_get_device           </td>
 
3753
          <td>(</td>
 
3754
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3755
          <td class="paramname"> <em>obj</em>          </td>
 
3756
          <td>&nbsp;)&nbsp;</td>
 
3757
          <td width="100%"><br>
 
3758
</td>
 
3759
        </tr>
 
3760
      </tbody></table>
 
3761
</div>
 
3762
<div class="memdoc">
 
3763
 
 
3764
<p>
 
3765
Get device part of CTL element identifier of a CTL element id/info. 
 
3766
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3771
  </tbody></table>
 
3772
</dd></dl>
 
3773
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>device part of element identifier </dd></dl>
 
3774
 
 
3775
</div>
 
3776
</div><p>
 
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">
 
3781
        <tbody><tr>
 
3782
          <td class="memname">int snd_ctl_elem_info_get_dimension           </td>
 
3783
          <td>(</td>
 
3784
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3785
          <td class="paramname"> <em>obj</em>, </td>
 
3786
        </tr>
 
3787
        <tr>
 
3788
          <td class="paramkey"><br>
 
3789
</td>
 
3790
          <td><br>
 
3791
</td>
 
3792
          <td class="paramtype">unsigned int&nbsp;</td>
 
3793
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
3794
        </tr>
 
3795
        <tr>
 
3796
          <td><br>
 
3797
</td>
 
3798
          <td>)</td>
 
3799
          <td><br>
 
3800
</td><td><br>
 
3801
</td><td width="100%"><br>
 
3802
</td>
 
3803
        </tr>
 
3804
      </tbody></table>
 
3805
</div>
 
3806
<div class="memdoc">
 
3807
 
 
3808
<p>
 
3809
Get specified of dimension width for given element. 
 
3810
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3815
    <tr><td valign="top"><br>
 
3816
</td><td valign="top"><em>idx</em>&nbsp;</td><td>The dimension index </td></tr>
 
3817
  </tbody></table>
 
3818
</dd></dl>
 
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>
 
3820
 
 
3821
</div>
 
3822
</div><p>
 
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">
 
3827
        <tbody><tr>
 
3828
          <td class="memname">int snd_ctl_elem_info_get_dimensions           </td>
 
3829
          <td>(</td>
 
3830
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3831
          <td class="paramname"> <em>obj</em>          </td>
 
3832
          <td>&nbsp;)&nbsp;</td>
 
3833
          <td width="100%"><br>
 
3834
</td>
 
3835
        </tr>
 
3836
      </tbody></table>
 
3837
</div>
 
3838
<div class="memdoc">
 
3839
 
 
3840
<p>
 
3841
Get count of dimensions for given element. 
 
3842
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3847
  </tbody></table>
 
3848
</dd></dl>
 
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>
 
3850
 
 
3851
</div>
 
3852
</div><p>
 
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">
 
3857
        <tbody><tr>
 
3858
          <td class="memname">void snd_ctl_elem_info_get_id           </td>
 
3859
          <td>(</td>
 
3860
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3861
          <td class="paramname"> <em>obj</em>, </td>
 
3862
        </tr>
 
3863
        <tr>
 
3864
          <td class="paramkey"><br>
 
3865
</td>
 
3866
          <td><br>
 
3867
</td>
 
3868
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
3869
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
3870
        </tr>
 
3871
        <tr>
 
3872
          <td><br>
 
3873
</td>
 
3874
          <td>)</td>
 
3875
          <td><br>
 
3876
</td><td><br>
 
3877
</td><td width="100%"><br>
 
3878
</td>
 
3879
        </tr>
 
3880
      </tbody></table>
 
3881
</div>
 
3882
<div class="memdoc">
 
3883
 
 
3884
<p>
 
3885
Get CTL element identifier of a CTL element id/info. 
 
3886
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3891
    <tr><td valign="top"><br>
 
3892
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>Pointer to returned CTL element identifier </td></tr>
 
3893
  </tbody></table>
 
3894
</dd></dl>
 
3895
 
 
3896
</div>
 
3897
</div><p>
 
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">
 
3902
        <tbody><tr>
 
3903
          <td class="memname">unsigned int snd_ctl_elem_info_get_index           </td>
 
3904
          <td>(</td>
 
3905
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3906
          <td class="paramname"> <em>obj</em>          </td>
 
3907
          <td>&nbsp;)&nbsp;</td>
 
3908
          <td width="100%"><br>
 
3909
</td>
 
3910
        </tr>
 
3911
      </tbody></table>
 
3912
</div>
 
3913
<div class="memdoc">
 
3914
 
 
3915
<p>
 
3916
Get index part of CTL element identifier of a CTL element id/info. 
 
3917
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3922
  </tbody></table>
 
3923
</dd></dl>
 
3924
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>index part of element identifier </dd></dl>
 
3925
 
 
3926
</div>
 
3927
</div><p>
 
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">
 
3932
        <tbody><tr>
 
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>
 
3934
          <td>(</td>
 
3935
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3936
          <td class="paramname"> <em>obj</em>          </td>
 
3937
          <td>&nbsp;)&nbsp;</td>
 
3938
          <td width="100%"><br>
 
3939
</td>
 
3940
        </tr>
 
3941
      </tbody></table>
 
3942
</div>
 
3943
<div class="memdoc">
 
3944
 
 
3945
<p>
 
3946
Get interface part of CTL element identifier of a CTL element id/info. 
 
3947
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3952
  </tbody></table>
 
3953
</dd></dl>
 
3954
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>interface part of element identifier </dd></dl>
 
3955
 
 
3956
</div>
 
3957
</div><p>
 
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">
 
3962
        <tbody><tr>
 
3963
          <td class="memname">const char* snd_ctl_elem_info_get_item_name           </td>
 
3964
          <td>(</td>
 
3965
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3966
          <td class="paramname"> <em>obj</em>          </td>
 
3967
          <td>&nbsp;)&nbsp;</td>
 
3968
          <td width="100%"><br>
 
3969
</td>
 
3970
        </tr>
 
3971
      </tbody></table>
 
3972
</div>
 
3973
<div class="memdoc">
 
3974
 
 
3975
<p>
 
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. 
 
3977
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
3982
  </tbody></table>
 
3983
</dd></dl>
 
3984
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name of chosen item </dd></dl>
 
3985
 
 
3986
</div>
 
3987
</div><p>
 
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">
 
3992
        <tbody><tr>
 
3993
          <td class="memname">unsigned int snd_ctl_elem_info_get_items           </td>
 
3994
          <td>(</td>
 
3995
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
3996
          <td class="paramname"> <em>obj</em>          </td>
 
3997
          <td>&nbsp;)&nbsp;</td>
 
3998
          <td width="100%"><br>
 
3999
</td>
 
4000
        </tr>
 
4001
      </tbody></table>
 
4002
</div>
 
4003
<div class="memdoc">
 
4004
 
 
4005
<p>
 
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. 
 
4007
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4012
  </tbody></table>
 
4013
</dd></dl>
 
4014
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>items count </dd></dl>
 
4015
 
 
4016
</div>
 
4017
</div><p>
 
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">
 
4022
        <tbody><tr>
 
4023
          <td class="memname">long snd_ctl_elem_info_get_max           </td>
 
4024
          <td>(</td>
 
4025
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4026
          <td class="paramname"> <em>obj</em>          </td>
 
4027
          <td>&nbsp;)&nbsp;</td>
 
4028
          <td width="100%"><br>
 
4029
</td>
 
4030
        </tr>
 
4031
      </tbody></table>
 
4032
</div>
 
4033
<div class="memdoc">
 
4034
 
 
4035
<p>
 
4036
Get maximum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info. 
 
4037
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4042
  </tbody></table>
 
4043
</dd></dl>
 
4044
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Maximum value </dd></dl>
 
4045
 
 
4046
</div>
 
4047
</div><p>
 
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">
 
4052
        <tbody><tr>
 
4053
          <td class="memname">long long snd_ctl_elem_info_get_max64           </td>
 
4054
          <td>(</td>
 
4055
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4056
          <td class="paramname"> <em>obj</em>          </td>
 
4057
          <td>&nbsp;)&nbsp;</td>
 
4058
          <td width="100%"><br>
 
4059
</td>
 
4060
        </tr>
 
4061
      </tbody></table>
 
4062
</div>
 
4063
<div class="memdoc">
 
4064
 
 
4065
<p>
 
4066
Get maximum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info. 
 
4067
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4072
  </tbody></table>
 
4073
</dd></dl>
 
4074
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Maximum value </dd></dl>
 
4075
 
 
4076
</div>
 
4077
</div><p>
 
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">
 
4082
        <tbody><tr>
 
4083
          <td class="memname">long snd_ctl_elem_info_get_min           </td>
 
4084
          <td>(</td>
 
4085
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4086
          <td class="paramname"> <em>obj</em>          </td>
 
4087
          <td>&nbsp;)&nbsp;</td>
 
4088
          <td width="100%"><br>
 
4089
</td>
 
4090
        </tr>
 
4091
      </tbody></table>
 
4092
</div>
 
4093
<div class="memdoc">
 
4094
 
 
4095
<p>
 
4096
Get minimum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info. 
 
4097
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4102
  </tbody></table>
 
4103
</dd></dl>
 
4104
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Minimum value </dd></dl>
 
4105
 
 
4106
</div>
 
4107
</div><p>
 
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">
 
4112
        <tbody><tr>
 
4113
          <td class="memname">long long snd_ctl_elem_info_get_min64           </td>
 
4114
          <td>(</td>
 
4115
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4116
          <td class="paramname"> <em>obj</em>          </td>
 
4117
          <td>&nbsp;)&nbsp;</td>
 
4118
          <td width="100%"><br>
 
4119
</td>
 
4120
        </tr>
 
4121
      </tbody></table>
 
4122
</div>
 
4123
<div class="memdoc">
 
4124
 
 
4125
<p>
 
4126
Get minimum value from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info. 
 
4127
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4132
  </tbody></table>
 
4133
</dd></dl>
 
4134
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Minimum value </dd></dl>
 
4135
 
 
4136
</div>
 
4137
</div><p>
 
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">
 
4142
        <tbody><tr>
 
4143
          <td class="memname">const char* snd_ctl_elem_info_get_name           </td>
 
4144
          <td>(</td>
 
4145
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4146
          <td class="paramname"> <em>obj</em>          </td>
 
4147
          <td>&nbsp;)&nbsp;</td>
 
4148
          <td width="100%"><br>
 
4149
</td>
 
4150
        </tr>
 
4151
      </tbody></table>
 
4152
</div>
 
4153
<div class="memdoc">
 
4154
 
 
4155
<p>
 
4156
Get name part of CTL element identifier of a CTL element id/info. 
 
4157
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4162
  </tbody></table>
 
4163
</dd></dl>
 
4164
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name part of element identifier </dd></dl>
 
4165
 
 
4166
</div>
 
4167
</div><p>
 
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">
 
4172
        <tbody><tr>
 
4173
          <td class="memname">unsigned int snd_ctl_elem_info_get_numid           </td>
 
4174
          <td>(</td>
 
4175
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4176
          <td class="paramname"> <em>obj</em>          </td>
 
4177
          <td>&nbsp;)&nbsp;</td>
 
4178
          <td width="100%"><br>
 
4179
</td>
 
4180
        </tr>
 
4181
      </tbody></table>
 
4182
</div>
 
4183
<div class="memdoc">
 
4184
 
 
4185
<p>
 
4186
Get element numeric identifier of a CTL element id/info. 
 
4187
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4192
  </tbody></table>
 
4193
</dd></dl>
 
4194
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>element numeric identifier </dd></dl>
 
4195
 
 
4196
</div>
 
4197
</div><p>
 
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">
 
4202
        <tbody><tr>
 
4203
          <td class="memname">pid_t snd_ctl_elem_info_get_owner           </td>
 
4204
          <td>(</td>
 
4205
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4206
          <td class="paramname"> <em>obj</em>          </td>
 
4207
          <td>&nbsp;)&nbsp;</td>
 
4208
          <td width="100%"><br>
 
4209
</td>
 
4210
        </tr>
 
4211
      </tbody></table>
 
4212
</div>
 
4213
<div class="memdoc">
 
4214
 
 
4215
<p>
 
4216
Get owner of a locked element. 
 
4217
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4222
  </tbody></table>
 
4223
</dd></dl>
 
4224
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value entries count </dd></dl>
 
4225
 
 
4226
</div>
 
4227
</div><p>
 
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">
 
4232
        <tbody><tr>
 
4233
          <td class="memname">long snd_ctl_elem_info_get_step           </td>
 
4234
          <td>(</td>
 
4235
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4236
          <td class="paramname"> <em>obj</em>          </td>
 
4237
          <td>&nbsp;)&nbsp;</td>
 
4238
          <td width="100%"><br>
 
4239
</td>
 
4240
        </tr>
 
4241
      </tbody></table>
 
4242
</div>
 
4243
<div class="memdoc">
 
4244
 
 
4245
<p>
 
4246
Get value step from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314799a0f7940a5509dcdcc154054e42ccfc">SND_CTL_ELEM_TYPE_INTEGER</a> CTL element id/info. 
 
4247
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4252
  </tbody></table>
 
4253
</dd></dl>
 
4254
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Step </dd></dl>
 
4255
 
 
4256
</div>
 
4257
</div><p>
 
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">
 
4262
        <tbody><tr>
 
4263
          <td class="memname">long long snd_ctl_elem_info_get_step64           </td>
 
4264
          <td>(</td>
 
4265
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4266
          <td class="paramname"> <em>obj</em>          </td>
 
4267
          <td>&nbsp;)&nbsp;</td>
 
4268
          <td width="100%"><br>
 
4269
</td>
 
4270
        </tr>
 
4271
      </tbody></table>
 
4272
</div>
 
4273
<div class="memdoc">
 
4274
 
 
4275
<p>
 
4276
Get value step from a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e3147e8b7d9e36e3701e189e248da478912e4">SND_CTL_ELEM_TYPE_INTEGER64</a> CTL element id/info. 
 
4277
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4282
  </tbody></table>
 
4283
</dd></dl>
 
4284
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Step </dd></dl>
 
4285
 
 
4286
</div>
 
4287
</div><p>
 
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">
 
4292
        <tbody><tr>
 
4293
          <td class="memname">unsigned int snd_ctl_elem_info_get_subdevice           </td>
 
4294
          <td>(</td>
 
4295
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4296
          <td class="paramname"> <em>obj</em>          </td>
 
4297
          <td>&nbsp;)&nbsp;</td>
 
4298
          <td width="100%"><br>
 
4299
</td>
 
4300
        </tr>
 
4301
      </tbody></table>
 
4302
</div>
 
4303
<div class="memdoc">
 
4304
 
 
4305
<p>
 
4306
Get subdevice part of CTL element identifier of a CTL element id/info. 
 
4307
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4312
  </tbody></table>
 
4313
</dd></dl>
 
4314
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>subdevice part of element identifier </dd></dl>
 
4315
 
 
4316
</div>
 
4317
</div><p>
 
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">
 
4322
        <tbody><tr>
 
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>
 
4324
          <td>(</td>
 
4325
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4326
          <td class="paramname"> <em>obj</em>          </td>
 
4327
          <td>&nbsp;)&nbsp;</td>
 
4328
          <td width="100%"><br>
 
4329
</td>
 
4330
        </tr>
 
4331
      </tbody></table>
 
4332
</div>
 
4333
<div class="memdoc">
 
4334
 
 
4335
<p>
 
4336
Get type from a CTL element id/info. 
 
4337
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4342
  </tbody></table>
 
4343
</dd></dl>
 
4344
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element content type </dd></dl>
 
4345
 
 
4346
</div>
 
4347
</div><p>
 
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">
 
4352
        <tbody><tr>
 
4353
          <td class="memname">int snd_ctl_elem_info_is_inactive           </td>
 
4354
          <td>(</td>
 
4355
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4356
          <td class="paramname"> <em>obj</em>          </td>
 
4357
          <td>&nbsp;)&nbsp;</td>
 
4358
          <td width="100%"><br>
 
4359
</td>
 
4360
        </tr>
 
4361
      </tbody></table>
 
4362
</div>
 
4363
<div class="memdoc">
 
4364
 
 
4365
<p>
 
4366
Get info about status from a CTL element id/info. 
 
4367
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4372
  </tbody></table>
 
4373
</dd></dl>
 
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>
 
4375
 
 
4376
</div>
 
4377
</div><p>
 
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">
 
4382
        <tbody><tr>
 
4383
          <td class="memname">int snd_ctl_elem_info_is_locked           </td>
 
4384
          <td>(</td>
 
4385
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4386
          <td class="paramname"> <em>obj</em>          </td>
 
4387
          <td>&nbsp;)&nbsp;</td>
 
4388
          <td width="100%"><br>
 
4389
</td>
 
4390
        </tr>
 
4391
      </tbody></table>
 
4392
</div>
 
4393
<div class="memdoc">
 
4394
 
 
4395
<p>
 
4396
Get info whether an element is locked. 
 
4397
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4402
  </tbody></table>
 
4403
</dd></dl>
 
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>
 
4405
 
 
4406
</div>
 
4407
</div><p>
 
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">
 
4412
        <tbody><tr>
 
4413
          <td class="memname">int snd_ctl_elem_info_is_owner           </td>
 
4414
          <td>(</td>
 
4415
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4416
          <td class="paramname"> <em>obj</em>          </td>
 
4417
          <td>&nbsp;)&nbsp;</td>
 
4418
          <td width="100%"><br>
 
4419
</td>
 
4420
        </tr>
 
4421
      </tbody></table>
 
4422
</div>
 
4423
<div class="memdoc">
 
4424
 
 
4425
<p>
 
4426
Get info if I own an element. 
 
4427
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4432
  </tbody></table>
 
4433
</dd></dl>
 
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>
 
4435
 
 
4436
</div>
 
4437
</div><p>
 
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">
 
4442
        <tbody><tr>
 
4443
          <td class="memname">int snd_ctl_elem_info_is_readable           </td>
 
4444
          <td>(</td>
 
4445
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4446
          <td class="paramname"> <em>obj</em>          </td>
 
4447
          <td>&nbsp;)&nbsp;</td>
 
4448
          <td width="100%"><br>
 
4449
</td>
 
4450
        </tr>
 
4451
      </tbody></table>
 
4452
</div>
 
4453
<div class="memdoc">
 
4454
 
 
4455
<p>
 
4456
Get info about readability from a CTL element id/info. 
 
4457
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4462
  </tbody></table>
 
4463
</dd></dl>
 
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>
 
4465
 
 
4466
</div>
 
4467
</div><p>
 
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">
 
4472
        <tbody><tr>
 
4473
          <td class="memname">int snd_ctl_elem_info_is_tlv_commandable           </td>
 
4474
          <td>(</td>
 
4475
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4476
          <td class="paramname"> <em>obj</em>          </td>
 
4477
          <td>&nbsp;)&nbsp;</td>
 
4478
          <td width="100%"><br>
 
4479
</td>
 
4480
        </tr>
 
4481
      </tbody></table>
 
4482
</div>
 
4483
<div class="memdoc">
 
4484
 
 
4485
<p>
 
4486
Get info about TLV command possibility from a CTL element id/info. 
 
4487
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4492
  </tbody></table>
 
4493
</dd></dl>
 
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>
 
4495
 
 
4496
</div>
 
4497
</div><p>
 
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">
 
4502
        <tbody><tr>
 
4503
          <td class="memname">int snd_ctl_elem_info_is_tlv_readable           </td>
 
4504
          <td>(</td>
 
4505
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4506
          <td class="paramname"> <em>obj</em>          </td>
 
4507
          <td>&nbsp;)&nbsp;</td>
 
4508
          <td width="100%"><br>
 
4509
</td>
 
4510
        </tr>
 
4511
      </tbody></table>
 
4512
</div>
 
4513
<div class="memdoc">
 
4514
 
 
4515
<p>
 
4516
Get info about TLV readability from a CTL element id/info. 
 
4517
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4522
  </tbody></table>
 
4523
</dd></dl>
 
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>
 
4525
 
 
4526
</div>
 
4527
</div><p>
 
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">
 
4532
        <tbody><tr>
 
4533
          <td class="memname">int snd_ctl_elem_info_is_tlv_writable           </td>
 
4534
          <td>(</td>
 
4535
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4536
          <td class="paramname"> <em>obj</em>          </td>
 
4537
          <td>&nbsp;)&nbsp;</td>
 
4538
          <td width="100%"><br>
 
4539
</td>
 
4540
        </tr>
 
4541
      </tbody></table>
 
4542
</div>
 
4543
<div class="memdoc">
 
4544
 
 
4545
<p>
 
4546
Get info about TLV writeability from a CTL element id/info. 
 
4547
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4552
  </tbody></table>
 
4553
</dd></dl>
 
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>
 
4555
 
 
4556
</div>
 
4557
</div><p>
 
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">
 
4562
        <tbody><tr>
 
4563
          <td class="memname">int snd_ctl_elem_info_is_user           </td>
 
4564
          <td>(</td>
 
4565
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4566
          <td class="paramname"> <em>obj</em>          </td>
 
4567
          <td>&nbsp;)&nbsp;</td>
 
4568
          <td width="100%"><br>
 
4569
</td>
 
4570
        </tr>
 
4571
      </tbody></table>
 
4572
</div>
 
4573
<div class="memdoc">
 
4574
 
 
4575
<p>
 
4576
Get info if it's a user element. 
 
4577
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4582
  </tbody></table>
 
4583
</dd></dl>
 
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>
 
4585
 
 
4586
</div>
 
4587
</div><p>
 
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">
 
4592
        <tbody><tr>
 
4593
          <td class="memname">int snd_ctl_elem_info_is_volatile           </td>
 
4594
          <td>(</td>
 
4595
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4596
          <td class="paramname"> <em>obj</em>          </td>
 
4597
          <td>&nbsp;)&nbsp;</td>
 
4598
          <td width="100%"><br>
 
4599
</td>
 
4600
        </tr>
 
4601
      </tbody></table>
 
4602
</div>
 
4603
<div class="memdoc">
 
4604
 
 
4605
<p>
 
4606
Get info about notification feasibility from a CTL element id/info. 
 
4607
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4612
  </tbody></table>
 
4613
</dd></dl>
 
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>
 
4615
 
 
4616
</div>
 
4617
</div><p>
 
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">
 
4622
        <tbody><tr>
 
4623
          <td class="memname">int snd_ctl_elem_info_is_writable           </td>
 
4624
          <td>(</td>
 
4625
          <td class="paramtype">const <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4626
          <td class="paramname"> <em>obj</em>          </td>
 
4627
          <td>&nbsp;)&nbsp;</td>
 
4628
          <td width="100%"><br>
 
4629
</td>
 
4630
        </tr>
 
4631
      </tbody></table>
 
4632
</div>
 
4633
<div class="memdoc">
 
4634
 
 
4635
<p>
 
4636
Get info about writability from a CTL element id/info. 
 
4637
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4642
  </tbody></table>
 
4643
</dd></dl>
 
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>
 
4645
 
 
4646
</div>
 
4647
</div><p>
 
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">
 
4652
        <tbody><tr>
 
4653
          <td class="memname">int snd_ctl_elem_info_malloc           </td>
 
4654
          <td>(</td>
 
4655
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> **&nbsp;</td>
 
4656
          <td class="paramname"> <em>ptr</em>          </td>
 
4657
          <td>&nbsp;)&nbsp;</td>
 
4658
          <td width="100%"><br>
 
4659
</td>
 
4660
        </tr>
 
4661
      </tbody></table>
 
4662
</div>
 
4663
<div class="memdoc">
 
4664
 
 
4665
<p>
 
4666
allocate an invalid <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> using standard malloc 
 
4667
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
4672
  </tbody></table>
 
4673
</dd></dl>
 
4674
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
 
4675
 
 
4676
</div>
 
4677
</div><p>
 
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">
 
4682
        <tbody><tr>
 
4683
          <td class="memname">void snd_ctl_elem_info_set_device           </td>
 
4684
          <td>(</td>
 
4685
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4686
          <td class="paramname"> <em>obj</em>, </td>
 
4687
        </tr>
 
4688
        <tr>
 
4689
          <td class="paramkey"><br>
 
4690
</td>
 
4691
          <td><br>
 
4692
</td>
 
4693
          <td class="paramtype">unsigned int&nbsp;</td>
 
4694
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
4695
        </tr>
 
4696
        <tr>
 
4697
          <td><br>
 
4698
</td>
 
4699
          <td>)</td>
 
4700
          <td><br>
 
4701
</td><td><br>
 
4702
</td><td width="100%"><br>
 
4703
</td>
 
4704
        </tr>
 
4705
      </tbody></table>
 
4706
</div>
 
4707
<div class="memdoc">
 
4708
 
 
4709
<p>
 
4710
Set device part of CTL element identifier of a CTL element id/info. 
 
4711
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4716
    <tr><td valign="top"><br>
 
4717
</td><td valign="top"><em>val</em>&nbsp;</td><td>device part of element identifier </td></tr>
 
4718
  </tbody></table>
 
4719
</dd></dl>
 
4720
 
 
4721
</div>
 
4722
</div><p>
 
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">
 
4727
        <tbody><tr>
 
4728
          <td class="memname">void snd_ctl_elem_info_set_id           </td>
 
4729
          <td>(</td>
 
4730
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4731
          <td class="paramname"> <em>obj</em>, </td>
 
4732
        </tr>
 
4733
        <tr>
 
4734
          <td class="paramkey"><br>
 
4735
</td>
 
4736
          <td><br>
 
4737
</td>
 
4738
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
4739
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
4740
        </tr>
 
4741
        <tr>
 
4742
          <td><br>
 
4743
</td>
 
4744
          <td>)</td>
 
4745
          <td><br>
 
4746
</td><td><br>
 
4747
</td><td width="100%"><br>
 
4748
</td>
 
4749
        </tr>
 
4750
      </tbody></table>
 
4751
</div>
 
4752
<div class="memdoc">
 
4753
 
 
4754
<p>
 
4755
Set CTL element identifier of a CTL element id/info. 
 
4756
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4761
    <tr><td valign="top"><br>
 
4762
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>CTL element identifier </td></tr>
 
4763
  </tbody></table>
 
4764
</dd></dl>
 
4765
 
 
4766
</div>
 
4767
</div><p>
 
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">
 
4772
        <tbody><tr>
 
4773
          <td class="memname">void snd_ctl_elem_info_set_index           </td>
 
4774
          <td>(</td>
 
4775
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4776
          <td class="paramname"> <em>obj</em>, </td>
 
4777
        </tr>
 
4778
        <tr>
 
4779
          <td class="paramkey"><br>
 
4780
</td>
 
4781
          <td><br>
 
4782
</td>
 
4783
          <td class="paramtype">unsigned int&nbsp;</td>
 
4784
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
4785
        </tr>
 
4786
        <tr>
 
4787
          <td><br>
 
4788
</td>
 
4789
          <td>)</td>
 
4790
          <td><br>
 
4791
</td><td><br>
 
4792
</td><td width="100%"><br>
 
4793
</td>
 
4794
        </tr>
 
4795
      </tbody></table>
 
4796
</div>
 
4797
<div class="memdoc">
 
4798
 
 
4799
<p>
 
4800
Set index part of CTL element identifier of a CTL element id/info. 
 
4801
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4806
    <tr><td valign="top"><br>
 
4807
</td><td valign="top"><em>val</em>&nbsp;</td><td>index part of element identifier </td></tr>
 
4808
  </tbody></table>
 
4809
</dd></dl>
 
4810
 
 
4811
</div>
 
4812
</div><p>
 
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">
 
4817
        <tbody><tr>
 
4818
          <td class="memname">void snd_ctl_elem_info_set_interface           </td>
 
4819
          <td>(</td>
 
4820
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4821
          <td class="paramname"> <em>obj</em>, </td>
 
4822
        </tr>
 
4823
        <tr>
 
4824
          <td class="paramkey"><br>
 
4825
</td>
 
4826
          <td><br>
 
4827
</td>
 
4828
          <td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a>&nbsp;</td>
 
4829
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
4830
        </tr>
 
4831
        <tr>
 
4832
          <td><br>
 
4833
</td>
 
4834
          <td>)</td>
 
4835
          <td><br>
 
4836
</td><td><br>
 
4837
</td><td width="100%"><br>
 
4838
</td>
 
4839
        </tr>
 
4840
      </tbody></table>
 
4841
</div>
 
4842
<div class="memdoc">
 
4843
 
 
4844
<p>
 
4845
Set interface part of CTL element identifier of a CTL element id/info. 
 
4846
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4851
    <tr><td valign="top"><br>
 
4852
</td><td valign="top"><em>val</em>&nbsp;</td><td>interface part of element identifier </td></tr>
 
4853
  </tbody></table>
 
4854
</dd></dl>
 
4855
 
 
4856
</div>
 
4857
</div><p>
 
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">
 
4862
        <tbody><tr>
 
4863
          <td class="memname">void snd_ctl_elem_info_set_item           </td>
 
4864
          <td>(</td>
 
4865
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4866
          <td class="paramname"> <em>obj</em>, </td>
 
4867
        </tr>
 
4868
        <tr>
 
4869
          <td class="paramkey"><br>
 
4870
</td>
 
4871
          <td><br>
 
4872
</td>
 
4873
          <td class="paramtype">unsigned int&nbsp;</td>
 
4874
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
4875
        </tr>
 
4876
        <tr>
 
4877
          <td><br>
 
4878
</td>
 
4879
          <td>)</td>
 
4880
          <td><br>
 
4881
</td><td><br>
 
4882
</td><td width="100%"><br>
 
4883
</td>
 
4884
        </tr>
 
4885
      </tbody></table>
 
4886
</div>
 
4887
<div class="memdoc">
 
4888
 
 
4889
<p>
 
4890
Select item in a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e314720d76c917d1ae7bdb090e62f8306ab67">SND_CTL_ELEM_TYPE_ENUMERATED</a> CTL element id/info. 
 
4891
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4896
    <tr><td valign="top"><br>
 
4897
</td><td valign="top"><em>val</em>&nbsp;</td><td>item number </td></tr>
 
4898
  </tbody></table>
 
4899
</dd></dl>
 
4900
 
 
4901
</div>
 
4902
</div><p>
 
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">
 
4907
        <tbody><tr>
 
4908
          <td class="memname">void snd_ctl_elem_info_set_name           </td>
 
4909
          <td>(</td>
 
4910
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4911
          <td class="paramname"> <em>obj</em>, </td>
 
4912
        </tr>
 
4913
        <tr>
 
4914
          <td class="paramkey"><br>
 
4915
</td>
 
4916
          <td><br>
 
4917
</td>
 
4918
          <td class="paramtype">const char *&nbsp;</td>
 
4919
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
4920
        </tr>
 
4921
        <tr>
 
4922
          <td><br>
 
4923
</td>
 
4924
          <td>)</td>
 
4925
          <td><br>
 
4926
</td><td><br>
 
4927
</td><td width="100%"><br>
 
4928
</td>
 
4929
        </tr>
 
4930
      </tbody></table>
 
4931
</div>
 
4932
<div class="memdoc">
 
4933
 
 
4934
<p>
 
4935
Set name part of CTL element identifier of a CTL element id/info. 
 
4936
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4941
    <tr><td valign="top"><br>
 
4942
</td><td valign="top"><em>val</em>&nbsp;</td><td>name part of element identifier </td></tr>
 
4943
  </tbody></table>
 
4944
</dd></dl>
 
4945
 
 
4946
</div>
 
4947
</div><p>
 
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">
 
4952
        <tbody><tr>
 
4953
          <td class="memname">void snd_ctl_elem_info_set_numid           </td>
 
4954
          <td>(</td>
 
4955
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
4956
          <td class="paramname"> <em>obj</em>, </td>
 
4957
        </tr>
 
4958
        <tr>
 
4959
          <td class="paramkey"><br>
 
4960
</td>
 
4961
          <td><br>
 
4962
</td>
 
4963
          <td class="paramtype">unsigned int&nbsp;</td>
 
4964
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
4965
        </tr>
 
4966
        <tr>
 
4967
          <td><br>
 
4968
</td>
 
4969
          <td>)</td>
 
4970
          <td><br>
 
4971
</td><td><br>
 
4972
</td><td width="100%"><br>
 
4973
</td>
 
4974
        </tr>
 
4975
      </tbody></table>
 
4976
</div>
 
4977
<div class="memdoc">
 
4978
 
 
4979
<p>
 
4980
Set element numeric identifier of a CTL element id/info. 
 
4981
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
4986
    <tr><td valign="top"><br>
 
4987
</td><td valign="top"><em>val</em>&nbsp;</td><td>element numeric identifier </td></tr>
 
4988
  </tbody></table>
 
4989
</dd></dl>
 
4990
 
 
4991
</div>
 
4992
</div><p>
 
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">
 
4997
        <tbody><tr>
 
4998
          <td class="memname">void snd_ctl_elem_info_set_subdevice           </td>
 
4999
          <td>(</td>
 
5000
          <td class="paramtype"><a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> *&nbsp;</td>
 
5001
          <td class="paramname"> <em>obj</em>, </td>
 
5002
        </tr>
 
5003
        <tr>
 
5004
          <td class="paramkey"><br>
 
5005
</td>
 
5006
          <td><br>
 
5007
</td>
 
5008
          <td class="paramtype">unsigned int&nbsp;</td>
 
5009
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
5010
        </tr>
 
5011
        <tr>
 
5012
          <td><br>
 
5013
</td>
 
5014
          <td>)</td>
 
5015
          <td><br>
 
5016
</td><td><br>
 
5017
</td><td width="100%"><br>
 
5018
</td>
 
5019
        </tr>
 
5020
      </tbody></table>
 
5021
</div>
 
5022
<div class="memdoc">
 
5023
 
 
5024
<p>
 
5025
Set subdevice part of CTL element identifier of a CTL element id/info. 
 
5026
</p><p>
 
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>&nbsp;</td><td>CTL element id/info </td></tr>
 
5031
    <tr><td valign="top"><br>
 
5032
</td><td valign="top"><em>val</em>&nbsp;</td><td>subdevice part of element identifier </td></tr>
 
5033
  </tbody></table>
 
5034
</dd></dl>
 
5035
 
 
5036
</div>
 
5037
</div><p>
 
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">
 
5042
        <tbody><tr>
 
5043
          <td class="memname">size_t snd_ctl_elem_info_sizeof           </td>
 
5044
          <td>(</td>
 
5045
          <td class="paramtype">void&nbsp;</td>
 
5046
          <td class="paramname">          <br>
 
5047
</td>
 
5048
          <td>&nbsp;)&nbsp;</td>
 
5049
          <td width="100%"><br>
 
5050
</td>
 
5051
        </tr>
 
5052
      </tbody></table>
 
5053
</div>
 
5054
<div class="memdoc">
 
5055
 
 
5056
<p>
 
5057
get size of <a class="el" href="group___control.html#g193d353c937d7b639784d4cd7c7005d7">snd_ctl_elem_info_t</a> 
 
5058
</p><p>
 
5059
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
 
5060
 
 
5061
</div>
 
5062
</div><p>
 
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">
 
5067
        <tbody><tr>
 
5068
          <td class="memname">int snd_ctl_elem_list           </td>
 
5069
          <td>(</td>
 
5070
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
5071
          <td class="paramname"> <em>ctl</em>, </td>
 
5072
        </tr>
 
5073
        <tr>
 
5074
          <td class="paramkey"><br>
 
5075
</td>
 
5076
          <td><br>
 
5077
</td>
 
5078
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5079
          <td class="paramname"> <em>list</em></td><td>&nbsp;</td>
 
5080
        </tr>
 
5081
        <tr>
 
5082
          <td><br>
 
5083
</td>
 
5084
          <td>)</td>
 
5085
          <td><br>
 
5086
</td><td><br>
 
5087
</td><td width="100%"><br>
 
5088
</td>
 
5089
        </tr>
 
5090
      </tbody></table>
 
5091
</div>
 
5092
<div class="memdoc">
 
5093
 
 
5094
<p>
 
5095
Get a list of element identifiers. 
 
5096
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
5101
    <tr><td valign="top"><br>
 
5102
</td><td valign="top"><em>list</em>&nbsp;</td><td>CTL element identifiers list pointer </td></tr>
 
5103
  </tbody></table>
 
5104
</dd></dl>
 
5105
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
5106
 
 
5107
</div>
 
5108
</div><p>
 
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">
 
5113
        <tbody><tr>
 
5114
          <td class="memname">int snd_ctl_elem_list_alloc_space           </td>
 
5115
          <td>(</td>
 
5116
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5117
          <td class="paramname"> <em>obj</em>, </td>
 
5118
        </tr>
 
5119
        <tr>
 
5120
          <td class="paramkey"><br>
 
5121
</td>
 
5122
          <td><br>
 
5123
</td>
 
5124
          <td class="paramtype">unsigned int&nbsp;</td>
 
5125
          <td class="paramname"> <em>entries</em></td><td>&nbsp;</td>
 
5126
        </tr>
 
5127
        <tr>
 
5128
          <td><br>
 
5129
</td>
 
5130
          <td>)</td>
 
5131
          <td><br>
 
5132
</td><td><br>
 
5133
</td><td width="100%"><br>
 
5134
</td>
 
5135
        </tr>
 
5136
      </tbody></table>
 
5137
</div>
 
5138
<div class="memdoc">
 
5139
 
 
5140
<p>
 
5141
allocate space for CTL element identifiers list 
 
5142
</p><p>
 
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>&nbsp;</td><td>CTL element identifiers list </td></tr>
 
5147
    <tr><td valign="top"><br>
 
5148
</td><td valign="top"><em>entries</em>&nbsp;</td><td>Entries to allocate </td></tr>
 
5149
  </tbody></table>
 
5150
</dd></dl>
 
5151
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
5152
 
 
5153
</div>
 
5154
</div><p>
 
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">
 
5159
        <tbody><tr>
 
5160
          <td class="memname">void snd_ctl_elem_list_clear           </td>
 
5161
          <td>(</td>
 
5162
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5163
          <td class="paramname"> <em>obj</em>          </td>
 
5164
          <td>&nbsp;)&nbsp;</td>
 
5165
          <td width="100%"><br>
 
5166
</td>
 
5167
        </tr>
 
5168
      </tbody></table>
 
5169
</div>
 
5170
<div class="memdoc">
 
5171
 
 
5172
<p>
 
5173
clear given <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> object 
 
5174
</p><p>
 
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>&nbsp;</td><td>pointer to object to clear </td></tr>
 
5179
  </tbody></table>
 
5180
</dd></dl>
 
5181
 
 
5182
</div>
 
5183
</div><p>
 
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">
 
5188
        <tbody><tr>
 
5189
          <td class="memname">void snd_ctl_elem_list_copy           </td>
 
5190
          <td>(</td>
 
5191
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5192
          <td class="paramname"> <em>dst</em>, </td>
 
5193
        </tr>
 
5194
        <tr>
 
5195
          <td class="paramkey"><br>
 
5196
</td>
 
5197
          <td><br>
 
5198
</td>
 
5199
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5200
          <td class="paramname"> <em>src</em></td><td>&nbsp;</td>
 
5201
        </tr>
 
5202
        <tr>
 
5203
          <td><br>
 
5204
</td>
 
5205
          <td>)</td>
 
5206
          <td><br>
 
5207
</td><td><br>
 
5208
</td><td width="100%"><br>
 
5209
</td>
 
5210
        </tr>
 
5211
      </tbody></table>
 
5212
</div>
 
5213
<div class="memdoc">
 
5214
 
 
5215
<p>
 
5216
copy one <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> to another 
 
5217
</p><p>
 
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>&nbsp;</td><td>pointer to destination </td></tr>
 
5222
    <tr><td valign="top"><br>
 
5223
</td><td valign="top"><em>src</em>&nbsp;</td><td>pointer to source </td></tr>
 
5224
  </tbody></table>
 
5225
</dd></dl>
 
5226
 
 
5227
</div>
 
5228
</div><p>
 
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">
 
5233
        <tbody><tr>
 
5234
          <td class="memname">void snd_ctl_elem_list_free           </td>
 
5235
          <td>(</td>
 
5236
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5237
          <td class="paramname"> <em>obj</em>          </td>
 
5238
          <td>&nbsp;)&nbsp;</td>
 
5239
          <td width="100%"><br>
 
5240
</td>
 
5241
        </tr>
 
5242
      </tbody></table>
 
5243
</div>
 
5244
<div class="memdoc">
 
5245
 
 
5246
<p>
 
5247
frees a previously allocated <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> 
 
5248
</p><p>
 
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>&nbsp;</td><td>pointer to object to free </td></tr>
 
5253
  </tbody></table>
 
5254
</dd></dl>
 
5255
 
 
5256
</div>
 
5257
</div><p>
 
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">
 
5262
        <tbody><tr>
 
5263
          <td class="memname">void snd_ctl_elem_list_free_space           </td>
 
5264
          <td>(</td>
 
5265
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5266
          <td class="paramname"> <em>obj</em>          </td>
 
5267
          <td>&nbsp;)&nbsp;</td>
 
5268
          <td width="100%"><br>
 
5269
</td>
 
5270
        </tr>
 
5271
      </tbody></table>
 
5272
</div>
 
5273
<div class="memdoc">
 
5274
 
 
5275
<p>
 
5276
free previously allocated space for CTL element identifiers list 
 
5277
</p><p>
 
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>&nbsp;</td><td>CTL element identifiers list </td></tr>
 
5282
  </tbody></table>
 
5283
</dd></dl>
 
5284
 
 
5285
</div>
 
5286
</div><p>
 
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">
 
5291
        <tbody><tr>
 
5292
          <td class="memname">unsigned int snd_ctl_elem_list_get_count           </td>
 
5293
          <td>(</td>
 
5294
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5295
          <td class="paramname"> <em>obj</em>          </td>
 
5296
          <td>&nbsp;)&nbsp;</td>
 
5297
          <td width="100%"><br>
 
5298
</td>
 
5299
        </tr>
 
5300
      </tbody></table>
 
5301
</div>
 
5302
<div class="memdoc">
 
5303
 
 
5304
<p>
 
5305
Get total count of elements present in CTL device (information present in every filled CTL element identifiers list). 
 
5306
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5311
  </tbody></table>
 
5312
</dd></dl>
 
5313
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>total number of elements </dd></dl>
 
5314
 
 
5315
</div>
 
5316
</div><p>
 
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">
 
5321
        <tbody><tr>
 
5322
          <td class="memname">unsigned int snd_ctl_elem_list_get_device           </td>
 
5323
          <td>(</td>
 
5324
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5325
          <td class="paramname"> <em>obj</em>, </td>
 
5326
        </tr>
 
5327
        <tr>
 
5328
          <td class="paramkey"><br>
 
5329
</td>
 
5330
          <td><br>
 
5331
</td>
 
5332
          <td class="paramtype">unsigned int&nbsp;</td>
 
5333
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
5334
        </tr>
 
5335
        <tr>
 
5336
          <td><br>
 
5337
</td>
 
5338
          <td>)</td>
 
5339
          <td><br>
 
5340
</td><td><br>
 
5341
</td><td width="100%"><br>
 
5342
</td>
 
5343
        </tr>
 
5344
      </tbody></table>
 
5345
</div>
 
5346
<div class="memdoc">
 
5347
 
 
5348
<p>
 
5349
Get device part of CTL element identifier for an entry of a CTL element identifiers list. 
 
5350
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5355
    <tr><td valign="top"><br>
 
5356
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5357
  </tbody></table>
 
5358
</dd></dl>
 
5359
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related device </dd></dl>
 
5360
 
 
5361
</div>
 
5362
</div><p>
 
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">
 
5367
        <tbody><tr>
 
5368
          <td class="memname">void snd_ctl_elem_list_get_id           </td>
 
5369
          <td>(</td>
 
5370
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5371
          <td class="paramname"> <em>obj</em>, </td>
 
5372
        </tr>
 
5373
        <tr>
 
5374
          <td class="paramkey"><br>
 
5375
</td>
 
5376
          <td><br>
 
5377
</td>
 
5378
          <td class="paramtype">unsigned int&nbsp;</td>
 
5379
          <td class="paramname"> <em>idx</em>, </td>
 
5380
        </tr>
 
5381
        <tr>
 
5382
          <td class="paramkey"><br>
 
5383
</td>
 
5384
          <td><br>
 
5385
</td>
 
5386
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
5387
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
5388
        </tr>
 
5389
        <tr>
 
5390
          <td><br>
 
5391
</td>
 
5392
          <td>)</td>
 
5393
          <td><br>
 
5394
</td><td><br>
 
5395
</td><td width="100%"><br>
 
5396
</td>
 
5397
        </tr>
 
5398
      </tbody></table>
 
5399
</div>
 
5400
<div class="memdoc">
 
5401
 
 
5402
<p>
 
5403
Get CTL element identifier for an entry of a CTL element identifiers list. 
 
5404
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5409
    <tr><td valign="top"><br>
 
5410
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5411
    <tr><td valign="top"><br>
 
5412
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>Pointer to returned CTL element identifier </td></tr>
 
5413
  </tbody></table>
 
5414
</dd></dl>
 
5415
 
 
5416
</div>
 
5417
</div><p>
 
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">
 
5422
        <tbody><tr>
 
5423
          <td class="memname">unsigned int snd_ctl_elem_list_get_index           </td>
 
5424
          <td>(</td>
 
5425
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5426
          <td class="paramname"> <em>obj</em>, </td>
 
5427
        </tr>
 
5428
        <tr>
 
5429
          <td class="paramkey"><br>
 
5430
</td>
 
5431
          <td><br>
 
5432
</td>
 
5433
          <td class="paramtype">unsigned int&nbsp;</td>
 
5434
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
5435
        </tr>
 
5436
        <tr>
 
5437
          <td><br>
 
5438
</td>
 
5439
          <td>)</td>
 
5440
          <td><br>
 
5441
</td><td><br>
 
5442
</td><td width="100%"><br>
 
5443
</td>
 
5444
        </tr>
 
5445
      </tbody></table>
 
5446
</div>
 
5447
<div class="memdoc">
 
5448
 
 
5449
<p>
 
5450
Get index part of CTL element identifier for an entry of a CTL element identifiers list. 
 
5451
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5456
    <tr><td valign="top"><br>
 
5457
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5458
  </tbody></table>
 
5459
</dd></dl>
 
5460
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element index </dd></dl>
 
5461
 
 
5462
</div>
 
5463
</div><p>
 
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">
 
5468
        <tbody><tr>
 
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>
 
5470
          <td>(</td>
 
5471
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5472
          <td class="paramname"> <em>obj</em>, </td>
 
5473
        </tr>
 
5474
        <tr>
 
5475
          <td class="paramkey"><br>
 
5476
</td>
 
5477
          <td><br>
 
5478
</td>
 
5479
          <td class="paramtype">unsigned int&nbsp;</td>
 
5480
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
5481
        </tr>
 
5482
        <tr>
 
5483
          <td><br>
 
5484
</td>
 
5485
          <td>)</td>
 
5486
          <td><br>
 
5487
</td><td><br>
 
5488
</td><td width="100%"><br>
 
5489
</td>
 
5490
        </tr>
 
5491
      </tbody></table>
 
5492
</div>
 
5493
<div class="memdoc">
 
5494
 
 
5495
<p>
 
5496
Get interface part of CTL element identifier for an entry of a CTL element identifiers list. 
 
5497
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5502
    <tr><td valign="top"><br>
 
5503
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5504
  </tbody></table>
 
5505
</dd></dl>
 
5506
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related interface </dd></dl>
 
5507
 
 
5508
</div>
 
5509
</div><p>
 
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">
 
5514
        <tbody><tr>
 
5515
          <td class="memname">const char* snd_ctl_elem_list_get_name           </td>
 
5516
          <td>(</td>
 
5517
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5518
          <td class="paramname"> <em>obj</em>, </td>
 
5519
        </tr>
 
5520
        <tr>
 
5521
          <td class="paramkey"><br>
 
5522
</td>
 
5523
          <td><br>
 
5524
</td>
 
5525
          <td class="paramtype">unsigned int&nbsp;</td>
 
5526
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
5527
        </tr>
 
5528
        <tr>
 
5529
          <td><br>
 
5530
</td>
 
5531
          <td>)</td>
 
5532
          <td><br>
 
5533
</td><td><br>
 
5534
</td><td width="100%"><br>
 
5535
</td>
 
5536
        </tr>
 
5537
      </tbody></table>
 
5538
</div>
 
5539
<div class="memdoc">
 
5540
 
 
5541
<p>
 
5542
Get name part of CTL element identifier for an entry of a CTL element identifiers list. 
 
5543
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5548
    <tr><td valign="top"><br>
 
5549
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5550
  </tbody></table>
 
5551
</dd></dl>
 
5552
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element name </dd></dl>
 
5553
 
 
5554
</div>
 
5555
</div><p>
 
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">
 
5560
        <tbody><tr>
 
5561
          <td class="memname">unsigned int snd_ctl_elem_list_get_numid           </td>
 
5562
          <td>(</td>
 
5563
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5564
          <td class="paramname"> <em>obj</em>, </td>
 
5565
        </tr>
 
5566
        <tr>
 
5567
          <td class="paramkey"><br>
 
5568
</td>
 
5569
          <td><br>
 
5570
</td>
 
5571
          <td class="paramtype">unsigned int&nbsp;</td>
 
5572
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
5573
        </tr>
 
5574
        <tr>
 
5575
          <td><br>
 
5576
</td>
 
5577
          <td>)</td>
 
5578
          <td><br>
 
5579
</td><td><br>
 
5580
</td><td width="100%"><br>
 
5581
</td>
 
5582
        </tr>
 
5583
      </tbody></table>
 
5584
</div>
 
5585
<div class="memdoc">
 
5586
 
 
5587
<p>
 
5588
Get CTL element numeric identifier for an entry of a CTL element identifiers list. 
 
5589
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5594
    <tr><td valign="top"><br>
 
5595
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5596
  </tbody></table>
 
5597
</dd></dl>
 
5598
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element numeric identifier </dd></dl>
 
5599
 
 
5600
</div>
 
5601
</div><p>
 
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">
 
5606
        <tbody><tr>
 
5607
          <td class="memname">unsigned int snd_ctl_elem_list_get_subdevice           </td>
 
5608
          <td>(</td>
 
5609
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5610
          <td class="paramname"> <em>obj</em>, </td>
 
5611
        </tr>
 
5612
        <tr>
 
5613
          <td class="paramkey"><br>
 
5614
</td>
 
5615
          <td><br>
 
5616
</td>
 
5617
          <td class="paramtype">unsigned int&nbsp;</td>
 
5618
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
5619
        </tr>
 
5620
        <tr>
 
5621
          <td><br>
 
5622
</td>
 
5623
          <td>)</td>
 
5624
          <td><br>
 
5625
</td><td><br>
 
5626
</td><td width="100%"><br>
 
5627
</td>
 
5628
        </tr>
 
5629
      </tbody></table>
 
5630
</div>
 
5631
<div class="memdoc">
 
5632
 
 
5633
<p>
 
5634
Get subdevice part of CTL element identifier for an entry of a CTL element identifiers list. 
 
5635
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5640
    <tr><td valign="top"><br>
 
5641
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Index of entry </td></tr>
 
5642
  </tbody></table>
 
5643
</dd></dl>
 
5644
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL element related subdevice </dd></dl>
 
5645
 
 
5646
</div>
 
5647
</div><p>
 
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">
 
5652
        <tbody><tr>
 
5653
          <td class="memname">unsigned int snd_ctl_elem_list_get_used           </td>
 
5654
          <td>(</td>
 
5655
          <td class="paramtype">const <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5656
          <td class="paramname"> <em>obj</em>          </td>
 
5657
          <td>&nbsp;)&nbsp;</td>
 
5658
          <td width="100%"><br>
 
5659
</td>
 
5660
        </tr>
 
5661
      </tbody></table>
 
5662
</div>
 
5663
<div class="memdoc">
 
5664
 
 
5665
<p>
 
5666
Get number of used entries in CTL element identifiers list. 
 
5667
</p><p>
 
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>&nbsp;</td><td>CTL element identifier list </td></tr>
 
5672
  </tbody></table>
 
5673
</dd></dl>
 
5674
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>number of used entries </dd></dl>
 
5675
 
 
5676
</div>
 
5677
</div><p>
 
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">
 
5682
        <tbody><tr>
 
5683
          <td class="memname">int snd_ctl_elem_list_malloc           </td>
 
5684
          <td>(</td>
 
5685
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> **&nbsp;</td>
 
5686
          <td class="paramname"> <em>ptr</em>          </td>
 
5687
          <td>&nbsp;)&nbsp;</td>
 
5688
          <td width="100%"><br>
 
5689
</td>
 
5690
        </tr>
 
5691
      </tbody></table>
 
5692
</div>
 
5693
<div class="memdoc">
 
5694
 
 
5695
<p>
 
5696
allocate an invalid <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> using standard malloc 
 
5697
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
5702
  </tbody></table>
 
5703
</dd></dl>
 
5704
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
 
5705
 
 
5706
</div>
 
5707
</div><p>
 
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">
 
5712
        <tbody><tr>
 
5713
          <td class="memname">void snd_ctl_elem_list_set_offset           </td>
 
5714
          <td>(</td>
 
5715
          <td class="paramtype"><a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> *&nbsp;</td>
 
5716
          <td class="paramname"> <em>obj</em>, </td>
 
5717
        </tr>
 
5718
        <tr>
 
5719
          <td class="paramkey"><br>
 
5720
</td>
 
5721
          <td><br>
 
5722
</td>
 
5723
          <td class="paramtype">unsigned int&nbsp;</td>
 
5724
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
5725
        </tr>
 
5726
        <tr>
 
5727
          <td><br>
 
5728
</td>
 
5729
          <td>)</td>
 
5730
          <td><br>
 
5731
</td><td><br>
 
5732
</td><td width="100%"><br>
 
5733
</td>
 
5734
        </tr>
 
5735
      </tbody></table>
 
5736
</div>
 
5737
<div class="memdoc">
 
5738
 
 
5739
<p>
 
5740
Set index of first wanted CTL element identifier in a CTL element identifiers list. 
 
5741
</p><p>
 
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>&nbsp;</td><td>CTL element identifiers list </td></tr>
 
5746
    <tr><td valign="top"><br>
 
5747
</td><td valign="top"><em>val</em>&nbsp;</td><td>index of CTL element to put at position 0 of list </td></tr>
 
5748
  </tbody></table>
 
5749
</dd></dl>
 
5750
 
 
5751
</div>
 
5752
</div><p>
 
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">
 
5757
        <tbody><tr>
 
5758
          <td class="memname">size_t snd_ctl_elem_list_sizeof           </td>
 
5759
          <td>(</td>
 
5760
          <td class="paramtype">void&nbsp;</td>
 
5761
          <td class="paramname">          <br>
 
5762
</td>
 
5763
          <td>&nbsp;)&nbsp;</td>
 
5764
          <td width="100%"><br>
 
5765
</td>
 
5766
        </tr>
 
5767
      </tbody></table>
 
5768
</div>
 
5769
<div class="memdoc">
 
5770
 
 
5771
<p>
 
5772
get size of <a class="el" href="group___control.html#gd174599b3b161f363531def722fa72c9">snd_ctl_elem_list_t</a> 
 
5773
</p><p>
 
5774
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
 
5775
 
 
5776
</div>
 
5777
</div><p>
 
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">
 
5782
        <tbody><tr>
 
5783
          <td class="memname">int snd_ctl_elem_lock           </td>
 
5784
          <td>(</td>
 
5785
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
5786
          <td class="paramname"> <em>ctl</em>, </td>
 
5787
        </tr>
 
5788
        <tr>
 
5789
          <td class="paramkey"><br>
 
5790
</td>
 
5791
          <td><br>
 
5792
</td>
 
5793
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
5794
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
 
5795
        </tr>
 
5796
        <tr>
 
5797
          <td><br>
 
5798
</td>
 
5799
          <td>)</td>
 
5800
          <td><br>
 
5801
</td><td><br>
 
5802
</td><td width="100%"><br>
 
5803
</td>
 
5804
        </tr>
 
5805
      </tbody></table>
 
5806
</div>
 
5807
<div class="memdoc">
 
5808
 
 
5809
<p>
 
5810
Lock CTL element. 
 
5811
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
5816
    <tr><td valign="top"><br>
 
5817
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id pointer </td></tr>
 
5818
  </tbody></table>
 
5819
</dd></dl>
 
5820
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
5821
 
 
5822
</div>
 
5823
</div><p>
 
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">
 
5828
        <tbody><tr>
 
5829
          <td class="memname">int snd_ctl_elem_read           </td>
 
5830
          <td>(</td>
 
5831
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
5832
          <td class="paramname"> <em>ctl</em>, </td>
 
5833
        </tr>
 
5834
        <tr>
 
5835
          <td class="paramkey"><br>
 
5836
</td>
 
5837
          <td><br>
 
5838
</td>
 
5839
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
5840
          <td class="paramname"> <em>control</em></td><td>&nbsp;</td>
 
5841
        </tr>
 
5842
        <tr>
 
5843
          <td><br>
 
5844
</td>
 
5845
          <td>)</td>
 
5846
          <td><br>
 
5847
</td><td><br>
 
5848
</td><td width="100%"><br>
 
5849
</td>
 
5850
        </tr>
 
5851
      </tbody></table>
 
5852
</div>
 
5853
<div class="memdoc">
 
5854
 
 
5855
<p>
 
5856
Get CTL element value. 
 
5857
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
5862
    <tr><td valign="top"><br>
 
5863
</td><td valign="top"><em>control</em>&nbsp;</td><td>CTL element id/value pointer </td></tr>
 
5864
  </tbody></table>
 
5865
</dd></dl>
 
5866
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
5867
 
 
5868
</div>
 
5869
</div><p>
 
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">
 
5874
        <tbody><tr>
 
5875
          <td class="memname">int snd_ctl_elem_remove           </td>
 
5876
          <td>(</td>
 
5877
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
5878
          <td class="paramname"> <em>ctl</em>, </td>
 
5879
        </tr>
 
5880
        <tr>
 
5881
          <td class="paramkey"><br>
 
5882
</td>
 
5883
          <td><br>
 
5884
</td>
 
5885
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
5886
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
 
5887
        </tr>
 
5888
        <tr>
 
5889
          <td><br>
 
5890
</td>
 
5891
          <td>)</td>
 
5892
          <td><br>
 
5893
</td><td><br>
 
5894
</td><td width="100%"><br>
 
5895
</td>
 
5896
        </tr>
 
5897
      </tbody></table>
 
5898
</div>
 
5899
<div class="memdoc">
 
5900
 
 
5901
<p>
 
5902
Remove an user CTL element. 
 
5903
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
5908
    <tr><td valign="top"><br>
 
5909
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element identification </td></tr>
 
5910
  </tbody></table>
 
5911
</dd></dl>
 
5912
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
5913
 
 
5914
</div>
 
5915
</div><p>
 
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">
 
5920
        <tbody><tr>
 
5921
          <td class="memname">void snd_ctl_elem_set_bytes           </td>
 
5922
          <td>(</td>
 
5923
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
5924
          <td class="paramname"> <em>obj</em>, </td>
 
5925
        </tr>
 
5926
        <tr>
 
5927
          <td class="paramkey"><br>
 
5928
</td>
 
5929
          <td><br>
 
5930
</td>
 
5931
          <td class="paramtype">void *&nbsp;</td>
 
5932
          <td class="paramname"> <em>data</em>, </td>
 
5933
        </tr>
 
5934
        <tr>
 
5935
          <td class="paramkey"><br>
 
5936
</td>
 
5937
          <td><br>
 
5938
</td>
 
5939
          <td class="paramtype">size_t&nbsp;</td>
 
5940
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
 
5941
        </tr>
 
5942
        <tr>
 
5943
          <td><br>
 
5944
</td>
 
5945
          <td>)</td>
 
5946
          <td><br>
 
5947
</td><td><br>
 
5948
</td><td width="100%"><br>
 
5949
</td>
 
5950
        </tr>
 
5951
      </tbody></table>
 
5952
</div>
 
5953
<div class="memdoc">
 
5954
 
 
5955
<p>
 
5956
Set CTL element <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> value. 
 
5957
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
5962
    <tr><td valign="top"><br>
 
5963
</td><td valign="top"><em>data</em>&nbsp;</td><td>Bytes value </td></tr>
 
5964
    <tr><td valign="top"><br>
 
5965
</td><td valign="top"><em>size</em>&nbsp;</td><td>Size in bytes </td></tr>
 
5966
  </tbody></table>
 
5967
</dd></dl>
 
5968
 
 
5969
</div>
 
5970
</div><p>
 
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">
 
5975
        <tbody><tr>
 
5976
          <td class="memname">int snd_ctl_elem_tlv_command           </td>
 
5977
          <td>(</td>
 
5978
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
5979
          <td class="paramname"> <em>ctl</em>, </td>
 
5980
        </tr>
 
5981
        <tr>
 
5982
          <td class="paramkey"><br>
 
5983
</td>
 
5984
          <td><br>
 
5985
</td>
 
5986
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
5987
          <td class="paramname"> <em>id</em>, </td>
 
5988
        </tr>
 
5989
        <tr>
 
5990
          <td class="paramkey"><br>
 
5991
</td>
 
5992
          <td><br>
 
5993
</td>
 
5994
          <td class="paramtype">const unsigned int *&nbsp;</td>
 
5995
          <td class="paramname"> <em>tlv</em></td><td>&nbsp;</td>
 
5996
        </tr>
 
5997
        <tr>
 
5998
          <td><br>
 
5999
</td>
 
6000
          <td>)</td>
 
6001
          <td><br>
 
6002
</td><td><br>
 
6003
</td><td width="100%"><br>
 
6004
</td>
 
6005
        </tr>
 
6006
      </tbody></table>
 
6007
</div>
 
6008
<div class="memdoc">
 
6009
 
 
6010
<p>
 
6011
Process CTL element TLV command. 
 
6012
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
6017
    <tr><td valign="top"><br>
 
6018
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id pointer </td></tr>
 
6019
    <tr><td valign="top"><br>
 
6020
</td><td valign="top"><em>tlv</em>&nbsp;</td><td>TLV array pointer to process </td></tr>
 
6021
  </tbody></table>
 
6022
</dd></dl>
 
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>&nbsp;</td><td>on success </td></tr>
 
6027
    <tr><td valign="top"><br>
 
6028
</td><td valign="top"><em>&gt;0</em>&nbsp;</td><td>on success when value was changed </td></tr>
 
6029
    <tr><td valign="top"><br>
 
6030
</td><td valign="top"><em>&lt;0</em>&nbsp;</td><td>a negative error code </td></tr>
 
6031
  </tbody></table>
 
6032
</dd></dl>
 
6033
 
 
6034
</div>
 
6035
</div><p>
 
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">
 
6040
        <tbody><tr>
 
6041
          <td class="memname">int snd_ctl_elem_tlv_read           </td>
 
6042
          <td>(</td>
 
6043
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
6044
          <td class="paramname"> <em>ctl</em>, </td>
 
6045
        </tr>
 
6046
        <tr>
 
6047
          <td class="paramkey"><br>
 
6048
</td>
 
6049
          <td><br>
 
6050
</td>
 
6051
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
6052
          <td class="paramname"> <em>id</em>, </td>
 
6053
        </tr>
 
6054
        <tr>
 
6055
          <td class="paramkey"><br>
 
6056
</td>
 
6057
          <td><br>
 
6058
</td>
 
6059
          <td class="paramtype">unsigned int *&nbsp;</td>
 
6060
          <td class="paramname"> <em>tlv</em>, </td>
 
6061
        </tr>
 
6062
        <tr>
 
6063
          <td class="paramkey"><br>
 
6064
</td>
 
6065
          <td><br>
 
6066
</td>
 
6067
          <td class="paramtype">unsigned int&nbsp;</td>
 
6068
          <td class="paramname"> <em>tlv_size</em></td><td>&nbsp;</td>
 
6069
        </tr>
 
6070
        <tr>
 
6071
          <td><br>
 
6072
</td>
 
6073
          <td>)</td>
 
6074
          <td><br>
 
6075
</td><td><br>
 
6076
</td><td width="100%"><br>
 
6077
</td>
 
6078
        </tr>
 
6079
      </tbody></table>
 
6080
</div>
 
6081
<div class="memdoc">
 
6082
 
 
6083
<p>
 
6084
Get CTL element TLV value. 
 
6085
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
6090
    <tr><td valign="top"><br>
 
6091
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id pointer </td></tr>
 
6092
    <tr><td valign="top"><br>
 
6093
</td><td valign="top"><em>tlv</em>&nbsp;</td><td>TLV array pointer to store </td></tr>
 
6094
    <tr><td valign="top"><br>
 
6095
</td><td valign="top"><em>tlv_size</em>&nbsp;</td><td>TLV array size in bytes </td></tr>
 
6096
  </tbody></table>
 
6097
</dd></dl>
 
6098
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
6099
 
 
6100
</div>
 
6101
</div><p>
 
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">
 
6106
        <tbody><tr>
 
6107
          <td class="memname">int snd_ctl_elem_tlv_write           </td>
 
6108
          <td>(</td>
 
6109
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
6110
          <td class="paramname"> <em>ctl</em>, </td>
 
6111
        </tr>
 
6112
        <tr>
 
6113
          <td class="paramkey"><br>
 
6114
</td>
 
6115
          <td><br>
 
6116
</td>
 
6117
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
6118
          <td class="paramname"> <em>id</em>, </td>
 
6119
        </tr>
 
6120
        <tr>
 
6121
          <td class="paramkey"><br>
 
6122
</td>
 
6123
          <td><br>
 
6124
</td>
 
6125
          <td class="paramtype">const unsigned int *&nbsp;</td>
 
6126
          <td class="paramname"> <em>tlv</em></td><td>&nbsp;</td>
 
6127
        </tr>
 
6128
        <tr>
 
6129
          <td><br>
 
6130
</td>
 
6131
          <td>)</td>
 
6132
          <td><br>
 
6133
</td><td><br>
 
6134
</td><td width="100%"><br>
 
6135
</td>
 
6136
        </tr>
 
6137
      </tbody></table>
 
6138
</div>
 
6139
<div class="memdoc">
 
6140
 
 
6141
<p>
 
6142
Set CTL element TLV value. 
 
6143
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
6148
    <tr><td valign="top"><br>
 
6149
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id pointer </td></tr>
 
6150
    <tr><td valign="top"><br>
 
6151
</td><td valign="top"><em>tlv</em>&nbsp;</td><td>TLV array pointer to store </td></tr>
 
6152
  </tbody></table>
 
6153
</dd></dl>
 
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>&nbsp;</td><td>on success </td></tr>
 
6158
    <tr><td valign="top"><br>
 
6159
</td><td valign="top"><em>&gt;0</em>&nbsp;</td><td>on success when value was changed </td></tr>
 
6160
    <tr><td valign="top"><br>
 
6161
</td><td valign="top"><em>&lt;0</em>&nbsp;</td><td>a negative error code </td></tr>
 
6162
  </tbody></table>
 
6163
</dd></dl>
 
6164
 
 
6165
</div>
 
6166
</div><p>
 
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">
 
6171
        <tbody><tr>
 
6172
          <td class="memname">const char* snd_ctl_elem_type_name           </td>
 
6173
          <td>(</td>
 
6174
          <td class="paramtype"><a class="el" href="group___control.html#g8b0f958478e42ae386d4812de9f557e8">snd_ctl_elem_type_t</a>&nbsp;</td>
 
6175
          <td class="paramname"> <em>type</em>          </td>
 
6176
          <td>&nbsp;)&nbsp;</td>
 
6177
          <td width="100%"><br>
 
6178
</td>
 
6179
        </tr>
 
6180
      </tbody></table>
 
6181
</div>
 
6182
<div class="memdoc">
 
6183
 
 
6184
<p>
 
6185
get name of a CTL element type 
 
6186
</p><p>
 
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>&nbsp;</td><td>CTL element type </td></tr>
 
6191
  </tbody></table>
 
6192
</dd></dl>
 
6193
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii name of CTL element type </dd></dl>
 
6194
 
 
6195
</div>
 
6196
</div><p>
 
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">
 
6201
        <tbody><tr>
 
6202
          <td class="memname">int snd_ctl_elem_unlock           </td>
 
6203
          <td>(</td>
 
6204
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
6205
          <td class="paramname"> <em>ctl</em>, </td>
 
6206
        </tr>
 
6207
        <tr>
 
6208
          <td class="paramkey"><br>
 
6209
</td>
 
6210
          <td><br>
 
6211
</td>
 
6212
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
6213
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
 
6214
        </tr>
 
6215
        <tr>
 
6216
          <td><br>
 
6217
</td>
 
6218
          <td>)</td>
 
6219
          <td><br>
 
6220
</td><td><br>
 
6221
</td><td width="100%"><br>
 
6222
</td>
 
6223
        </tr>
 
6224
      </tbody></table>
 
6225
</div>
 
6226
<div class="memdoc">
 
6227
 
 
6228
<p>
 
6229
Unlock CTL element. 
 
6230
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
6235
    <tr><td valign="top"><br>
 
6236
</td><td valign="top"><em>id</em>&nbsp;</td><td>CTL element id pointer </td></tr>
 
6237
  </tbody></table>
 
6238
</dd></dl>
 
6239
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
6240
 
 
6241
</div>
 
6242
</div><p>
 
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">
 
6247
        <tbody><tr>
 
6248
          <td class="memname">void snd_ctl_elem_value_clear           </td>
 
6249
          <td>(</td>
 
6250
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6251
          <td class="paramname"> <em>obj</em>          </td>
 
6252
          <td>&nbsp;)&nbsp;</td>
 
6253
          <td width="100%"><br>
 
6254
</td>
 
6255
        </tr>
 
6256
      </tbody></table>
 
6257
</div>
 
6258
<div class="memdoc">
 
6259
 
 
6260
<p>
 
6261
clear given <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> object 
 
6262
</p><p>
 
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>&nbsp;</td><td>pointer to object to clear </td></tr>
 
6267
  </tbody></table>
 
6268
</dd></dl>
 
6269
 
 
6270
</div>
 
6271
</div><p>
 
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">
 
6276
        <tbody><tr>
 
6277
          <td class="memname">void snd_ctl_elem_value_copy           </td>
 
6278
          <td>(</td>
 
6279
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6280
          <td class="paramname"> <em>dst</em>, </td>
 
6281
        </tr>
 
6282
        <tr>
 
6283
          <td class="paramkey"><br>
 
6284
</td>
 
6285
          <td><br>
 
6286
</td>
 
6287
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6288
          <td class="paramname"> <em>src</em></td><td>&nbsp;</td>
 
6289
        </tr>
 
6290
        <tr>
 
6291
          <td><br>
 
6292
</td>
 
6293
          <td>)</td>
 
6294
          <td><br>
 
6295
</td><td><br>
 
6296
</td><td width="100%"><br>
 
6297
</td>
 
6298
        </tr>
 
6299
      </tbody></table>
 
6300
</div>
 
6301
<div class="memdoc">
 
6302
 
 
6303
<p>
 
6304
copy one <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> to another 
 
6305
</p><p>
 
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>&nbsp;</td><td>pointer to destination </td></tr>
 
6310
    <tr><td valign="top"><br>
 
6311
</td><td valign="top"><em>src</em>&nbsp;</td><td>pointer to source </td></tr>
 
6312
  </tbody></table>
 
6313
</dd></dl>
 
6314
 
 
6315
</div>
 
6316
</div><p>
 
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">
 
6321
        <tbody><tr>
 
6322
          <td class="memname">void snd_ctl_elem_value_free           </td>
 
6323
          <td>(</td>
 
6324
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6325
          <td class="paramname"> <em>obj</em>          </td>
 
6326
          <td>&nbsp;)&nbsp;</td>
 
6327
          <td width="100%"><br>
 
6328
</td>
 
6329
        </tr>
 
6330
      </tbody></table>
 
6331
</div>
 
6332
<div class="memdoc">
 
6333
 
 
6334
<p>
 
6335
frees a previously allocated <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> 
 
6336
</p><p>
 
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>&nbsp;</td><td>pointer to object to free </td></tr>
 
6341
  </tbody></table>
 
6342
</dd></dl>
 
6343
 
 
6344
</div>
 
6345
</div><p>
 
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">
 
6350
        <tbody><tr>
 
6351
          <td class="memname">int snd_ctl_elem_value_get_boolean           </td>
 
6352
          <td>(</td>
 
6353
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6354
          <td class="paramname"> <em>obj</em>, </td>
 
6355
        </tr>
 
6356
        <tr>
 
6357
          <td class="paramkey"><br>
 
6358
</td>
 
6359
          <td><br>
 
6360
</td>
 
6361
          <td class="paramtype">unsigned int&nbsp;</td>
 
6362
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
6363
        </tr>
 
6364
        <tr>
 
6365
          <td><br>
 
6366
</td>
 
6367
          <td>)</td>
 
6368
          <td><br>
 
6369
</td><td><br>
 
6370
</td><td width="100%"><br>
 
6371
</td>
 
6372
        </tr>
 
6373
      </tbody></table>
 
6374
</div>
 
6375
<div class="memdoc">
 
6376
 
 
6377
<p>
 
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. 
 
6379
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6384
    <tr><td valign="top"><br>
 
6385
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
6386
  </tbody></table>
 
6387
</dd></dl>
 
6388
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
 
6389
 
 
6390
</div>
 
6391
</div><p>
 
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">
 
6396
        <tbody><tr>
 
6397
          <td class="memname">unsigned char snd_ctl_elem_value_get_byte           </td>
 
6398
          <td>(</td>
 
6399
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6400
          <td class="paramname"> <em>obj</em>, </td>
 
6401
        </tr>
 
6402
        <tr>
 
6403
          <td class="paramkey"><br>
 
6404
</td>
 
6405
          <td><br>
 
6406
</td>
 
6407
          <td class="paramtype">unsigned int&nbsp;</td>
 
6408
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
6409
        </tr>
 
6410
        <tr>
 
6411
          <td><br>
 
6412
</td>
 
6413
          <td>)</td>
 
6414
          <td><br>
 
6415
</td><td><br>
 
6416
</td><td width="100%"><br>
 
6417
</td>
 
6418
        </tr>
 
6419
      </tbody></table>
 
6420
</div>
 
6421
<div class="memdoc">
 
6422
 
 
6423
<p>
 
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. 
 
6425
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6430
    <tr><td valign="top"><br>
 
6431
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
6432
  </tbody></table>
 
6433
</dd></dl>
 
6434
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
 
6435
 
 
6436
</div>
 
6437
</div><p>
 
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">
 
6442
        <tbody><tr>
 
6443
          <td class="memname">const void* snd_ctl_elem_value_get_bytes           </td>
 
6444
          <td>(</td>
 
6445
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6446
          <td class="paramname"> <em>obj</em>          </td>
 
6447
          <td>&nbsp;)&nbsp;</td>
 
6448
          <td width="100%"><br>
 
6449
</td>
 
6450
        </tr>
 
6451
      </tbody></table>
 
6452
</div>
 
6453
<div class="memdoc">
 
6454
 
 
6455
<p>
 
6456
Get value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31473ff1a037550109a6501580d0e7a083c8">SND_CTL_ELEM_TYPE_BYTES</a> CTL element id/value. 
 
6457
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6462
  </tbody></table>
 
6463
</dd></dl>
 
6464
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>Pointer to CTL element value </dd></dl>
 
6465
 
 
6466
</div>
 
6467
</div><p>
 
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">
 
6472
        <tbody><tr>
 
6473
          <td class="memname">unsigned int snd_ctl_elem_value_get_device           </td>
 
6474
          <td>(</td>
 
6475
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6476
          <td class="paramname"> <em>obj</em>          </td>
 
6477
          <td>&nbsp;)&nbsp;</td>
 
6478
          <td width="100%"><br>
 
6479
</td>
 
6480
        </tr>
 
6481
      </tbody></table>
 
6482
</div>
 
6483
<div class="memdoc">
 
6484
 
 
6485
<p>
 
6486
Get device part of CTL element identifier of a CTL element id/value. 
 
6487
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6492
  </tbody></table>
 
6493
</dd></dl>
 
6494
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>device part of element identifier </dd></dl>
 
6495
 
 
6496
</div>
 
6497
</div><p>
 
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">
 
6502
        <tbody><tr>
 
6503
          <td class="memname">unsigned int snd_ctl_elem_value_get_enumerated           </td>
 
6504
          <td>(</td>
 
6505
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6506
          <td class="paramname"> <em>obj</em>, </td>
 
6507
        </tr>
 
6508
        <tr>
 
6509
          <td class="paramkey"><br>
 
6510
</td>
 
6511
          <td><br>
 
6512
</td>
 
6513
          <td class="paramtype">unsigned int&nbsp;</td>
 
6514
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
6515
        </tr>
 
6516
        <tr>
 
6517
          <td><br>
 
6518
</td>
 
6519
          <td>)</td>
 
6520
          <td><br>
 
6521
</td><td><br>
 
6522
</td><td width="100%"><br>
 
6523
</td>
 
6524
        </tr>
 
6525
      </tbody></table>
 
6526
</div>
 
6527
<div class="memdoc">
 
6528
 
 
6529
<p>
 
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. 
 
6531
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6536
    <tr><td valign="top"><br>
 
6537
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
6538
  </tbody></table>
 
6539
</dd></dl>
 
6540
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
 
6541
 
 
6542
</div>
 
6543
</div><p>
 
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">
 
6548
        <tbody><tr>
 
6549
          <td class="memname">void snd_ctl_elem_value_get_id           </td>
 
6550
          <td>(</td>
 
6551
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6552
          <td class="paramname"> <em>obj</em>, </td>
 
6553
        </tr>
 
6554
        <tr>
 
6555
          <td class="paramkey"><br>
 
6556
</td>
 
6557
          <td><br>
 
6558
</td>
 
6559
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
6560
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
6561
        </tr>
 
6562
        <tr>
 
6563
          <td><br>
 
6564
</td>
 
6565
          <td>)</td>
 
6566
          <td><br>
 
6567
</td><td><br>
 
6568
</td><td width="100%"><br>
 
6569
</td>
 
6570
        </tr>
 
6571
      </tbody></table>
 
6572
</div>
 
6573
<div class="memdoc">
 
6574
 
 
6575
<p>
 
6576
Get CTL element identifier of a CTL element id/value. 
 
6577
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6582
    <tr><td valign="top"><br>
 
6583
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>Pointer to returned CTL element identifier </td></tr>
 
6584
  </tbody></table>
 
6585
</dd></dl>
 
6586
 
 
6587
</div>
 
6588
</div><p>
 
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">
 
6593
        <tbody><tr>
 
6594
          <td class="memname">void snd_ctl_elem_value_get_iec958           </td>
 
6595
          <td>(</td>
 
6596
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6597
          <td class="paramname"> <em>obj</em>, </td>
 
6598
        </tr>
 
6599
        <tr>
 
6600
          <td class="paramkey"><br>
 
6601
</td>
 
6602
          <td><br>
 
6603
</td>
 
6604
          <td class="paramtype"><a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> *&nbsp;</td>
 
6605
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
6606
        </tr>
 
6607
        <tr>
 
6608
          <td><br>
 
6609
</td>
 
6610
          <td>)</td>
 
6611
          <td><br>
 
6612
</td><td><br>
 
6613
</td><td width="100%"><br>
 
6614
</td>
 
6615
        </tr>
 
6616
      </tbody></table>
 
6617
</div>
 
6618
<div class="memdoc">
 
6619
 
 
6620
<p>
 
6621
Get value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a> CTL element id/value. 
 
6622
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6627
    <tr><td valign="top"><br>
 
6628
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>Pointer to returned CTL element value </td></tr>
 
6629
  </tbody></table>
 
6630
</dd></dl>
 
6631
 
 
6632
</div>
 
6633
</div><p>
 
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">
 
6638
        <tbody><tr>
 
6639
          <td class="memname">unsigned int snd_ctl_elem_value_get_index           </td>
 
6640
          <td>(</td>
 
6641
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6642
          <td class="paramname"> <em>obj</em>          </td>
 
6643
          <td>&nbsp;)&nbsp;</td>
 
6644
          <td width="100%"><br>
 
6645
</td>
 
6646
        </tr>
 
6647
      </tbody></table>
 
6648
</div>
 
6649
<div class="memdoc">
 
6650
 
 
6651
<p>
 
6652
Get index part of CTL element identifier of a CTL element id/value. 
 
6653
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6658
  </tbody></table>
 
6659
</dd></dl>
 
6660
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>index part of element identifier </dd></dl>
 
6661
 
 
6662
</div>
 
6663
</div><p>
 
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">
 
6668
        <tbody><tr>
 
6669
          <td class="memname">long snd_ctl_elem_value_get_integer           </td>
 
6670
          <td>(</td>
 
6671
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6672
          <td class="paramname"> <em>obj</em>, </td>
 
6673
        </tr>
 
6674
        <tr>
 
6675
          <td class="paramkey"><br>
 
6676
</td>
 
6677
          <td><br>
 
6678
</td>
 
6679
          <td class="paramtype">unsigned int&nbsp;</td>
 
6680
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
6681
        </tr>
 
6682
        <tr>
 
6683
          <td><br>
 
6684
</td>
 
6685
          <td>)</td>
 
6686
          <td><br>
 
6687
</td><td><br>
 
6688
</td><td width="100%"><br>
 
6689
</td>
 
6690
        </tr>
 
6691
      </tbody></table>
 
6692
</div>
 
6693
<div class="memdoc">
 
6694
 
 
6695
<p>
 
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. 
 
6697
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6702
    <tr><td valign="top"><br>
 
6703
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
6704
  </tbody></table>
 
6705
</dd></dl>
 
6706
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
 
6707
 
 
6708
</div>
 
6709
</div><p>
 
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">
 
6714
        <tbody><tr>
 
6715
          <td class="memname">long long snd_ctl_elem_value_get_integer64           </td>
 
6716
          <td>(</td>
 
6717
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6718
          <td class="paramname"> <em>obj</em>, </td>
 
6719
        </tr>
 
6720
        <tr>
 
6721
          <td class="paramkey"><br>
 
6722
</td>
 
6723
          <td><br>
 
6724
</td>
 
6725
          <td class="paramtype">unsigned int&nbsp;</td>
 
6726
          <td class="paramname"> <em>idx</em></td><td>&nbsp;</td>
 
6727
        </tr>
 
6728
        <tr>
 
6729
          <td><br>
 
6730
</td>
 
6731
          <td>)</td>
 
6732
          <td><br>
 
6733
</td><td><br>
 
6734
</td><td width="100%"><br>
 
6735
</td>
 
6736
        </tr>
 
6737
      </tbody></table>
 
6738
</div>
 
6739
<div class="memdoc">
 
6740
 
 
6741
<p>
 
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. 
 
6743
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6748
    <tr><td valign="top"><br>
 
6749
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
6750
  </tbody></table>
 
6751
</dd></dl>
 
6752
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>value for the entry </dd></dl>
 
6753
 
 
6754
</div>
 
6755
</div><p>
 
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">
 
6760
        <tbody><tr>
 
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>
 
6762
          <td>(</td>
 
6763
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6764
          <td class="paramname"> <em>obj</em>          </td>
 
6765
          <td>&nbsp;)&nbsp;</td>
 
6766
          <td width="100%"><br>
 
6767
</td>
 
6768
        </tr>
 
6769
      </tbody></table>
 
6770
</div>
 
6771
<div class="memdoc">
 
6772
 
 
6773
<p>
 
6774
Get interface part of CTL element identifier of a CTL element id/value. 
 
6775
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6780
  </tbody></table>
 
6781
</dd></dl>
 
6782
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>interface part of element identifier </dd></dl>
 
6783
 
 
6784
</div>
 
6785
</div><p>
 
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">
 
6790
        <tbody><tr>
 
6791
          <td class="memname">const char* snd_ctl_elem_value_get_name           </td>
 
6792
          <td>(</td>
 
6793
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6794
          <td class="paramname"> <em>obj</em>          </td>
 
6795
          <td>&nbsp;)&nbsp;</td>
 
6796
          <td width="100%"><br>
 
6797
</td>
 
6798
        </tr>
 
6799
      </tbody></table>
 
6800
</div>
 
6801
<div class="memdoc">
 
6802
 
 
6803
<p>
 
6804
Get name part of CTL element identifier of a CTL element id/value. 
 
6805
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6810
  </tbody></table>
 
6811
</dd></dl>
 
6812
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name part of element identifier </dd></dl>
 
6813
 
 
6814
</div>
 
6815
</div><p>
 
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">
 
6820
        <tbody><tr>
 
6821
          <td class="memname">unsigned int snd_ctl_elem_value_get_numid           </td>
 
6822
          <td>(</td>
 
6823
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6824
          <td class="paramname"> <em>obj</em>          </td>
 
6825
          <td>&nbsp;)&nbsp;</td>
 
6826
          <td width="100%"><br>
 
6827
</td>
 
6828
        </tr>
 
6829
      </tbody></table>
 
6830
</div>
 
6831
<div class="memdoc">
 
6832
 
 
6833
<p>
 
6834
Get element numeric identifier of a CTL element id/value. 
 
6835
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6840
  </tbody></table>
 
6841
</dd></dl>
 
6842
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>element numeric identifier </dd></dl>
 
6843
 
 
6844
</div>
 
6845
</div><p>
 
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">
 
6850
        <tbody><tr>
 
6851
          <td class="memname">unsigned int snd_ctl_elem_value_get_subdevice           </td>
 
6852
          <td>(</td>
 
6853
          <td class="paramtype">const <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6854
          <td class="paramname"> <em>obj</em>          </td>
 
6855
          <td>&nbsp;)&nbsp;</td>
 
6856
          <td width="100%"><br>
 
6857
</td>
 
6858
        </tr>
 
6859
      </tbody></table>
 
6860
</div>
 
6861
<div class="memdoc">
 
6862
 
 
6863
<p>
 
6864
Get subdevice part of CTL element identifier of a CTL element id/value. 
 
6865
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6870
  </tbody></table>
 
6871
</dd></dl>
 
6872
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>subdevice part of element identifier </dd></dl>
 
6873
 
 
6874
</div>
 
6875
</div><p>
 
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">
 
6880
        <tbody><tr>
 
6881
          <td class="memname">int snd_ctl_elem_value_malloc           </td>
 
6882
          <td>(</td>
 
6883
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> **&nbsp;</td>
 
6884
          <td class="paramname"> <em>ptr</em>          </td>
 
6885
          <td>&nbsp;)&nbsp;</td>
 
6886
          <td width="100%"><br>
 
6887
</td>
 
6888
        </tr>
 
6889
      </tbody></table>
 
6890
</div>
 
6891
<div class="memdoc">
 
6892
 
 
6893
<p>
 
6894
allocate an invalid <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> using standard malloc 
 
6895
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
6900
  </tbody></table>
 
6901
</dd></dl>
 
6902
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
 
6903
 
 
6904
</div>
 
6905
</div><p>
 
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">
 
6910
        <tbody><tr>
 
6911
          <td class="memname">void snd_ctl_elem_value_set_boolean           </td>
 
6912
          <td>(</td>
 
6913
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6914
          <td class="paramname"> <em>obj</em>, </td>
 
6915
        </tr>
 
6916
        <tr>
 
6917
          <td class="paramkey"><br>
 
6918
</td>
 
6919
          <td><br>
 
6920
</td>
 
6921
          <td class="paramtype">unsigned int&nbsp;</td>
 
6922
          <td class="paramname"> <em>idx</em>, </td>
 
6923
        </tr>
 
6924
        <tr>
 
6925
          <td class="paramkey"><br>
 
6926
</td>
 
6927
          <td><br>
 
6928
</td>
 
6929
          <td class="paramtype">long&nbsp;</td>
 
6930
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
6931
        </tr>
 
6932
        <tr>
 
6933
          <td><br>
 
6934
</td>
 
6935
          <td>)</td>
 
6936
          <td><br>
 
6937
</td><td><br>
 
6938
</td><td width="100%"><br>
 
6939
</td>
 
6940
        </tr>
 
6941
      </tbody></table>
 
6942
</div>
 
6943
<div class="memdoc">
 
6944
 
 
6945
<p>
 
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. 
 
6947
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
6952
    <tr><td valign="top"><br>
 
6953
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
6954
    <tr><td valign="top"><br>
 
6955
</td><td valign="top"><em>val</em>&nbsp;</td><td>value for the entry </td></tr>
 
6956
  </tbody></table>
 
6957
</dd></dl>
 
6958
 
 
6959
</div>
 
6960
</div><p>
 
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">
 
6965
        <tbody><tr>
 
6966
          <td class="memname">void snd_ctl_elem_value_set_byte           </td>
 
6967
          <td>(</td>
 
6968
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
6969
          <td class="paramname"> <em>obj</em>, </td>
 
6970
        </tr>
 
6971
        <tr>
 
6972
          <td class="paramkey"><br>
 
6973
</td>
 
6974
          <td><br>
 
6975
</td>
 
6976
          <td class="paramtype">unsigned int&nbsp;</td>
 
6977
          <td class="paramname"> <em>idx</em>, </td>
 
6978
        </tr>
 
6979
        <tr>
 
6980
          <td class="paramkey"><br>
 
6981
</td>
 
6982
          <td><br>
 
6983
</td>
 
6984
          <td class="paramtype">unsigned char&nbsp;</td>
 
6985
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
6986
        </tr>
 
6987
        <tr>
 
6988
          <td><br>
 
6989
</td>
 
6990
          <td>)</td>
 
6991
          <td><br>
 
6992
</td><td><br>
 
6993
</td><td width="100%"><br>
 
6994
</td>
 
6995
        </tr>
 
6996
      </tbody></table>
 
6997
</div>
 
6998
<div class="memdoc">
 
6999
 
 
7000
<p>
 
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. 
 
7002
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7007
    <tr><td valign="top"><br>
 
7008
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
7009
    <tr><td valign="top"><br>
 
7010
</td><td valign="top"><em>val</em>&nbsp;</td><td>value for the entry </td></tr>
 
7011
  </tbody></table>
 
7012
</dd></dl>
 
7013
 
 
7014
</div>
 
7015
</div><p>
 
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">
 
7020
        <tbody><tr>
 
7021
          <td class="memname">void snd_ctl_elem_value_set_device           </td>
 
7022
          <td>(</td>
 
7023
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7024
          <td class="paramname"> <em>obj</em>, </td>
 
7025
        </tr>
 
7026
        <tr>
 
7027
          <td class="paramkey"><br>
 
7028
</td>
 
7029
          <td><br>
 
7030
</td>
 
7031
          <td class="paramtype">unsigned int&nbsp;</td>
 
7032
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7033
        </tr>
 
7034
        <tr>
 
7035
          <td><br>
 
7036
</td>
 
7037
          <td>)</td>
 
7038
          <td><br>
 
7039
</td><td><br>
 
7040
</td><td width="100%"><br>
 
7041
</td>
 
7042
        </tr>
 
7043
      </tbody></table>
 
7044
</div>
 
7045
<div class="memdoc">
 
7046
 
 
7047
<p>
 
7048
Set device part of CTL element identifier of a CTL element id/value. 
 
7049
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7054
    <tr><td valign="top"><br>
 
7055
</td><td valign="top"><em>val</em>&nbsp;</td><td>device part of element identifier </td></tr>
 
7056
  </tbody></table>
 
7057
</dd></dl>
 
7058
 
 
7059
</div>
 
7060
</div><p>
 
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">
 
7065
        <tbody><tr>
 
7066
          <td class="memname">void snd_ctl_elem_value_set_enumerated           </td>
 
7067
          <td>(</td>
 
7068
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7069
          <td class="paramname"> <em>obj</em>, </td>
 
7070
        </tr>
 
7071
        <tr>
 
7072
          <td class="paramkey"><br>
 
7073
</td>
 
7074
          <td><br>
 
7075
</td>
 
7076
          <td class="paramtype">unsigned int&nbsp;</td>
 
7077
          <td class="paramname"> <em>idx</em>, </td>
 
7078
        </tr>
 
7079
        <tr>
 
7080
          <td class="paramkey"><br>
 
7081
</td>
 
7082
          <td><br>
 
7083
</td>
 
7084
          <td class="paramtype">unsigned int&nbsp;</td>
 
7085
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7086
        </tr>
 
7087
        <tr>
 
7088
          <td><br>
 
7089
</td>
 
7090
          <td>)</td>
 
7091
          <td><br>
 
7092
</td><td><br>
 
7093
</td><td width="100%"><br>
 
7094
</td>
 
7095
        </tr>
 
7096
      </tbody></table>
 
7097
</div>
 
7098
<div class="memdoc">
 
7099
 
 
7100
<p>
 
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. 
 
7102
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7107
    <tr><td valign="top"><br>
 
7108
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
7109
    <tr><td valign="top"><br>
 
7110
</td><td valign="top"><em>val</em>&nbsp;</td><td>value for the entry </td></tr>
 
7111
  </tbody></table>
 
7112
</dd></dl>
 
7113
 
 
7114
</div>
 
7115
</div><p>
 
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">
 
7120
        <tbody><tr>
 
7121
          <td class="memname">void snd_ctl_elem_value_set_id           </td>
 
7122
          <td>(</td>
 
7123
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7124
          <td class="paramname"> <em>obj</em>, </td>
 
7125
        </tr>
 
7126
        <tr>
 
7127
          <td class="paramkey"><br>
 
7128
</td>
 
7129
          <td><br>
 
7130
</td>
 
7131
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
7132
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
7133
        </tr>
 
7134
        <tr>
 
7135
          <td><br>
 
7136
</td>
 
7137
          <td>)</td>
 
7138
          <td><br>
 
7139
</td><td><br>
 
7140
</td><td width="100%"><br>
 
7141
</td>
 
7142
        </tr>
 
7143
      </tbody></table>
 
7144
</div>
 
7145
<div class="memdoc">
 
7146
 
 
7147
<p>
 
7148
Set CTL element identifier of a CTL element id/value. 
 
7149
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7154
    <tr><td valign="top"><br>
 
7155
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>CTL element identifier </td></tr>
 
7156
  </tbody></table>
 
7157
</dd></dl>
 
7158
 
 
7159
</div>
 
7160
</div><p>
 
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">
 
7165
        <tbody><tr>
 
7166
          <td class="memname">void snd_ctl_elem_value_set_iec958           </td>
 
7167
          <td>(</td>
 
7168
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7169
          <td class="paramname"> <em>obj</em>, </td>
 
7170
        </tr>
 
7171
        <tr>
 
7172
          <td class="paramkey"><br>
 
7173
</td>
 
7174
          <td><br>
 
7175
</td>
 
7176
          <td class="paramtype">const <a class="el" href="structsnd__aes__iec958.html">snd_aes_iec958_t</a> *&nbsp;</td>
 
7177
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
7178
        </tr>
 
7179
        <tr>
 
7180
          <td><br>
 
7181
</td>
 
7182
          <td>)</td>
 
7183
          <td><br>
 
7184
</td><td><br>
 
7185
</td><td width="100%"><br>
 
7186
</td>
 
7187
        </tr>
 
7188
      </tbody></table>
 
7189
</div>
 
7190
<div class="memdoc">
 
7191
 
 
7192
<p>
 
7193
Set value for a <a class="el" href="group___control.html#gg687044a5222c1292cca47941081e31474794db2c2b7cc3a29038478cdec1a8ca">SND_CTL_ELEM_TYPE_IEC958</a> CTL element id/value. 
 
7194
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7199
    <tr><td valign="top"><br>
 
7200
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>Pointer to CTL element value </td></tr>
 
7201
  </tbody></table>
 
7202
</dd></dl>
 
7203
 
 
7204
</div>
 
7205
</div><p>
 
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">
 
7210
        <tbody><tr>
 
7211
          <td class="memname">void snd_ctl_elem_value_set_index           </td>
 
7212
          <td>(</td>
 
7213
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7214
          <td class="paramname"> <em>obj</em>, </td>
 
7215
        </tr>
 
7216
        <tr>
 
7217
          <td class="paramkey"><br>
 
7218
</td>
 
7219
          <td><br>
 
7220
</td>
 
7221
          <td class="paramtype">unsigned int&nbsp;</td>
 
7222
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7223
        </tr>
 
7224
        <tr>
 
7225
          <td><br>
 
7226
</td>
 
7227
          <td>)</td>
 
7228
          <td><br>
 
7229
</td><td><br>
 
7230
</td><td width="100%"><br>
 
7231
</td>
 
7232
        </tr>
 
7233
      </tbody></table>
 
7234
</div>
 
7235
<div class="memdoc">
 
7236
 
 
7237
<p>
 
7238
Set index part of CTL element identifier of a CTL element id/value. 
 
7239
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7244
    <tr><td valign="top"><br>
 
7245
</td><td valign="top"><em>val</em>&nbsp;</td><td>index part of element identifier </td></tr>
 
7246
  </tbody></table>
 
7247
</dd></dl>
 
7248
 
 
7249
</div>
 
7250
</div><p>
 
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">
 
7255
        <tbody><tr>
 
7256
          <td class="memname">void snd_ctl_elem_value_set_integer           </td>
 
7257
          <td>(</td>
 
7258
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7259
          <td class="paramname"> <em>obj</em>, </td>
 
7260
        </tr>
 
7261
        <tr>
 
7262
          <td class="paramkey"><br>
 
7263
</td>
 
7264
          <td><br>
 
7265
</td>
 
7266
          <td class="paramtype">unsigned int&nbsp;</td>
 
7267
          <td class="paramname"> <em>idx</em>, </td>
 
7268
        </tr>
 
7269
        <tr>
 
7270
          <td class="paramkey"><br>
 
7271
</td>
 
7272
          <td><br>
 
7273
</td>
 
7274
          <td class="paramtype">long&nbsp;</td>
 
7275
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7276
        </tr>
 
7277
        <tr>
 
7278
          <td><br>
 
7279
</td>
 
7280
          <td>)</td>
 
7281
          <td><br>
 
7282
</td><td><br>
 
7283
</td><td width="100%"><br>
 
7284
</td>
 
7285
        </tr>
 
7286
      </tbody></table>
 
7287
</div>
 
7288
<div class="memdoc">
 
7289
 
 
7290
<p>
 
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. 
 
7292
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7297
    <tr><td valign="top"><br>
 
7298
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
7299
    <tr><td valign="top"><br>
 
7300
</td><td valign="top"><em>val</em>&nbsp;</td><td>value for the entry </td></tr>
 
7301
  </tbody></table>
 
7302
</dd></dl>
 
7303
 
 
7304
</div>
 
7305
</div><p>
 
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">
 
7310
        <tbody><tr>
 
7311
          <td class="memname">void snd_ctl_elem_value_set_integer64           </td>
 
7312
          <td>(</td>
 
7313
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7314
          <td class="paramname"> <em>obj</em>, </td>
 
7315
        </tr>
 
7316
        <tr>
 
7317
          <td class="paramkey"><br>
 
7318
</td>
 
7319
          <td><br>
 
7320
</td>
 
7321
          <td class="paramtype">unsigned int&nbsp;</td>
 
7322
          <td class="paramname"> <em>idx</em>, </td>
 
7323
        </tr>
 
7324
        <tr>
 
7325
          <td class="paramkey"><br>
 
7326
</td>
 
7327
          <td><br>
 
7328
</td>
 
7329
          <td class="paramtype">long long&nbsp;</td>
 
7330
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7331
        </tr>
 
7332
        <tr>
 
7333
          <td><br>
 
7334
</td>
 
7335
          <td>)</td>
 
7336
          <td><br>
 
7337
</td><td><br>
 
7338
</td><td width="100%"><br>
 
7339
</td>
 
7340
        </tr>
 
7341
      </tbody></table>
 
7342
</div>
 
7343
<div class="memdoc">
 
7344
 
 
7345
<p>
 
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. 
 
7347
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7352
    <tr><td valign="top"><br>
 
7353
</td><td valign="top"><em>idx</em>&nbsp;</td><td>Entry index </td></tr>
 
7354
    <tr><td valign="top"><br>
 
7355
</td><td valign="top"><em>val</em>&nbsp;</td><td>value for the entry </td></tr>
 
7356
  </tbody></table>
 
7357
</dd></dl>
 
7358
 
 
7359
</div>
 
7360
</div><p>
 
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">
 
7365
        <tbody><tr>
 
7366
          <td class="memname">void snd_ctl_elem_value_set_interface           </td>
 
7367
          <td>(</td>
 
7368
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7369
          <td class="paramname"> <em>obj</em>, </td>
 
7370
        </tr>
 
7371
        <tr>
 
7372
          <td class="paramkey"><br>
 
7373
</td>
 
7374
          <td><br>
 
7375
</td>
 
7376
          <td class="paramtype"><a class="el" href="group___control.html#gefabc042466e044251ea9990c94d46a6">snd_ctl_elem_iface_t</a>&nbsp;</td>
 
7377
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7378
        </tr>
 
7379
        <tr>
 
7380
          <td><br>
 
7381
</td>
 
7382
          <td>)</td>
 
7383
          <td><br>
 
7384
</td><td><br>
 
7385
</td><td width="100%"><br>
 
7386
</td>
 
7387
        </tr>
 
7388
      </tbody></table>
 
7389
</div>
 
7390
<div class="memdoc">
 
7391
 
 
7392
<p>
 
7393
Set interface part of CTL element identifier of a CTL element id/value. 
 
7394
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7399
    <tr><td valign="top"><br>
 
7400
</td><td valign="top"><em>val</em>&nbsp;</td><td>interface part of element identifier </td></tr>
 
7401
  </tbody></table>
 
7402
</dd></dl>
 
7403
 
 
7404
</div>
 
7405
</div><p>
 
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">
 
7410
        <tbody><tr>
 
7411
          <td class="memname">void snd_ctl_elem_value_set_name           </td>
 
7412
          <td>(</td>
 
7413
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7414
          <td class="paramname"> <em>obj</em>, </td>
 
7415
        </tr>
 
7416
        <tr>
 
7417
          <td class="paramkey"><br>
 
7418
</td>
 
7419
          <td><br>
 
7420
</td>
 
7421
          <td class="paramtype">const char *&nbsp;</td>
 
7422
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7423
        </tr>
 
7424
        <tr>
 
7425
          <td><br>
 
7426
</td>
 
7427
          <td>)</td>
 
7428
          <td><br>
 
7429
</td><td><br>
 
7430
</td><td width="100%"><br>
 
7431
</td>
 
7432
        </tr>
 
7433
      </tbody></table>
 
7434
</div>
 
7435
<div class="memdoc">
 
7436
 
 
7437
<p>
 
7438
Set name part of CTL element identifier of a CTL element id/value. 
 
7439
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7444
    <tr><td valign="top"><br>
 
7445
</td><td valign="top"><em>val</em>&nbsp;</td><td>name part of element identifier </td></tr>
 
7446
  </tbody></table>
 
7447
</dd></dl>
 
7448
 
 
7449
</div>
 
7450
</div><p>
 
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">
 
7455
        <tbody><tr>
 
7456
          <td class="memname">void snd_ctl_elem_value_set_numid           </td>
 
7457
          <td>(</td>
 
7458
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7459
          <td class="paramname"> <em>obj</em>, </td>
 
7460
        </tr>
 
7461
        <tr>
 
7462
          <td class="paramkey"><br>
 
7463
</td>
 
7464
          <td><br>
 
7465
</td>
 
7466
          <td class="paramtype">unsigned int&nbsp;</td>
 
7467
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7468
        </tr>
 
7469
        <tr>
 
7470
          <td><br>
 
7471
</td>
 
7472
          <td>)</td>
 
7473
          <td><br>
 
7474
</td><td><br>
 
7475
</td><td width="100%"><br>
 
7476
</td>
 
7477
        </tr>
 
7478
      </tbody></table>
 
7479
</div>
 
7480
<div class="memdoc">
 
7481
 
 
7482
<p>
 
7483
Set element numeric identifier of a CTL element id/value. 
 
7484
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7489
    <tr><td valign="top"><br>
 
7490
</td><td valign="top"><em>val</em>&nbsp;</td><td>element numeric identifier </td></tr>
 
7491
  </tbody></table>
 
7492
</dd></dl>
 
7493
 
 
7494
</div>
 
7495
</div><p>
 
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">
 
7500
        <tbody><tr>
 
7501
          <td class="memname">void snd_ctl_elem_value_set_subdevice           </td>
 
7502
          <td>(</td>
 
7503
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7504
          <td class="paramname"> <em>obj</em>, </td>
 
7505
        </tr>
 
7506
        <tr>
 
7507
          <td class="paramkey"><br>
 
7508
</td>
 
7509
          <td><br>
 
7510
</td>
 
7511
          <td class="paramtype">unsigned int&nbsp;</td>
 
7512
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
7513
        </tr>
 
7514
        <tr>
 
7515
          <td><br>
 
7516
</td>
 
7517
          <td>)</td>
 
7518
          <td><br>
 
7519
</td><td><br>
 
7520
</td><td width="100%"><br>
 
7521
</td>
 
7522
        </tr>
 
7523
      </tbody></table>
 
7524
</div>
 
7525
<div class="memdoc">
 
7526
 
 
7527
<p>
 
7528
Set subdevice part of CTL element identifier of a CTL element id/value. 
 
7529
</p><p>
 
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>&nbsp;</td><td>CTL element id/value </td></tr>
 
7534
    <tr><td valign="top"><br>
 
7535
</td><td valign="top"><em>val</em>&nbsp;</td><td>subdevice part of element identifier </td></tr>
 
7536
  </tbody></table>
 
7537
</dd></dl>
 
7538
 
 
7539
</div>
 
7540
</div><p>
 
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">
 
7545
        <tbody><tr>
 
7546
          <td class="memname">size_t snd_ctl_elem_value_sizeof           </td>
 
7547
          <td>(</td>
 
7548
          <td class="paramtype">void&nbsp;</td>
 
7549
          <td class="paramname">          <br>
 
7550
</td>
 
7551
          <td>&nbsp;)&nbsp;</td>
 
7552
          <td width="100%"><br>
 
7553
</td>
 
7554
        </tr>
 
7555
      </tbody></table>
 
7556
</div>
 
7557
<div class="memdoc">
 
7558
 
 
7559
<p>
 
7560
get size of <a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> 
 
7561
</p><p>
 
7562
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
 
7563
 
 
7564
</div>
 
7565
</div><p>
 
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">
 
7570
        <tbody><tr>
 
7571
          <td class="memname">int snd_ctl_elem_write           </td>
 
7572
          <td>(</td>
 
7573
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
7574
          <td class="paramname"> <em>ctl</em>, </td>
 
7575
        </tr>
 
7576
        <tr>
 
7577
          <td class="paramkey"><br>
 
7578
</td>
 
7579
          <td><br>
 
7580
</td>
 
7581
          <td class="paramtype"><a class="el" href="group___control.html#gdd89a5786a02a3f42d579c064c15221c">snd_ctl_elem_value_t</a> *&nbsp;</td>
 
7582
          <td class="paramname"> <em>control</em></td><td>&nbsp;</td>
 
7583
        </tr>
 
7584
        <tr>
 
7585
          <td><br>
 
7586
</td>
 
7587
          <td>)</td>
 
7588
          <td><br>
 
7589
</td><td><br>
 
7590
</td><td width="100%"><br>
 
7591
</td>
 
7592
        </tr>
 
7593
      </tbody></table>
 
7594
</div>
 
7595
<div class="memdoc">
 
7596
 
 
7597
<p>
 
7598
Set CTL element value. 
 
7599
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
7604
    <tr><td valign="top"><br>
 
7605
</td><td valign="top"><em>control</em>&nbsp;</td><td>CTL element id/value pointer </td></tr>
 
7606
  </tbody></table>
 
7607
</dd></dl>
 
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>&nbsp;</td><td>on success </td></tr>
 
7612
    <tr><td valign="top"><br>
 
7613
</td><td valign="top"><em>&gt;0</em>&nbsp;</td><td>on success when value was changed </td></tr>
 
7614
    <tr><td valign="top"><br>
 
7615
</td><td valign="top"><em>&lt;0</em>&nbsp;</td><td>a negative error code </td></tr>
 
7616
  </tbody></table>
 
7617
</dd></dl>
 
7618
 
 
7619
</div>
 
7620
</div><p>
 
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">
 
7625
        <tbody><tr>
 
7626
          <td class="memname">void snd_ctl_event_clear           </td>
 
7627
          <td>(</td>
 
7628
          <td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7629
          <td class="paramname"> <em>obj</em>          </td>
 
7630
          <td>&nbsp;)&nbsp;</td>
 
7631
          <td width="100%"><br>
 
7632
</td>
 
7633
        </tr>
 
7634
      </tbody></table>
 
7635
</div>
 
7636
<div class="memdoc">
 
7637
 
 
7638
<p>
 
7639
clear given <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> object 
 
7640
</p><p>
 
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>&nbsp;</td><td>pointer to object to clear </td></tr>
 
7645
  </tbody></table>
 
7646
</dd></dl>
 
7647
 
 
7648
</div>
 
7649
</div><p>
 
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">
 
7654
        <tbody><tr>
 
7655
          <td class="memname">void snd_ctl_event_copy           </td>
 
7656
          <td>(</td>
 
7657
          <td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7658
          <td class="paramname"> <em>dst</em>, </td>
 
7659
        </tr>
 
7660
        <tr>
 
7661
          <td class="paramkey"><br>
 
7662
</td>
 
7663
          <td><br>
 
7664
</td>
 
7665
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7666
          <td class="paramname"> <em>src</em></td><td>&nbsp;</td>
 
7667
        </tr>
 
7668
        <tr>
 
7669
          <td><br>
 
7670
</td>
 
7671
          <td>)</td>
 
7672
          <td><br>
 
7673
</td><td><br>
 
7674
</td><td width="100%"><br>
 
7675
</td>
 
7676
        </tr>
 
7677
      </tbody></table>
 
7678
</div>
 
7679
<div class="memdoc">
 
7680
 
 
7681
<p>
 
7682
copy one <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> to another 
 
7683
</p><p>
 
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>&nbsp;</td><td>pointer to destination </td></tr>
 
7688
    <tr><td valign="top"><br>
 
7689
</td><td valign="top"><em>src</em>&nbsp;</td><td>pointer to source </td></tr>
 
7690
  </tbody></table>
 
7691
</dd></dl>
 
7692
 
 
7693
</div>
 
7694
</div><p>
 
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">
 
7699
        <tbody><tr>
 
7700
          <td class="memname">unsigned int snd_ctl_event_elem_get_device           </td>
 
7701
          <td>(</td>
 
7702
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7703
          <td class="paramname"> <em>obj</em>          </td>
 
7704
          <td>&nbsp;)&nbsp;</td>
 
7705
          <td width="100%"><br>
 
7706
</td>
 
7707
        </tr>
 
7708
      </tbody></table>
 
7709
</div>
 
7710
<div class="memdoc">
 
7711
 
 
7712
<p>
 
7713
Get device part of CTL element identifier for an element related event. 
 
7714
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7719
  </tbody></table>
 
7720
</dd></dl>
 
7721
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>device part of element identifier </dd></dl>
 
7722
 
 
7723
</div>
 
7724
</div><p>
 
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">
 
7729
        <tbody><tr>
 
7730
          <td class="memname">void snd_ctl_event_elem_get_id           </td>
 
7731
          <td>(</td>
 
7732
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7733
          <td class="paramname"> <em>obj</em>, </td>
 
7734
        </tr>
 
7735
        <tr>
 
7736
          <td class="paramkey"><br>
 
7737
</td>
 
7738
          <td><br>
 
7739
</td>
 
7740
          <td class="paramtype"><a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
7741
          <td class="paramname"> <em>ptr</em></td><td>&nbsp;</td>
 
7742
        </tr>
 
7743
        <tr>
 
7744
          <td><br>
 
7745
</td>
 
7746
          <td>)</td>
 
7747
          <td><br>
 
7748
</td><td><br>
 
7749
</td><td width="100%"><br>
 
7750
</td>
 
7751
        </tr>
 
7752
      </tbody></table>
 
7753
</div>
 
7754
<div class="memdoc">
 
7755
 
 
7756
<p>
 
7757
Get CTL element identifier for an element related event. 
 
7758
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7763
    <tr><td valign="top"><br>
 
7764
</td><td valign="top"><em>ptr</em>&nbsp;</td><td>Pointer to returned CTL element identifier </td></tr>
 
7765
  </tbody></table>
 
7766
</dd></dl>
 
7767
 
 
7768
</div>
 
7769
</div><p>
 
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">
 
7774
        <tbody><tr>
 
7775
          <td class="memname">unsigned int snd_ctl_event_elem_get_index           </td>
 
7776
          <td>(</td>
 
7777
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7778
          <td class="paramname"> <em>obj</em>          </td>
 
7779
          <td>&nbsp;)&nbsp;</td>
 
7780
          <td width="100%"><br>
 
7781
</td>
 
7782
        </tr>
 
7783
      </tbody></table>
 
7784
</div>
 
7785
<div class="memdoc">
 
7786
 
 
7787
<p>
 
7788
Get index part of CTL element identifier for an element related event. 
 
7789
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7794
  </tbody></table>
 
7795
</dd></dl>
 
7796
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>index part of element identifier </dd></dl>
 
7797
 
 
7798
</div>
 
7799
</div><p>
 
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">
 
7804
        <tbody><tr>
 
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>
 
7806
          <td>(</td>
 
7807
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7808
          <td class="paramname"> <em>obj</em>          </td>
 
7809
          <td>&nbsp;)&nbsp;</td>
 
7810
          <td width="100%"><br>
 
7811
</td>
 
7812
        </tr>
 
7813
      </tbody></table>
 
7814
</div>
 
7815
<div class="memdoc">
 
7816
 
 
7817
<p>
 
7818
Get interface part of CTL element identifier for an element related event. 
 
7819
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7824
  </tbody></table>
 
7825
</dd></dl>
 
7826
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>interface part of element identifier </dd></dl>
 
7827
 
 
7828
</div>
 
7829
</div><p>
 
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">
 
7834
        <tbody><tr>
 
7835
          <td class="memname">unsigned int snd_ctl_event_elem_get_mask           </td>
 
7836
          <td>(</td>
 
7837
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7838
          <td class="paramname"> <em>obj</em>          </td>
 
7839
          <td>&nbsp;)&nbsp;</td>
 
7840
          <td width="100%"><br>
 
7841
</td>
 
7842
        </tr>
 
7843
      </tbody></table>
 
7844
</div>
 
7845
<div class="memdoc">
 
7846
 
 
7847
<p>
 
7848
Get event mask for an element related event. 
 
7849
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7854
  </tbody></table>
 
7855
</dd></dl>
 
7856
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>event mask for element related event </dd></dl>
 
7857
 
 
7858
</div>
 
7859
</div><p>
 
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">
 
7864
        <tbody><tr>
 
7865
          <td class="memname">const char* snd_ctl_event_elem_get_name           </td>
 
7866
          <td>(</td>
 
7867
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7868
          <td class="paramname"> <em>obj</em>          </td>
 
7869
          <td>&nbsp;)&nbsp;</td>
 
7870
          <td width="100%"><br>
 
7871
</td>
 
7872
        </tr>
 
7873
      </tbody></table>
 
7874
</div>
 
7875
<div class="memdoc">
 
7876
 
 
7877
<p>
 
7878
Get name part of CTL element identifier for an element related event. 
 
7879
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7884
  </tbody></table>
 
7885
</dd></dl>
 
7886
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>name part of element identifier </dd></dl>
 
7887
 
 
7888
</div>
 
7889
</div><p>
 
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">
 
7894
        <tbody><tr>
 
7895
          <td class="memname">unsigned int snd_ctl_event_elem_get_numid           </td>
 
7896
          <td>(</td>
 
7897
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7898
          <td class="paramname"> <em>obj</em>          </td>
 
7899
          <td>&nbsp;)&nbsp;</td>
 
7900
          <td width="100%"><br>
 
7901
</td>
 
7902
        </tr>
 
7903
      </tbody></table>
 
7904
</div>
 
7905
<div class="memdoc">
 
7906
 
 
7907
<p>
 
7908
Get element numeric identifier for an element related event. 
 
7909
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7914
  </tbody></table>
 
7915
</dd></dl>
 
7916
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>element numeric identifier </dd></dl>
 
7917
 
 
7918
</div>
 
7919
</div><p>
 
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">
 
7924
        <tbody><tr>
 
7925
          <td class="memname">unsigned int snd_ctl_event_elem_get_subdevice           </td>
 
7926
          <td>(</td>
 
7927
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7928
          <td class="paramname"> <em>obj</em>          </td>
 
7929
          <td>&nbsp;)&nbsp;</td>
 
7930
          <td width="100%"><br>
 
7931
</td>
 
7932
        </tr>
 
7933
      </tbody></table>
 
7934
</div>
 
7935
<div class="memdoc">
 
7936
 
 
7937
<p>
 
7938
Get subdevice part of CTL element identifier for an element related event. 
 
7939
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
7944
  </tbody></table>
 
7945
</dd></dl>
 
7946
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>subdevice part of element identifier </dd></dl>
 
7947
 
 
7948
</div>
 
7949
</div><p>
 
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">
 
7954
        <tbody><tr>
 
7955
          <td class="memname">void snd_ctl_event_free           </td>
 
7956
          <td>(</td>
 
7957
          <td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7958
          <td class="paramname"> <em>obj</em>          </td>
 
7959
          <td>&nbsp;)&nbsp;</td>
 
7960
          <td width="100%"><br>
 
7961
</td>
 
7962
        </tr>
 
7963
      </tbody></table>
 
7964
</div>
 
7965
<div class="memdoc">
 
7966
 
 
7967
<p>
 
7968
frees a previously allocated <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> 
 
7969
</p><p>
 
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>&nbsp;</td><td>pointer to object to free </td></tr>
 
7974
  </tbody></table>
 
7975
</dd></dl>
 
7976
 
 
7977
</div>
 
7978
</div><p>
 
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">
 
7983
        <tbody><tr>
 
7984
          <td class="memname"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a> snd_ctl_event_get_type           </td>
 
7985
          <td>(</td>
 
7986
          <td class="paramtype">const <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
7987
          <td class="paramname"> <em>obj</em>          </td>
 
7988
          <td>&nbsp;)&nbsp;</td>
 
7989
          <td width="100%"><br>
 
7990
</td>
 
7991
        </tr>
 
7992
      </tbody></table>
 
7993
</div>
 
7994
<div class="memdoc">
 
7995
 
 
7996
<p>
 
7997
Get type of a CTL event. 
 
7998
</p><p>
 
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>&nbsp;</td><td>CTL event </td></tr>
 
8003
  </tbody></table>
 
8004
</dd></dl>
 
8005
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>CTL event type </dd></dl>
 
8006
 
 
8007
</div>
 
8008
</div><p>
 
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">
 
8013
        <tbody><tr>
 
8014
          <td class="memname">int snd_ctl_event_malloc           </td>
 
8015
          <td>(</td>
 
8016
          <td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> **&nbsp;</td>
 
8017
          <td class="paramname"> <em>ptr</em>          </td>
 
8018
          <td>&nbsp;)&nbsp;</td>
 
8019
          <td width="100%"><br>
 
8020
</td>
 
8021
        </tr>
 
8022
      </tbody></table>
 
8023
</div>
 
8024
<div class="memdoc">
 
8025
 
 
8026
<p>
 
8027
allocate an invalid <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> using standard malloc 
 
8028
</p><p>
 
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>&nbsp;</td><td>returned pointer </td></tr>
 
8033
  </tbody></table>
 
8034
</dd></dl>
 
8035
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise negative error code </dd></dl>
 
8036
 
 
8037
</div>
 
8038
</div><p>
 
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">
 
8043
        <tbody><tr>
 
8044
          <td class="memname">size_t snd_ctl_event_sizeof           </td>
 
8045
          <td>(</td>
 
8046
          <td class="paramtype">void&nbsp;</td>
 
8047
          <td class="paramname">          <br>
 
8048
</td>
 
8049
          <td>&nbsp;)&nbsp;</td>
 
8050
          <td width="100%"><br>
 
8051
</td>
 
8052
        </tr>
 
8053
      </tbody></table>
 
8054
</div>
 
8055
<div class="memdoc">
 
8056
 
 
8057
<p>
 
8058
get size of <a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> 
 
8059
</p><p>
 
8060
</p><dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>
 
8061
 
 
8062
</div>
 
8063
</div><p>
 
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">
 
8068
        <tbody><tr>
 
8069
          <td class="memname">const char* snd_ctl_event_type_name           </td>
 
8070
          <td>(</td>
 
8071
          <td class="paramtype"><a class="el" href="group___control.html#geb316edaa7cbf04002c7539e653e1062">snd_ctl_event_type_t</a>&nbsp;</td>
 
8072
          <td class="paramname"> <em>type</em>          </td>
 
8073
          <td>&nbsp;)&nbsp;</td>
 
8074
          <td width="100%"><br>
 
8075
</td>
 
8076
        </tr>
 
8077
      </tbody></table>
 
8078
</div>
 
8079
<div class="memdoc">
 
8080
 
 
8081
<p>
 
8082
get name of a CTL event type 
 
8083
</p><p>
 
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>&nbsp;</td><td>CTL event type </td></tr>
 
8088
  </tbody></table>
 
8089
</dd></dl>
 
8090
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>ascii name of CTL event type </dd></dl>
 
8091
 
 
8092
</div>
 
8093
</div><p>
 
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">
 
8098
        <tbody><tr>
 
8099
          <td class="memname">int snd_ctl_get_dB_range           </td>
 
8100
          <td>(</td>
 
8101
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8102
          <td class="paramname"> <em>ctl</em>, </td>
 
8103
        </tr>
 
8104
        <tr>
 
8105
          <td class="paramkey"><br>
 
8106
</td>
 
8107
          <td><br>
 
8108
</td>
 
8109
          <td class="paramtype">const <a class="el" href="group___control.html#gd91a3e04a25060e07917389417d474e4">snd_ctl_elem_id_t</a> *&nbsp;</td>
 
8110
          <td class="paramname"> <em>id</em>, </td>
 
8111
        </tr>
 
8112
        <tr>
 
8113
          <td class="paramkey"><br>
 
8114
</td>
 
8115
          <td><br>
 
8116
</td>
 
8117
          <td class="paramtype">long *&nbsp;</td>
 
8118
          <td class="paramname"> <em>min</em>, </td>
 
8119
        </tr>
 
8120
        <tr>
 
8121
          <td class="paramkey"><br>
 
8122
</td>
 
8123
          <td><br>
 
8124
</td>
 
8125
          <td class="paramtype">long *&nbsp;</td>
 
8126
          <td class="paramname"> <em>max</em></td><td>&nbsp;</td>
 
8127
        </tr>
 
8128
        <tr>
 
8129
          <td><br>
 
8130
</td>
 
8131
          <td>)</td>
 
8132
          <td><br>
 
8133
</td><td><br>
 
8134
</td><td width="100%"><br>
 
8135
</td>
 
8136
        </tr>
 
8137
      </tbody></table>
 
8138
</div>
 
8139
<div class="memdoc">
 
8140
 
 
8141
<p>
 
8142
Get the dB min/max values on the given control element. 
 
8143
</p><p>
 
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>&nbsp;</td><td>the control handler </td></tr>
 
8148
    <tr><td valign="top"><br>
 
8149
</td><td valign="top"><em>id</em>&nbsp;</td><td>the element id </td></tr>
 
8150
    <tr><td valign="top"><br>
 
8151
</td><td valign="top"><em>min</em>&nbsp;</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>&nbsp;</td><td>the pointer to store the maximum dB value (in 0.01dB unit) </td></tr>
 
8154
  </tbody></table>
 
8155
</dd></dl>
 
8156
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
 
8157
 
 
8158
</div>
 
8159
</div><p>
 
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">
 
8164
        <tbody><tr>
 
8165
          <td class="memname">int snd_ctl_get_power_state           </td>
 
8166
          <td>(</td>
 
8167
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8168
          <td class="paramname"> <em>ctl</em>, </td>
 
8169
        </tr>
 
8170
        <tr>
 
8171
          <td class="paramkey"><br>
 
8172
</td>
 
8173
          <td><br>
 
8174
</td>
 
8175
          <td class="paramtype">unsigned int *&nbsp;</td>
 
8176
          <td class="paramname"> <em>state</em></td><td>&nbsp;</td>
 
8177
        </tr>
 
8178
        <tr>
 
8179
          <td><br>
 
8180
</td>
 
8181
          <td>)</td>
 
8182
          <td><br>
 
8183
</td><td><br>
 
8184
</td><td width="100%"><br>
 
8185
</td>
 
8186
        </tr>
 
8187
      </tbody></table>
 
8188
</div>
 
8189
<div class="memdoc">
 
8190
 
 
8191
<p>
 
8192
Get actual Power State. 
 
8193
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8198
    <tr><td valign="top"><br>
 
8199
</td><td valign="top"><em>state</em>&nbsp;</td><td>Destination value </td></tr>
 
8200
  </tbody></table>
 
8201
</dd></dl>
 
8202
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
8203
 
 
8204
</div>
 
8205
</div><p>
 
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">
 
8210
        <tbody><tr>
 
8211
          <td class="memname">const char* snd_ctl_name           </td>
 
8212
          <td>(</td>
 
8213
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8214
          <td class="paramname"> <em>ctl</em>          </td>
 
8215
          <td>&nbsp;)&nbsp;</td>
 
8216
          <td width="100%"><br>
 
8217
</td>
 
8218
        </tr>
 
8219
      </tbody></table>
 
8220
</div>
 
8221
<div class="memdoc">
 
8222
 
 
8223
<p>
 
8224
get identifier of CTL handle 
 
8225
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8230
  </tbody></table>
 
8231
</dd></dl>
 
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>. 
 
8234
</div>
 
8235
</div><p>
 
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">
 
8240
        <tbody><tr>
 
8241
          <td class="memname">int snd_ctl_nonblock           </td>
 
8242
          <td>(</td>
 
8243
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8244
          <td class="paramname"> <em>ctl</em>, </td>
 
8245
        </tr>
 
8246
        <tr>
 
8247
          <td class="paramkey"><br>
 
8248
</td>
 
8249
          <td><br>
 
8250
</td>
 
8251
          <td class="paramtype">int&nbsp;</td>
 
8252
          <td class="paramname"> <em>nonblock</em></td><td>&nbsp;</td>
 
8253
        </tr>
 
8254
        <tr>
 
8255
          <td><br>
 
8256
</td>
 
8257
          <td>)</td>
 
8258
          <td><br>
 
8259
</td><td><br>
 
8260
</td><td width="100%"><br>
 
8261
</td>
 
8262
        </tr>
 
8263
      </tbody></table>
 
8264
</div>
 
8265
<div class="memdoc">
 
8266
 
 
8267
<p>
 
8268
set nonblock mode 
 
8269
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8274
    <tr><td valign="top"><br>
 
8275
</td><td valign="top"><em>nonblock</em>&nbsp;</td><td>0 = block, 1 = nonblock mode </td></tr>
 
8276
  </tbody></table>
 
8277
</dd></dl>
 
8278
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
8279
 
 
8280
</div>
 
8281
</div><p>
 
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">
 
8286
        <tbody><tr>
 
8287
          <td class="memname">int snd_ctl_open           </td>
 
8288
          <td>(</td>
 
8289
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> **&nbsp;</td>
 
8290
          <td class="paramname"> <em>ctlp</em>, </td>
 
8291
        </tr>
 
8292
        <tr>
 
8293
          <td class="paramkey"><br>
 
8294
</td>
 
8295
          <td><br>
 
8296
</td>
 
8297
          <td class="paramtype">const char *&nbsp;</td>
 
8298
          <td class="paramname"> <em>name</em>, </td>
 
8299
        </tr>
 
8300
        <tr>
 
8301
          <td class="paramkey"><br>
 
8302
</td>
 
8303
          <td><br>
 
8304
</td>
 
8305
          <td class="paramtype">int&nbsp;</td>
 
8306
          <td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
 
8307
        </tr>
 
8308
        <tr>
 
8309
          <td><br>
 
8310
</td>
 
8311
          <td>)</td>
 
8312
          <td><br>
 
8313
</td><td><br>
 
8314
</td><td width="100%"><br>
 
8315
</td>
 
8316
        </tr>
 
8317
      </tbody></table>
 
8318
</div>
 
8319
<div class="memdoc">
 
8320
 
 
8321
<p>
 
8322
Opens a CTL. 
 
8323
</p><p>
 
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>&nbsp;</td><td>Returned CTL handle </td></tr>
 
8328
    <tr><td valign="top"><br>
 
8329
</td><td valign="top"><em>name</em>&nbsp;</td><td>ASCII identifier of the CTL handle </td></tr>
 
8330
    <tr><td valign="top"><br>
 
8331
</td><td valign="top"><em>mode</em>&nbsp;</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>
 
8332
  </tbody></table>
 
8333
</dd></dl>
 
8334
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
8335
 
 
8336
</div>
 
8337
</div><p>
 
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">
 
8342
        <tbody><tr>
 
8343
          <td class="memname">int snd_ctl_open_lconf           </td>
 
8344
          <td>(</td>
 
8345
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> **&nbsp;</td>
 
8346
          <td class="paramname"> <em>ctlp</em>, </td>
 
8347
        </tr>
 
8348
        <tr>
 
8349
          <td class="paramkey"><br>
 
8350
</td>
 
8351
          <td><br>
 
8352
</td>
 
8353
          <td class="paramtype">const char *&nbsp;</td>
 
8354
          <td class="paramname"> <em>name</em>, </td>
 
8355
        </tr>
 
8356
        <tr>
 
8357
          <td class="paramkey"><br>
 
8358
</td>
 
8359
          <td><br>
 
8360
</td>
 
8361
          <td class="paramtype">int&nbsp;</td>
 
8362
          <td class="paramname"> <em>mode</em>, </td>
 
8363
        </tr>
 
8364
        <tr>
 
8365
          <td class="paramkey"><br>
 
8366
</td>
 
8367
          <td><br>
 
8368
</td>
 
8369
          <td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> *&nbsp;</td>
 
8370
          <td class="paramname"> <em>lconf</em></td><td>&nbsp;</td>
 
8371
        </tr>
 
8372
        <tr>
 
8373
          <td><br>
 
8374
</td>
 
8375
          <td>)</td>
 
8376
          <td><br>
 
8377
</td><td><br>
 
8378
</td><td width="100%"><br>
 
8379
</td>
 
8380
        </tr>
 
8381
      </tbody></table>
 
8382
</div>
 
8383
<div class="memdoc">
 
8384
 
 
8385
<p>
 
8386
Opens a CTL using local configuration. 
 
8387
</p><p>
 
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>&nbsp;</td><td>Returned CTL handle </td></tr>
 
8392
    <tr><td valign="top"><br>
 
8393
</td><td valign="top"><em>name</em>&nbsp;</td><td>ASCII identifier of the CTL handle </td></tr>
 
8394
    <tr><td valign="top"><br>
 
8395
</td><td valign="top"><em>mode</em>&nbsp;</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>&nbsp;</td><td>Local configuration </td></tr>
 
8398
  </tbody></table>
 
8399
</dd></dl>
 
8400
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
8401
 
 
8402
</div>
 
8403
</div><p>
 
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">
 
8408
        <tbody><tr>
 
8409
          <td class="memname">int snd_ctl_poll_descriptors           </td>
 
8410
          <td>(</td>
 
8411
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8412
          <td class="paramname"> <em>ctl</em>, </td>
 
8413
        </tr>
 
8414
        <tr>
 
8415
          <td class="paramkey"><br>
 
8416
</td>
 
8417
          <td><br>
 
8418
</td>
 
8419
          <td class="paramtype">struct pollfd *&nbsp;</td>
 
8420
          <td class="paramname"> <em>pfds</em>, </td>
 
8421
        </tr>
 
8422
        <tr>
 
8423
          <td class="paramkey"><br>
 
8424
</td>
 
8425
          <td><br>
 
8426
</td>
 
8427
          <td class="paramtype">unsigned int&nbsp;</td>
 
8428
          <td class="paramname"> <em>space</em></td><td>&nbsp;</td>
 
8429
        </tr>
 
8430
        <tr>
 
8431
          <td><br>
 
8432
</td>
 
8433
          <td>)</td>
 
8434
          <td><br>
 
8435
</td><td><br>
 
8436
</td><td width="100%"><br>
 
8437
</td>
 
8438
        </tr>
 
8439
      </tbody></table>
 
8440
</div>
 
8441
<div class="memdoc">
 
8442
 
 
8443
<p>
 
8444
get poll descriptors 
 
8445
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8450
    <tr><td valign="top"><br>
 
8451
</td><td valign="top"><em>pfds</em>&nbsp;</td><td>array of poll descriptors </td></tr>
 
8452
    <tr><td valign="top"><br>
 
8453
</td><td valign="top"><em>space</em>&nbsp;</td><td>space in the poll descriptor array </td></tr>
 
8454
  </tbody></table>
 
8455
</dd></dl>
 
8456
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>count of filled descriptors </dd></dl>
 
8457
 
 
8458
</div>
 
8459
</div><p>
 
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">
 
8464
        <tbody><tr>
 
8465
          <td class="memname">int snd_ctl_poll_descriptors_count           </td>
 
8466
          <td>(</td>
 
8467
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8468
          <td class="paramname"> <em>ctl</em>          </td>
 
8469
          <td>&nbsp;)&nbsp;</td>
 
8470
          <td width="100%"><br>
 
8471
</td>
 
8472
        </tr>
 
8473
      </tbody></table>
 
8474
</div>
 
8475
<div class="memdoc">
 
8476
 
 
8477
<p>
 
8478
get count of poll descriptors for CTL handle 
 
8479
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8484
  </tbody></table>
 
8485
</dd></dl>
 
8486
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>count of poll descriptors </dd></dl>
 
8487
 
 
8488
</div>
 
8489
</div><p>
 
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">
 
8494
        <tbody><tr>
 
8495
          <td class="memname">int snd_ctl_poll_descriptors_revents           </td>
 
8496
          <td>(</td>
 
8497
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8498
          <td class="paramname"> <em>ctl</em>, </td>
 
8499
        </tr>
 
8500
        <tr>
 
8501
          <td class="paramkey"><br>
 
8502
</td>
 
8503
          <td><br>
 
8504
</td>
 
8505
          <td class="paramtype">struct pollfd *&nbsp;</td>
 
8506
          <td class="paramname"> <em>pfds</em>, </td>
 
8507
        </tr>
 
8508
        <tr>
 
8509
          <td class="paramkey"><br>
 
8510
</td>
 
8511
          <td><br>
 
8512
</td>
 
8513
          <td class="paramtype">unsigned int&nbsp;</td>
 
8514
          <td class="paramname"> <em>nfds</em>, </td>
 
8515
        </tr>
 
8516
        <tr>
 
8517
          <td class="paramkey"><br>
 
8518
</td>
 
8519
          <td><br>
 
8520
</td>
 
8521
          <td class="paramtype">unsigned short *&nbsp;</td>
 
8522
          <td class="paramname"> <em>revents</em></td><td>&nbsp;</td>
 
8523
        </tr>
 
8524
        <tr>
 
8525
          <td><br>
 
8526
</td>
 
8527
          <td>)</td>
 
8528
          <td><br>
 
8529
</td><td><br>
 
8530
</td><td width="100%"><br>
 
8531
</td>
 
8532
        </tr>
 
8533
      </tbody></table>
 
8534
</div>
 
8535
<div class="memdoc">
 
8536
 
 
8537
<p>
 
8538
get returned events from poll descriptors 
 
8539
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8544
    <tr><td valign="top"><br>
 
8545
</td><td valign="top"><em>pfds</em>&nbsp;</td><td>array of poll descriptors </td></tr>
 
8546
    <tr><td valign="top"><br>
 
8547
</td><td valign="top"><em>nfds</em>&nbsp;</td><td>count of poll descriptors </td></tr>
 
8548
    <tr><td valign="top"><br>
 
8549
</td><td valign="top"><em>revents</em>&nbsp;</td><td>returned events </td></tr>
 
8550
  </tbody></table>
 
8551
</dd></dl>
 
8552
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
 
8553
 
 
8554
</div>
 
8555
</div><p>
 
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">
 
8560
        <tbody><tr>
 
8561
          <td class="memname">int snd_ctl_read           </td>
 
8562
          <td>(</td>
 
8563
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8564
          <td class="paramname"> <em>ctl</em>, </td>
 
8565
        </tr>
 
8566
        <tr>
 
8567
          <td class="paramkey"><br>
 
8568
</td>
 
8569
          <td><br>
 
8570
</td>
 
8571
          <td class="paramtype"><a class="el" href="group___control.html#gf57af9a15a9a226825a7814a1c473a16">snd_ctl_event_t</a> *&nbsp;</td>
 
8572
          <td class="paramname"> <em>event</em></td><td>&nbsp;</td>
 
8573
        </tr>
 
8574
        <tr>
 
8575
          <td><br>
 
8576
</td>
 
8577
          <td>)</td>
 
8578
          <td><br>
 
8579
</td><td><br>
 
8580
</td><td width="100%"><br>
 
8581
</td>
 
8582
        </tr>
 
8583
      </tbody></table>
 
8584
</div>
 
8585
<div class="memdoc">
 
8586
 
 
8587
<p>
 
8588
Read an event. 
 
8589
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8594
    <tr><td valign="top"><br>
 
8595
</td><td valign="top"><em>event</em>&nbsp;</td><td>Event pointer </td></tr>
 
8596
  </tbody></table>
 
8597
</dd></dl>
 
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>
 
8599
 
 
8600
</div>
 
8601
</div><p>
 
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">
 
8606
        <tbody><tr>
 
8607
          <td class="memname">int snd_ctl_set_power_state           </td>
 
8608
          <td>(</td>
 
8609
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8610
          <td class="paramname"> <em>ctl</em>, </td>
 
8611
        </tr>
 
8612
        <tr>
 
8613
          <td class="paramkey"><br>
 
8614
</td>
 
8615
          <td><br>
 
8616
</td>
 
8617
          <td class="paramtype">unsigned int&nbsp;</td>
 
8618
          <td class="paramname"> <em>state</em></td><td>&nbsp;</td>
 
8619
        </tr>
 
8620
        <tr>
 
8621
          <td><br>
 
8622
</td>
 
8623
          <td>)</td>
 
8624
          <td><br>
 
8625
</td><td><br>
 
8626
</td><td width="100%"><br>
 
8627
</td>
 
8628
        </tr>
 
8629
      </tbody></table>
 
8630
</div>
 
8631
<div class="memdoc">
 
8632
 
 
8633
<p>
 
8634
Set Power State to given SND_CTL_POWER_* value and do the power management. 
 
8635
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8640
    <tr><td valign="top"><br>
 
8641
</td><td valign="top"><em>state</em>&nbsp;</td><td>Desired Power State </td></tr>
 
8642
  </tbody></table>
 
8643
</dd></dl>
 
8644
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
8645
 
 
8646
</div>
 
8647
</div><p>
 
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">
 
8652
        <tbody><tr>
 
8653
          <td class="memname">int snd_ctl_subscribe_events           </td>
 
8654
          <td>(</td>
 
8655
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8656
          <td class="paramname"> <em>ctl</em>, </td>
 
8657
        </tr>
 
8658
        <tr>
 
8659
          <td class="paramkey"><br>
 
8660
</td>
 
8661
          <td><br>
 
8662
</td>
 
8663
          <td class="paramtype">int&nbsp;</td>
 
8664
          <td class="paramname"> <em>subscribe</em></td><td>&nbsp;</td>
 
8665
        </tr>
 
8666
        <tr>
 
8667
          <td><br>
 
8668
</td>
 
8669
          <td>)</td>
 
8670
          <td><br>
 
8671
</td><td><br>
 
8672
</td><td width="100%"><br>
 
8673
</td>
 
8674
        </tr>
 
8675
      </tbody></table>
 
8676
</div>
 
8677
<div class="memdoc">
 
8678
 
 
8679
<p>
 
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>). 
 
8681
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8686
    <tr><td valign="top"><br>
 
8687
</td><td valign="top"><em>subscribe</em>&nbsp;</td><td>0 = unsubscribe, 1 = subscribe </td></tr>
 
8688
  </tbody></table>
 
8689
</dd></dl>
 
8690
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code </dd></dl>
 
8691
 
 
8692
</div>
 
8693
</div><p>
 
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">
 
8698
        <tbody><tr>
 
8699
          <td class="memname"><a class="el" href="group___control.html#g7a2cbe28de2a12d5dbb22c5756e33dd1">snd_ctl_type_t</a> snd_ctl_type           </td>
 
8700
          <td>(</td>
 
8701
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8702
          <td class="paramname"> <em>ctl</em>          </td>
 
8703
          <td>&nbsp;)&nbsp;</td>
 
8704
          <td width="100%"><br>
 
8705
</td>
 
8706
        </tr>
 
8707
      </tbody></table>
 
8708
</div>
 
8709
<div class="memdoc">
 
8710
 
 
8711
<p>
 
8712
get type of CTL handle 
 
8713
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8718
  </tbody></table>
 
8719
</dd></dl>
 
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. 
 
8722
</div>
 
8723
</div><p>
 
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">
 
8728
        <tbody><tr>
 
8729
          <td class="memname">int snd_ctl_wait           </td>
 
8730
          <td>(</td>
 
8731
          <td class="paramtype"><a class="el" href="group___control.html#g6fef7f4892f9960f41ead15ef8994aa0">snd_ctl_t</a> *&nbsp;</td>
 
8732
          <td class="paramname"> <em>ctl</em>, </td>
 
8733
        </tr>
 
8734
        <tr>
 
8735
          <td class="paramkey"><br>
 
8736
</td>
 
8737
          <td><br>
 
8738
</td>
 
8739
          <td class="paramtype">int&nbsp;</td>
 
8740
          <td class="paramname"> <em>timeout</em></td><td>&nbsp;</td>
 
8741
        </tr>
 
8742
        <tr>
 
8743
          <td><br>
 
8744
</td>
 
8745
          <td>)</td>
 
8746
          <td><br>
 
8747
</td><td><br>
 
8748
</td><td width="100%"><br>
 
8749
</td>
 
8750
        </tr>
 
8751
      </tbody></table>
 
8752
</div>
 
8753
<div class="memdoc">
 
8754
 
 
8755
<p>
 
8756
Wait for a CTL to become ready (i.e. at least one event pending). 
 
8757
</p><p>
 
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>&nbsp;</td><td>CTL handle </td></tr>
 
8762
    <tr><td valign="top"><br>
 
8763
</td><td valign="top"><em>timeout</em>&nbsp;</td><td>maximum time in milliseconds to wait </td></tr>
 
8764
  </tbody></table>
 
8765
</dd></dl>
 
8766
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 otherwise a negative error code on failure </dd></dl>
 
8767
 
 
8768
</div>
 
8769
</div><p>
 
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">
 
8774
        <tbody><tr>
 
8775
          <td class="memname">int snd_device_name_free_hint           </td>
 
8776
          <td>(</td>
 
8777
          <td class="paramtype">void **&nbsp;</td>
 
8778
          <td class="paramname"> <em>hints</em>          </td>
 
8779
          <td>&nbsp;)&nbsp;</td>
 
8780
          <td width="100%"><br>
 
8781
</td>
 
8782
        </tr>
 
8783
      </tbody></table>
 
8784
</div>
 
8785
<div class="memdoc">
 
8786
 
 
8787
<p>
 
8788
Free a string list with device name hints. 
 
8789
</p><p>
 
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>&nbsp;</td><td>A string list to free </td></tr>
 
8794
  </tbody></table>
 
8795
</dd></dl>
 
8796
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
 
8797
 
 
8798
</div>
 
8799
</div><p>
 
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">
 
8804
        <tbody><tr>
 
8805
          <td class="memname">char* snd_device_name_get_hint           </td>
 
8806
          <td>(</td>
 
8807
          <td class="paramtype">const void *&nbsp;</td>
 
8808
          <td class="paramname"> <em>hint</em>, </td>
 
8809
        </tr>
 
8810
        <tr>
 
8811
          <td class="paramkey"><br>
 
8812
</td>
 
8813
          <td><br>
 
8814
</td>
 
8815
          <td class="paramtype">const char *&nbsp;</td>
 
8816
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
 
8817
        </tr>
 
8818
        <tr>
 
8819
          <td><br>
 
8820
</td>
 
8821
          <td>)</td>
 
8822
          <td><br>
 
8823
</td><td><br>
 
8824
</td><td width="100%"><br>
 
8825
</td>
 
8826
        </tr>
 
8827
      </tbody></table>
 
8828
</div>
 
8829
<div class="memdoc">
 
8830
 
 
8831
<p>
 
8832
Get a hint Free a string list with device name hints. 
 
8833
</p><p>
 
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>&nbsp;</td><td>A pointer to hint </td></tr>
 
8838
    <tr><td valign="top"><br>
 
8839
</td><td valign="top"><em>id</em>&nbsp;</td><td>Hint ID (see bellow) </td></tr>
 
8840
  </tbody></table>
 
8841
</dd></dl>
 
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>
 
8846
</div><p>
 
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">
 
8851
        <tbody><tr>
 
8852
          <td class="memname">int snd_device_name_hint           </td>
 
8853
          <td>(</td>
 
8854
          <td class="paramtype">int&nbsp;</td>
 
8855
          <td class="paramname"> <em>card</em>, </td>
 
8856
        </tr>
 
8857
        <tr>
 
8858
          <td class="paramkey"><br>
 
8859
</td>
 
8860
          <td><br>
 
8861
</td>
 
8862
          <td class="paramtype">const char *&nbsp;</td>
 
8863
          <td class="paramname"> <em>iface</em>, </td>
 
8864
        </tr>
 
8865
        <tr>
 
8866
          <td class="paramkey"><br>
 
8867
</td>
 
8868
          <td><br>
 
8869
</td>
 
8870
          <td class="paramtype">void ***&nbsp;</td>
 
8871
          <td class="paramname"> <em>hints</em></td><td>&nbsp;</td>
 
8872
        </tr>
 
8873
        <tr>
 
8874
          <td><br>
 
8875
</td>
 
8876
          <td>)</td>
 
8877
          <td><br>
 
8878
</td><td><br>
 
8879
</td><td width="100%"><br>
 
8880
</td>
 
8881
        </tr>
 
8882
      </tbody></table>
 
8883
</div>
 
8884
<div class="memdoc">
 
8885
 
 
8886
<p>
 
8887
Return string list with device name hints. 
 
8888
</p><p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>Result - array of string with device name hints </td></tr>
 
8897
  </tbody></table>
 
8898
</dd></dl>
 
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>
 
8905
 } </code></p><p>
 
8906
Special variables: defaults.namehint.showall specifies if all device definitions are accepted (boolean type). 
 
8907
</p></div>
 
8908
</div><p>
 
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">
 
8913
        <tbody><tr>
 
8914
          <td class="memname">int snd_tlv_convert_from_dB           </td>
 
8915
          <td>(</td>
 
8916
          <td class="paramtype">unsigned int *&nbsp;</td>
 
8917
          <td class="paramname"> <em>tlv</em>, </td>
 
8918
        </tr>
 
8919
        <tr>
 
8920
          <td class="paramkey"><br>
 
8921
</td>
 
8922
          <td><br>
 
8923
</td>
 
8924
          <td class="paramtype">long&nbsp;</td>
 
8925
          <td class="paramname"> <em>rangemin</em>, </td>
 
8926
        </tr>
 
8927
        <tr>
 
8928
          <td class="paramkey"><br>
 
8929
</td>
 
8930
          <td><br>
 
8931
</td>
 
8932
          <td class="paramtype">long&nbsp;</td>
 
8933
          <td class="paramname"> <em>rangemax</em>, </td>
 
8934
        </tr>
 
8935
        <tr>
 
8936
          <td class="paramkey"><br>
 
8937
</td>
 
8938
          <td><br>
 
8939
</td>
 
8940
          <td class="paramtype">long&nbsp;</td>
 
8941
          <td class="paramname"> <em>db_gain</em>, </td>
 
8942
        </tr>
 
8943
        <tr>
 
8944
          <td class="paramkey"><br>
 
8945
</td>
 
8946
          <td><br>
 
8947
</td>
 
8948
          <td class="paramtype">long *&nbsp;</td>
 
8949
          <td class="paramname"> <em>value</em>, </td>
 
8950
        </tr>
 
8951
        <tr>
 
8952
          <td class="paramkey"><br>
 
8953
</td>
 
8954
          <td><br>
 
8955
</td>
 
8956
          <td class="paramtype">int&nbsp;</td>
 
8957
          <td class="paramname"> <em>xdir</em></td><td>&nbsp;</td>
 
8958
        </tr>
 
8959
        <tr>
 
8960
          <td><br>
 
8961
</td>
 
8962
          <td>)</td>
 
8963
          <td><br>
 
8964
</td><td><br>
 
8965
</td><td width="100%"><br>
 
8966
</td>
 
8967
        </tr>
 
8968
      </tbody></table>
 
8969
</div>
 
8970
<div class="memdoc">
 
8971
 
 
8972
<p>
 
8973
Convert from dB gain to the corresponding raw value. 
 
8974
</p><p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>the direction for round-up. The value is round up when this is positive. </td></tr>
 
8989
  </tbody></table>
 
8990
</dd></dl>
 
8991
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
 
8992
 
 
8993
</div>
 
8994
</div><p>
 
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">
 
8999
        <tbody><tr>
 
9000
          <td class="memname">int snd_tlv_convert_to_dB           </td>
 
9001
          <td>(</td>
 
9002
          <td class="paramtype">unsigned int *&nbsp;</td>
 
9003
          <td class="paramname"> <em>tlv</em>, </td>
 
9004
        </tr>
 
9005
        <tr>
 
9006
          <td class="paramkey"><br>
 
9007
</td>
 
9008
          <td><br>
 
9009
</td>
 
9010
          <td class="paramtype">long&nbsp;</td>
 
9011
          <td class="paramname"> <em>rangemin</em>, </td>
 
9012
        </tr>
 
9013
        <tr>
 
9014
          <td class="paramkey"><br>
 
9015
</td>
 
9016
          <td><br>
 
9017
</td>
 
9018
          <td class="paramtype">long&nbsp;</td>
 
9019
          <td class="paramname"> <em>rangemax</em>, </td>
 
9020
        </tr>
 
9021
        <tr>
 
9022
          <td class="paramkey"><br>
 
9023
</td>
 
9024
          <td><br>
 
9025
</td>
 
9026
          <td class="paramtype">long&nbsp;</td>
 
9027
          <td class="paramname"> <em>volume</em>, </td>
 
9028
        </tr>
 
9029
        <tr>
 
9030
          <td class="paramkey"><br>
 
9031
</td>
 
9032
          <td><br>
 
9033
</td>
 
9034
          <td class="paramtype">long *&nbsp;</td>
 
9035
          <td class="paramname"> <em>db_gain</em></td><td>&nbsp;</td>
 
9036
        </tr>
 
9037
        <tr>
 
9038
          <td><br>
 
9039
</td>
 
9040
          <td>)</td>
 
9041
          <td><br>
 
9042
</td><td><br>
 
9043
</td><td width="100%"><br>
 
9044
</td>
 
9045
        </tr>
 
9046
      </tbody></table>
 
9047
</div>
 
9048
<div class="memdoc">
 
9049
 
 
9050
<p>
 
9051
Convert the given raw volume value to a dB gain. 
 
9052
</p><p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>the dB gain (in 0.01dB unit) </td></tr>
 
9065
  </tbody></table>
 
9066
</dd></dl>
 
9067
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
 
9068
 
 
9069
</div>
 
9070
</div><p>
 
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">
 
9075
        <tbody><tr>
 
9076
          <td class="memname">int snd_tlv_get_dB_range           </td>
 
9077
          <td>(</td>
 
9078
          <td class="paramtype">unsigned int *&nbsp;</td>
 
9079
          <td class="paramname"> <em>tlv</em>, </td>
 
9080
        </tr>
 
9081
        <tr>
 
9082
          <td class="paramkey"><br>
 
9083
</td>
 
9084
          <td><br>
 
9085
</td>
 
9086
          <td class="paramtype">long&nbsp;</td>
 
9087
          <td class="paramname"> <em>rangemin</em>, </td>
 
9088
        </tr>
 
9089
        <tr>
 
9090
          <td class="paramkey"><br>
 
9091
</td>
 
9092
          <td><br>
 
9093
</td>
 
9094
          <td class="paramtype">long&nbsp;</td>
 
9095
          <td class="paramname"> <em>rangemax</em>, </td>
 
9096
        </tr>
 
9097
        <tr>
 
9098
          <td class="paramkey"><br>
 
9099
</td>
 
9100
          <td><br>
 
9101
</td>
 
9102
          <td class="paramtype">long *&nbsp;</td>
 
9103
          <td class="paramname"> <em>min</em>, </td>
 
9104
        </tr>
 
9105
        <tr>
 
9106
          <td class="paramkey"><br>
 
9107
</td>
 
9108
          <td><br>
 
9109
</td>
 
9110
          <td class="paramtype">long *&nbsp;</td>
 
9111
          <td class="paramname"> <em>max</em></td><td>&nbsp;</td>
 
9112
        </tr>
 
9113
        <tr>
 
9114
          <td><br>
 
9115
</td>
 
9116
          <td>)</td>
 
9117
          <td><br>
 
9118
</td><td><br>
 
9119
</td><td width="100%"><br>
 
9120
</td>
 
9121
        </tr>
 
9122
      </tbody></table>
 
9123
</div>
 
9124
<div class="memdoc">
 
9125
 
 
9126
<p>
 
9127
Get the dB min/max values. 
 
9128
</p><p>
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>the pointer to store the maximum dB value (in 0.01dB unit) </td></tr>
 
9141
  </tbody></table>
 
9142
</dd></dl>
 
9143
<dl class="return" compact="compact"><dt><b>Returns:</b></dt><dd>0 if successful, or a negative error code </dd></dl>
 
9144
 
 
9145
</div>
 
9146
</div><p>
 
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">
 
9151
        <tbody><tr>
 
9152
          <td class="memname">int snd_tlv_parse_dB_info           </td>
 
9153
          <td>(</td>
 
9154
          <td class="paramtype">unsigned int *&nbsp;</td>
 
9155
          <td class="paramname"> <em>tlv</em>, </td>
 
9156
        </tr>
 
9157
        <tr>
 
9158
          <td class="paramkey"><br>
 
9159
</td>
 
9160
          <td><br>
 
9161
</td>
 
9162
          <td class="paramtype">unsigned int&nbsp;</td>
 
9163
          <td class="paramname"> <em>tlv_size</em>, </td>
 
9164
        </tr>
 
9165
        <tr>
 
9166
          <td class="paramkey"><br>
 
9167
</td>
 
9168
          <td><br>
 
9169
</td>
 
9170
          <td class="paramtype">unsigned int **&nbsp;</td>
 
9171
          <td class="paramname"> <em>db_tlvp</em></td><td>&nbsp;</td>
 
9172
        </tr>
 
9173
        <tr>
 
9174
          <td><br>
 
9175
</td>
 
9176
          <td>)</td>
 
9177
          <td><br>
 
9178
</td><td><br>
 
9179
</td><td width="100%"><br>
 
9180
</td>
 
9181
        </tr>
 
9182
      </tbody></table>
 
9183
</div>
 
9184
<div class="memdoc">
 
9185
 
 
9186
<p>
 
9187
Parse TLV stream and retrieve dB information. 
 
9188
</p><p>
 
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>&nbsp;</td><td>the TLV source </td></tr>
 
9193
    <tr><td valign="top"><br>
 
9194
</td><td valign="top"><em>tlv_size</em>&nbsp;</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>&nbsp;</td><td>the pointer stored the dB TLV information </td></tr>
 
9197
  </tbody></table>
 
9198
</dd></dl>
 
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>. 
 
9203
</div>
 
9204
</div><p>
 
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&nbsp;
 
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>
 
9208
 
 
9209
</body></html>
 
 
b'\\ No newline at end of file'