~n3npq/lsb/t2c-alsa-tests

« back to all changes in this revision

Viewing changes to spec/mixer_8h-source.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: /home/alsa/tmp/cvs/alsa-lib/include/mixer.h Source File</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 id="current"><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
<div class="tabs">
 
18
  <ul>
 
19
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
 
20
    <li><a href="globals.html"><span>Globals</span></a></li>
 
21
  </ul></div>
 
22
<h1>/home/alsa/tmp/cvs/alsa-lib/include/mixer.h</h1><a href="mixer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <br><a name="l00011"></a>00011 <span class="comment">/*</span>
 
23
<a name="l00012"></a>00012 <span class="comment"> *   This library is free software; you can redistribute it and/or modify</span>
 
24
<a name="l00013"></a>00013 <span class="comment"> *   it under the terms of the GNU Lesser General Public License as</span>
 
25
<a name="l00014"></a>00014 <span class="comment"> *   published by the Free Software Foundation; either version 2.1 of</span>
 
26
<a name="l00015"></a>00015 <span class="comment"> *   the License, or (at your option) any later version.</span>
 
27
<a name="l00016"></a>00016 <span class="comment"> *</span>
 
28
<a name="l00017"></a>00017 <span class="comment"> *   This program is distributed in the hope that it will be useful,</span>
 
29
<a name="l00018"></a>00018 <span class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
 
30
<a name="l00019"></a>00019 <span class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
 
31
<a name="l00020"></a>00020 <span class="comment"> *   GNU Lesser General Public License for more details.</span>
 
32
<a name="l00021"></a>00021 <span class="comment"> *</span>
 
33
<a name="l00022"></a>00022 <span class="comment"> *   You should have received a copy of the GNU Lesser General Public</span>
 
34
<a name="l00023"></a>00023 <span class="comment"> *   License along with this library; if not, write to the Free Software</span>
 
35
<a name="l00024"></a>00024 <span class="comment"> *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA</span>
 
36
<a name="l00025"></a>00025 <span class="comment"> *</span>
 
37
<a name="l00026"></a>00026 <span class="comment"> */</span>
 
38
<a name="l00027"></a>00027 <br><a name="l00028"></a>00028 <span class="preprocessor">#ifndef __ALSA_MIXER_H</span>
 
39
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define __ALSA_MIXER_H</span>
 
40
<a name="l00030"></a>00030 <span class="preprocessor"></span>
 
41
<a name="l00031"></a>00031 <span class="preprocessor">#ifdef __cplusplus</span>
 
42
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {<br><a name="l00033"></a>00033 <span class="preprocessor">#endif</span>
 
43
<a name="l00034"></a>00034 <span class="preprocessor"></span>
 
44
<a name="l00042"></a><a class="code" href="group___mixer.html#g7898f9d8a42208bbdb8a27acc1e02325">00042</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_snd_mixer snd_mixer_t;<br><a name="l00044"></a><a class="code" href="group___mixer.html#gcfaafa11f09f1d5e425de98c28626359">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_snd_mixer_class snd_mixer_class_t;<br><a name="l00046"></a><a class="code" href="group___mixer.html#g5cee4435201cb3107bd49c625f1bc0af">00046</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_snd_mixer_elem snd_mixer_elem_t;<br><a name="l00047"></a>00047 <br><a name="l00055"></a><a class="code" href="group___mixer.html#g4dc3c4fc95b75a725351dc8e6badc51e">00055</a> <span class="keyword">typedef</span> int (*<a class="code" href="group___mixer.html#g4dc3c4fc95b75a725351dc8e6badc51e">snd_mixer_callback_t</a>)(snd_mixer_t *ctl,<br><a name="l00056"></a>00056                                     <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> mask,<br><a name="l00057"></a>00057                                     snd_mixer_elem_t *elem);<br><a name="l00058"></a>00058 <br><a name="l00065"></a><a class="code" href="group___mixer.html#ge5a8b76b3d124e0bd37cede97b7acf0f">00065</a> <span class="keyword">typedef</span> int (*<a class="code" href="group___mixer.html#ge5a8b76b3d124e0bd37cede97b7acf0f">snd_mixer_elem_callback_t</a>)(snd_mixer_elem_t *elem,<br><a name="l00066"></a>00066                                          <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> mask);<br><a name="l00067"></a>00067 <br><a name="l00074"></a><a class="code" href="group___mixer.html#gd3edc0567564ec99e613915b9fc0c266">00074</a> <span class="keyword">typedef</span> int (*<a class="code" href="group___mixer.html#gd3edc0567564ec99e613915b9fc0c266">snd_mixer_compare_t</a>)(<span class="keyword">const</span> snd_mixer_elem_t *e1,<br><a name="l00075"></a>00075                                    <span class="keyword">const</span> snd_mixer_elem_t *e2);<br><a name="l00076"></a>00076 <br><a name="l00085"></a><a class="code" href="group___mixer.html#g0d85e8a488faf9a48841eed26f0876fb">00085</a> <span class="keyword">typedef</span> int (*<a class="code" href="group___mixer.html#g0d85e8a488faf9a48841eed26f0876fb">snd_mixer_event_t</a>)(snd_mixer_class_t *class_, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> mask,<br><a name="l00086"></a>00086                                  <a class="code" href="group___h_control.html#gca792dcc655dc5caf7fd1f75ccc3f3e8">snd_hctl_elem_t</a> *helem, snd_mixer_elem_t *melem);<br><a name="l00087"></a>00087 <br><a name="l00088"></a>00088 <br><a name="l00090"></a><a class="code" href="group___mixer.html#ga99a4dcac9da72a1b98762dbdb223ad3">00090</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group___mixer.html#ga99a4dcac9da72a1b98762dbdb223ad3">_snd_mixer_elem_type</a> {<br><a name="l00091"></a>00091         <span class="comment">/* Simple mixer elements */</span>
 
45
<a name="l00092"></a>00092         SND_MIXER_ELEM_SIMPLE,<br><a name="l00093"></a>00093         SND_MIXER_ELEM_LAST = SND_MIXER_ELEM_SIMPLE<br><a name="l00094"></a>00094 } <a class="code" href="group___mixer.html#g21023a73a2fdf271df69edeb5a02aeb3">snd_mixer_elem_type_t</a>;<br><a name="l00095"></a>00095 <br><a name="l00096"></a>00096 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g90601adb3be1148e7f9ea8b8d72ea1f9">snd_mixer_open</a>(snd_mixer_t **mixer, <span class="keywordtype">int</span> mode);<br><a name="l00097"></a>00097 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#gfb3f103adbf6e9cd28c3eb6a2663f5e2">snd_mixer_close</a>(snd_mixer_t *mixer);<br><a name="l00098"></a>00098 snd_mixer_elem_t *<a class="code" href="group___mixer.html#g6186f3f72c0a79758b77758ddd1b8e75">snd_mixer_first_elem</a>(snd_mixer_t *mixer);<br><a name="l00099"></a>00099 snd_mixer_elem_t *<a class="code" href="group___mixer.html#g6fbd100367a656a90702d37334488583">snd_mixer_last_elem</a>(snd_mixer_t *mixer);<br><a name="l00100"></a>00100 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#ga5d17a7d0e70b4c198fcf9d23e6b8514">snd_mixer_handle_events</a>(snd_mixer_t *mixer);<br><a name="l00101"></a>00101 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g740a0316561dda2e764b9958652fc336">snd_mixer_attach</a>(snd_mixer_t *mixer, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);<br><a name="l00102"></a>00102 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g4c3c78142bda3142bb9458f5dfd84dfb">snd_mixer_attach_hctl</a>(snd_mixer_t *mixer, <a class="code" href="group___h_control.html#g026390ac507385d40b36850d5dfafcbc">snd_hctl_t</a> *hctl);<br><a name="l00103"></a>00103 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g3c27767505a486c1425caaa50d56cbc9">snd_mixer_detach</a>(snd_mixer_t *mixer, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);<br><a name="l00104"></a>00104 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g6aa83901559278be599ac447c39872ea">snd_mixer_detach_hctl</a>(snd_mixer_t *mixer, <a class="code" href="group___h_control.html#g026390ac507385d40b36850d5dfafcbc">snd_hctl_t</a> *hctl);<br><a name="l00105"></a>00105 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g2ecae8e0e316cccda293dade1e3f9519">snd_mixer_get_hctl</a>(snd_mixer_t *mixer, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="group___h_control.html#g026390ac507385d40b36850d5dfafcbc">snd_hctl_t</a> **hctl);<br><a name="l00106"></a>00106 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g9060e820cb885c2ce2402bd73def2c75">snd_mixer_poll_descriptors_count</a>(snd_mixer_t *mixer);<br><a name="l00107"></a>00107 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g7eec8c8d8916e08388c0dd66d44477ee">snd_mixer_poll_descriptors</a>(snd_mixer_t *mixer, <span class="keyword">struct</span> pollfd *pfds, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> space);<br><a name="l00108"></a>00108 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#gb8859209756614288dbd4c998d5458da">snd_mixer_poll_descriptors_revents</a>(snd_mixer_t *mixer, <span class="keyword">struct</span> pollfd *pfds, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nfds, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> *revents);<br><a name="l00109"></a>00109 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#gccd3c60b4c1c4135a14945e28d228374">snd_mixer_load</a>(snd_mixer_t *mixer);<br><a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g3333cbffd7b225ff83b52ad5ff4db690">snd_mixer_free</a>(snd_mixer_t *mixer);<br><a name="l00111"></a>00111 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g19f23454eba09bf7a75448237f570245">snd_mixer_wait</a>(snd_mixer_t *mixer, <span class="keywordtype">int</span> timeout);<br><a name="l00112"></a>00112 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#ga8046daa5ccafeb902e11e2d167d4ff9">snd_mixer_set_compare</a>(snd_mixer_t *mixer, <a class="code" href="group___mixer.html#gd3edc0567564ec99e613915b9fc0c266">snd_mixer_compare_t</a> msort);<br><a name="l00113"></a>00113 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g249c478636d50f1e1e08c969b4a8019b">snd_mixer_set_callback</a>(snd_mixer_t *obj, <a class="code" href="group___mixer.html#g4dc3c4fc95b75a725351dc8e6badc51e">snd_mixer_callback_t</a> val);<br><a name="l00114"></a>00114 <span class="keywordtype">void</span> * <a class="code" href="group___mixer.html#g1948858287f6b92d7e0594a3c5a1144a">snd_mixer_get_callback_private</a>(<span class="keyword">const</span> snd_mixer_t *obj);<br><a name="l00115"></a>00115 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#gc38782c2eca9742c1cc0df5759951d02">snd_mixer_set_callback_private</a>(snd_mixer_t *obj, <span class="keywordtype">void</span> * val);<br><a name="l00116"></a>00116 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g444c47b34d6480ebe185cea0c787f138">snd_mixer_get_count</a>(<span class="keyword">const</span> snd_mixer_t *obj);<br><a name="l00117"></a>00117 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#ga65a0eb6909c74dd27b0804be55e8fd8">snd_mixer_class_unregister</a>(snd_mixer_class_t *clss);<br><a name="l00118"></a>00118 <br><a name="l00119"></a>00119 snd_mixer_elem_t *<a class="code" href="group___mixer.html#g5e7af2c16b088ac3ded8a1848f7e151d">snd_mixer_elem_next</a>(snd_mixer_elem_t *elem);<br><a name="l00120"></a>00120 snd_mixer_elem_t *<a class="code" href="group___mixer.html#gb294f6a2545b8441a3b65db5b283a8b0">snd_mixer_elem_prev</a>(snd_mixer_elem_t *elem);<br><a name="l00121"></a>00121 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g3b302d9a9e6c8125d7fd8814740eb9bc">snd_mixer_elem_set_callback</a>(snd_mixer_elem_t *obj, <a class="code" href="group___mixer.html#ge5a8b76b3d124e0bd37cede97b7acf0f">snd_mixer_elem_callback_t</a> val);<br><a name="l00122"></a>00122 <span class="keywordtype">void</span> * <a class="code" href="group___mixer.html#g1ef07e90fea79c5e2e731b3222556bb2">snd_mixer_elem_get_callback_private</a>(<span class="keyword">const</span> snd_mixer_elem_t *obj);<br><a name="l00123"></a>00123 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g900fb132b05fdb6cc157fb250ac78951">snd_mixer_elem_set_callback_private</a>(snd_mixer_elem_t *obj, <span class="keywordtype">void</span> * val);<br><a name="l00124"></a>00124 snd_mixer_elem_type_t <a class="code" href="group___mixer.html#g86adeb2a59d90b847d9f3451ad6da5cd">snd_mixer_elem_get_type</a>(<span class="keyword">const</span> snd_mixer_elem_t *obj);<br><a name="l00125"></a>00125 <br><a name="l00126"></a>00126 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g5554fd45deaacace7cc5bd4d405ea806">snd_mixer_class_register</a>(snd_mixer_class_t *class_, snd_mixer_t *mixer);<br><a name="l00127"></a>00127 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g8404a2af7b19957403aa3a226f9c28e1">snd_mixer_elem_new</a>(snd_mixer_elem_t **elem,<br><a name="l00128"></a>00128                        snd_mixer_elem_type_t type,<br><a name="l00129"></a>00129                        <span class="keywordtype">int</span> compare_weight,<br><a name="l00130"></a>00130                        <span class="keywordtype">void</span> *private_data,<br><a name="l00131"></a>00131                        <span class="keywordtype">void</span> (*private_free)(snd_mixer_elem_t *elem));<br><a name="l00132"></a>00132 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g1c77deb60618288946455feb23367c6f">snd_mixer_elem_add</a>(snd_mixer_elem_t *elem, snd_mixer_class_t *class_);<br><a name="l00133"></a>00133 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#gd12dc8ba10e3e060e56edc4a794acefa">snd_mixer_elem_remove</a>(snd_mixer_elem_t *elem);<br><a name="l00134"></a>00134 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g3b831e44cde7c19d0d0ee6d701611ed9">snd_mixer_elem_free</a>(snd_mixer_elem_t *elem);<br><a name="l00135"></a>00135 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g7d64d829bf8b38e28e66070f087043a9">snd_mixer_elem_info</a>(snd_mixer_elem_t *elem);<br><a name="l00136"></a>00136 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#gd50fb598467fd7f5398b6b27089676f6">snd_mixer_elem_value</a>(snd_mixer_elem_t *elem);<br><a name="l00137"></a>00137 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g6003c2bb0440425a9396834733351df0">snd_mixer_elem_attach</a>(snd_mixer_elem_t *melem, <a class="code" href="group___h_control.html#gca792dcc655dc5caf7fd1f75ccc3f3e8">snd_hctl_elem_t</a> *helem);<br><a name="l00138"></a>00138 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g59469e2368383166af7201e113ceeaf5">snd_mixer_elem_detach</a>(snd_mixer_elem_t *melem, <a class="code" href="group___h_control.html#gca792dcc655dc5caf7fd1f75ccc3f3e8">snd_hctl_elem_t</a> *helem);<br><a name="l00139"></a>00139 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g972fbb87fb0a76505500e720d6cc3826">snd_mixer_elem_empty</a>(snd_mixer_elem_t *melem);<br><a name="l00140"></a>00140 <span class="keywordtype">void</span> *<a class="code" href="group___mixer.html#g3fc264d15c6a713ca6679c74750855ec">snd_mixer_elem_get_private</a>(<span class="keyword">const</span> snd_mixer_elem_t *melem);<br><a name="l00141"></a>00141 <br><a name="l00142"></a>00142 size_t <a class="code" href="group___mixer.html#g820c0c088f7cde87ed4b6c55597a78f5">snd_mixer_class_sizeof</a>(<span class="keywordtype">void</span>);<br><a name="l00147"></a><a class="code" href="group___mixer.html#gb74cbcb3de14b6d57f65b0a314b0d761">00147</a> <span class="preprocessor">#define snd_mixer_class_alloca(ptr) __snd_alloca(ptr, snd_mixer_class)</span>
 
46
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g2bbc7ea014d7846e7657d3284227e205">snd_mixer_class_malloc</a>(snd_mixer_class_t **ptr);<br><a name="l00149"></a>00149 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g62f1f04b005ed2fad164b812355a959a">snd_mixer_class_free</a>(snd_mixer_class_t *obj);<br><a name="l00150"></a>00150 <span class="keywordtype">void</span> <a class="code" href="group___mixer.html#g60352483aa60c45068d6cbc693637353">snd_mixer_class_copy</a>(snd_mixer_class_t *dst, <span class="keyword">const</span> snd_mixer_class_t *src);<br><a name="l00151"></a>00151 snd_mixer_t *<a class="code" href="group___mixer.html#g7d1ba46b209a5ba7dd22b757ffcaaf6f">snd_mixer_class_get_mixer</a>(<span class="keyword">const</span> snd_mixer_class_t *class_);<br><a name="l00152"></a>00152 <a class="code" href="group___mixer.html#g0d85e8a488faf9a48841eed26f0876fb">snd_mixer_event_t</a> <a class="code" href="group___mixer.html#g157bac647e7adecbf07c0e95428f1e0d">snd_mixer_class_get_event</a>(<span class="keyword">const</span> snd_mixer_class_t *class_);<br><a name="l00153"></a>00153 <span class="keywordtype">void</span> *<a class="code" href="group___mixer.html#g434bf9d2c2d1e965484b5a65e0771839">snd_mixer_class_get_private</a>(<span class="keyword">const</span> snd_mixer_class_t *class_);<br><a name="l00154"></a>00154 <a class="code" href="group___mixer.html#gd3edc0567564ec99e613915b9fc0c266">snd_mixer_compare_t</a> <a class="code" href="group___mixer.html#g62f0886e49e32c1f9b2cf9f30c1fca80">snd_mixer_class_get_compare</a>(<span class="keyword">const</span> snd_mixer_class_t *class_);<br><a name="l00155"></a>00155 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g9465a43555ee6941ea5769025fb504a6">snd_mixer_class_set_event</a>(snd_mixer_class_t *class_, <a class="code" href="group___mixer.html#g0d85e8a488faf9a48841eed26f0876fb">snd_mixer_event_t</a> event);<br><a name="l00156"></a>00156 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#g774818680e03159aa4d0d0be0849d5e5">snd_mixer_class_set_private</a>(snd_mixer_class_t *class_, <span class="keywordtype">void</span> *private_data);<br><a name="l00157"></a>00157 <span class="keywordtype">int</span> snd_mixer_class_set_private_free(snd_mixer_class_t *class_, <span class="keywordtype">void</span> (*private_free)(snd_mixer_class_t *class_));<br><a name="l00158"></a>00158 <span class="keywordtype">int</span> <a class="code" href="group___mixer.html#gafa1501403655d4b4182980f35cc9a52">snd_mixer_class_set_compare</a>(snd_mixer_class_t *class_, <a class="code" href="group___mixer.html#gd3edc0567564ec99e613915b9fc0c266">snd_mixer_compare_t</a> compare);<br><a name="l00159"></a>00159 <br><a name="l00167"></a>00167 <span class="comment">/* Simple mixer elements API */</span>
 
47
<a name="l00168"></a>00168 <br><a name="l00170"></a><a class="code" href="group___simple_mixer.html#g9cb8437b2f92d168c43e4da2c667e823">00170</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group___simple_mixer.html#g9cb8437b2f92d168c43e4da2c667e823">_snd_mixer_selem_channel_id</a> {<br><a name="l00172"></a>00172         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823cdc628e5b7d41132ea44d61396f1158e">SND_MIXER_SCHN_UNKNOWN</a> = -1,<br><a name="l00174"></a>00174         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823ec8cd42c8a99039e059a09590a7e21d1">SND_MIXER_SCHN_FRONT_LEFT</a> = 0,<br><a name="l00176"></a>00176         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823c759af0cda3a148fa23d9a388c5f9294">SND_MIXER_SCHN_FRONT_RIGHT</a>,<br><a name="l00178"></a>00178         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e82381a9a10cb55c883f4e227e852e91fabd">SND_MIXER_SCHN_REAR_LEFT</a>,<br><a name="l00180"></a>00180         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823b158b2c514da90d9a176f0063b728a46">SND_MIXER_SCHN_REAR_RIGHT</a>,<br><a name="l00182"></a>00182         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e8238b741d02fe8619ed97c434076039e16a">SND_MIXER_SCHN_FRONT_CENTER</a>,<br><a name="l00184"></a>00184         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823024d0766f7a77751cb847a7d7d33f20c">SND_MIXER_SCHN_WOOFER</a>,<br><a name="l00186"></a>00186         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823d12c9eedb64b3745ddab63721236e30f">SND_MIXER_SCHN_SIDE_LEFT</a>,<br><a name="l00188"></a>00188         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e8234e4d2a0c5bf198e292630f22e2fc869a">SND_MIXER_SCHN_SIDE_RIGHT</a>,<br><a name="l00190"></a>00190         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e8238a447bb0fea46e4fe1b74c58eb4dd057">SND_MIXER_SCHN_REAR_CENTER</a>,<br><a name="l00191"></a>00191         SND_MIXER_SCHN_LAST = 31,<br><a name="l00193"></a>00193         <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823a9508a2bab94b9c253e7fc9ca27974d4">SND_MIXER_SCHN_MONO</a> = <a class="code" href="group___simple_mixer.html#gg9cb8437b2f92d168c43e4da2c667e823ec8cd42c8a99039e059a09590a7e21d1">SND_MIXER_SCHN_FRONT_LEFT</a>
 
48
<a name="l00194"></a>00194 } <a class="code" href="group___simple_mixer.html#g8f5d1a3cbb3c7bae676ec48cbed35d8a">snd_mixer_selem_channel_id_t</a>;<br><a name="l00195"></a>00195 <br><a name="l00197"></a><a class="code" href="group___simple_mixer.html#g0044807305d170d960f92987fe488c8b">00197</a> <span class="keyword">enum</span> <a class="code" href="group___simple_mixer.html#g0044807305d170d960f92987fe488c8b">snd_mixer_selem_regopt_abstract</a> {<br><a name="l00199"></a>00199         <a class="code" href="group___simple_mixer.html#gg0044807305d170d960f92987fe488c8b1557922a77d7ffa5e1ee4b1f566dd4c8">SND_MIXER_SABSTRACT_NONE</a> = 0,<br><a name="l00201"></a>00201         <a class="code" href="group___simple_mixer.html#gg0044807305d170d960f92987fe488c8b96ebd03d2304fdbd6a6810efa91abde6">SND_MIXER_SABSTRACT_BASIC</a>,<br><a name="l00202"></a>00202 };<br><a name="l00203"></a>00203 <br><a name="l00205"></a><a class="code" href="structsnd__mixer__selem__regopt.html">00205</a> <span class="keyword">struct </span><a class="code" href="structsnd__mixer__selem__regopt.html">snd_mixer_selem_regopt</a> {<br><a name="l00207"></a><a class="code" href="structsnd__mixer__selem__regopt.html#d84cd33893f6101a9bf14023ef70c09e">00207</a>         <span class="keywordtype">int</span> <a class="code" href="structsnd__mixer__selem__regopt.html#d84cd33893f6101a9bf14023ef70c09e">ver</a>;<br><a name="l00209"></a><a class="code" href="structsnd__mixer__selem__regopt.html#7f103fc79fa0c9a791811159fe079544">00209</a>         <span class="keyword">enum</span> <a class="code" href="group___simple_mixer.html#g0044807305d170d960f92987fe488c8b">snd_mixer_selem_regopt_abstract</a> <span class="keyword">abstract</span>;<br><a name="l00211"></a><a class="code" href="structsnd__mixer__selem__regopt.html#551659b554959ea7315096d41546b45d">00211</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structsnd__mixer__selem__regopt.html#551659b554959ea7315096d41546b45d">device</a>;<br><a name="l00213"></a><a class="code" href="structsnd__mixer__selem__regopt.html#4bfb74d55cb637c4394f0d02a428557c">00213</a>         <a class="code" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> *<a class="code" href="structsnd__mixer__selem__regopt.html#4bfb74d55cb637c4394f0d02a428557c">playback_pcm</a>;<br><a name="l00215"></a><a class="code" href="structsnd__mixer__selem__regopt.html#6b39449a7ebd2ac56ba0aefa2d607d32">00215</a>         <a class="code" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> *<a class="code" href="structsnd__mixer__selem__regopt.html#6b39449a7ebd2ac56ba0aefa2d607d32">capture_pcm</a>;<br><a name="l00216"></a>00216 };<br><a name="l00217"></a>00217 <br><a name="l00219"></a><a class="code" href="group___simple_mixer.html#gb4f1ed74fe746872ba5017c03af98f58">00219</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_snd_mixer_selem_id snd_mixer_selem_id_t;<br><a name="l00220"></a>00220 <br><a name="l00221"></a>00221 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group___simple_mixer.html#gc74a226f746427a554a0a08e5ac34c6f">snd_mixer_selem_channel_name</a>(snd_mixer_selem_channel_id_t channel);<br><a name="l00222"></a>00222 <br><a name="l00223"></a>00223 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g24170fa75a27120fd6d21e9c68921999">snd_mixer_selem_register</a>(snd_mixer_t *mixer,<br><a name="l00224"></a>00224                              <span class="keyword">struct</span> <a class="code" href="structsnd__mixer__selem__regopt.html">snd_mixer_selem_regopt</a> *options,<br><a name="l00225"></a>00225                              snd_mixer_class_t **classp);<br><a name="l00226"></a>00226 <span class="keywordtype">void</span> <a class="code" href="group___simple_mixer.html#gd35258f53481c93fcbf9c58b17302019">snd_mixer_selem_get_id</a>(snd_mixer_elem_t *element,<br><a name="l00227"></a>00227                             snd_mixer_selem_id_t *<span class="keywordtype">id</span>);<br><a name="l00228"></a>00228 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group___simple_mixer.html#g9fad082a01f7d5971eb91bd30ab6dc7f">snd_mixer_selem_get_name</a>(snd_mixer_elem_t *elem);<br><a name="l00229"></a>00229 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g3443fbb62c125c88009097e7fafe214f">snd_mixer_selem_get_index</a>(snd_mixer_elem_t *elem);<br><a name="l00230"></a>00230 snd_mixer_elem_t *<a class="code" href="group___simple_mixer.html#gbfacae421f1cf940ee2d0ba78b3093c8">snd_mixer_find_selem</a>(snd_mixer_t *mixer,<br><a name="l00231"></a>00231                                        <span class="keyword">const</span> snd_mixer_selem_id_t *<span class="keywordtype">id</span>);<br><a name="l00232"></a>00232 <br><a name="l00233"></a>00233 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gaa3f014760c9562e1a829358f05a8193">snd_mixer_selem_is_active</a>(snd_mixer_elem_t *elem);<br><a name="l00234"></a>00234 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gef52df288f8a28bc1a28d48e7176b106">snd_mixer_selem_is_playback_mono</a>(snd_mixer_elem_t *elem);<br><a name="l00235"></a>00235 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gaa726b752ebc5bef733d862f50fca9fc">snd_mixer_selem_has_playback_channel</a>(snd_mixer_elem_t *obj, snd_mixer_selem_channel_id_t channel);<br><a name="l00236"></a>00236 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g0292676a9f7b7876e62c700b013040fc">snd_mixer_selem_is_capture_mono</a>(snd_mixer_elem_t *elem);<br><a name="l00237"></a>00237 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g6c8f99a806bacdf67917f30fe5f4a50a">snd_mixer_selem_has_capture_channel</a>(snd_mixer_elem_t *obj, snd_mixer_selem_channel_id_t channel);<br><a name="l00238"></a>00238 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gba8f20771f75229ca82bb22ea773f4fe">snd_mixer_selem_get_capture_group</a>(snd_mixer_elem_t *elem);<br><a name="l00239"></a>00239 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g1e788ae7f7d1b19e88c5cbe9b96d03b1">snd_mixer_selem_has_common_volume</a>(snd_mixer_elem_t *elem);<br><a name="l00240"></a>00240 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g84226ad01a258429ba541dd56f88f0a2">snd_mixer_selem_has_playback_volume</a>(snd_mixer_elem_t *elem);<br><a name="l00241"></a>00241 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g9cc203bf18ef04c7387cd288b968e160">snd_mixer_selem_has_playback_volume_joined</a>(snd_mixer_elem_t *elem);<br><a name="l00242"></a>00242 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g70f099f0b2f0affddaa8dce7c4861759">snd_mixer_selem_has_capture_volume</a>(snd_mixer_elem_t *elem);<br><a name="l00243"></a>00243 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gdcadc5b9ce9ee7e6bf6dfd80f1cafe34">snd_mixer_selem_has_capture_volume_joined</a>(snd_mixer_elem_t *elem);<br><a name="l00244"></a>00244 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g3ead41f0107994baba5e13784658a765">snd_mixer_selem_has_common_switch</a>(snd_mixer_elem_t *elem);<br><a name="l00245"></a>00245 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g7c48994c56f2b28b13dfe7ead8293221">snd_mixer_selem_has_playback_switch</a>(snd_mixer_elem_t *elem);<br><a name="l00246"></a>00246 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gbfdfbfab61683959820c7375e14878c6">snd_mixer_selem_has_playback_switch_joined</a>(snd_mixer_elem_t *elem);<br><a name="l00247"></a>00247 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g359ceec5da19efbb87930346afa0c7a1">snd_mixer_selem_has_capture_switch</a>(snd_mixer_elem_t *elem);<br><a name="l00248"></a>00248 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gf3ffec9ba3fdc3da95c9cb87cb10183d">snd_mixer_selem_has_capture_switch_joined</a>(snd_mixer_elem_t *elem);<br><a name="l00249"></a>00249 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g899fecbddf8f6dae9466747d27963c99">snd_mixer_selem_has_capture_switch_exclusive</a>(snd_mixer_elem_t *elem);<br><a name="l00250"></a>00250 <br><a name="l00251"></a>00251 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g8327551c5b0c236212a6586232dfb935">snd_mixer_selem_ask_playback_vol_dB</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> value, <span class="keywordtype">long</span> *dBvalue);<br><a name="l00252"></a>00252 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#ga44bb521deb0e6cf0840454dc9f24a8c">snd_mixer_selem_ask_capture_vol_dB</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> value, <span class="keywordtype">long</span> *dBvalue);<br><a name="l00253"></a>00253 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g9d470cd7acce1c1d432577bfbe71109a">snd_mixer_selem_ask_playback_dB_vol</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> dBvalue, <span class="keywordtype">int</span> dir, <span class="keywordtype">long</span> *value);<br><a name="l00254"></a>00254 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g4b4309b7c65f3423fdda2df2a43bc202">snd_mixer_selem_ask_capture_dB_vol</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> dBvalue, <span class="keywordtype">int</span> dir, <span class="keywordtype">long</span> *value);<br><a name="l00255"></a>00255 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g42cc5bff78f07f3cb950cf76c927a8e2">snd_mixer_selem_get_playback_volume</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> *value);<br><a name="l00256"></a>00256 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g56dce6e2377246356b518f649bf5d37f">snd_mixer_selem_get_capture_volume</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> *value);<br><a name="l00257"></a>00257 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g4668901db28c8fe1ccbc3900daf56ca7">snd_mixer_selem_get_playback_dB</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> *value);<br><a name="l00258"></a>00258 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gc4feb2d07c391121504b24b4486a5958">snd_mixer_selem_get_capture_dB</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> *value);<br><a name="l00259"></a>00259 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g515a19c1444336607a3659e2cc36b4e0">snd_mixer_selem_get_playback_switch</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">int</span> *value);<br><a name="l00260"></a>00260 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g1a4859280cc2559f0729e9515050b257">snd_mixer_selem_get_capture_switch</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">int</span> *value);<br><a name="l00261"></a>00261 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g357ce595fdcf6c2fdd29f68a86a2ce34">snd_mixer_selem_set_playback_volume</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> value);<br><a name="l00262"></a>00262 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g87d6d8120ea05dcd1c7fa08d518fb3a9">snd_mixer_selem_set_capture_volume</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> value);<br><a name="l00263"></a>00263 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gef9c6ce9deb46de7b5727dc9982dc6d6">snd_mixer_selem_set_playback_dB</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> value, <span class="keywordtype">int</span> dir);<br><a name="l00264"></a>00264 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g7e6f5cedd65ce104e05eb87f1c90a6e2">snd_mixer_selem_set_capture_dB</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">long</span> value, <span class="keywordtype">int</span> dir);<br><a name="l00265"></a>00265 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#ge7c7dff3ff32a5e9bd6a3cf153a6d672">snd_mixer_selem_set_playback_volume_all</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> value);<br><a name="l00266"></a>00266 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g5ccb2beca2337733940a0c82c639400a">snd_mixer_selem_set_capture_volume_all</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> value);<br><a name="l00267"></a>00267 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gc3283ff82ecbf5f74fef96b6f14d1f69">snd_mixer_selem_set_playback_dB_all</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> value, <span class="keywordtype">int</span> dir);<br><a name="l00268"></a>00268 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gf27a252cdb0fe0490dba0f1df31200c1">snd_mixer_selem_set_capture_dB_all</a>(snd_mixer_elem_t *elem, <span class="keywordtype">long</span> value, <span class="keywordtype">int</span> dir);<br><a name="l00269"></a>00269 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gb7b38fb47de9d8bca2896734ff7127f7">snd_mixer_selem_set_playback_switch</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">int</span> value);<br><a name="l00270"></a>00270 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gb00d57a633b8401be3fd802f3767e1c1">snd_mixer_selem_set_capture_switch</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">int</span> value);<br><a name="l00271"></a>00271 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g4866a16c77cea5ba21c8dc19b1ccdcf1">snd_mixer_selem_set_playback_switch_all</a>(snd_mixer_elem_t *elem, <span class="keywordtype">int</span> value);<br><a name="l00272"></a>00272 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g37f0a98899b7f5a99a098abfbded76e1">snd_mixer_selem_set_capture_switch_all</a>(snd_mixer_elem_t *elem, <span class="keywordtype">int</span> value);<br><a name="l00273"></a>00273 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#ga1f97265df1bc8feb4909d9e28855818">snd_mixer_selem_get_playback_volume_range</a>(snd_mixer_elem_t *elem, <br><a name="l00274"></a>00274                                               <span class="keywordtype">long</span> *min, <span class="keywordtype">long</span> *max);<br><a name="l00275"></a>00275 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g4c00b34a7cdc98e9f70f52c887fb08d4">snd_mixer_selem_get_playback_dB_range</a>(snd_mixer_elem_t *elem, <br><a name="l00276"></a>00276                                           <span class="keywordtype">long</span> *min, <span class="keywordtype">long</span> *max);<br><a name="l00277"></a>00277 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g8b91bb96612ab8bda275b882fac4db0c">snd_mixer_selem_set_playback_volume_range</a>(snd_mixer_elem_t *elem, <br><a name="l00278"></a>00278                                               <span class="keywordtype">long</span> min, <span class="keywordtype">long</span> max);<br><a name="l00279"></a>00279 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#ge16c30edebc10981c99b2d7f92495c93">snd_mixer_selem_get_capture_volume_range</a>(snd_mixer_elem_t *elem, <br><a name="l00280"></a>00280                                              <span class="keywordtype">long</span> *min, <span class="keywordtype">long</span> *max);<br><a name="l00281"></a>00281 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#gb33532dd173b406e572228582cbdfb27">snd_mixer_selem_get_capture_dB_range</a>(snd_mixer_elem_t *elem, <br><a name="l00282"></a>00282                                          <span class="keywordtype">long</span> *min, <span class="keywordtype">long</span> *max);<br><a name="l00283"></a>00283 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g988caf0bf7564df943f6a834061398f0">snd_mixer_selem_set_capture_volume_range</a>(snd_mixer_elem_t *elem, <br><a name="l00284"></a>00284                                              <span class="keywordtype">long</span> min, <span class="keywordtype">long</span> max);<br><a name="l00285"></a>00285 <br><a name="l00286"></a>00286 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#ge56251df9a3a6f1c092cd2f6039afa7d">snd_mixer_selem_is_enumerated</a>(snd_mixer_elem_t *elem);<br><a name="l00287"></a>00287 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g702afc81b46e149d90e795463d21ef01">snd_mixer_selem_is_enum_playback</a>(snd_mixer_elem_t *elem);<br><a name="l00288"></a>00288 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g3095e085ce424d4ceb12f57e14db3123">snd_mixer_selem_is_enum_capture</a>(snd_mixer_elem_t *elem);<br><a name="l00289"></a>00289 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g23600e756612dca7ea8329994590fa19">snd_mixer_selem_get_enum_items</a>(snd_mixer_elem_t *elem);<br><a name="l00290"></a>00290 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g9587dbcae9d48d2c85ac36eb257d72e8">snd_mixer_selem_get_enum_item_name</a>(snd_mixer_elem_t *elem, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, size_t maxlen, <span class="keywordtype">char</span> *str);<br><a name="l00291"></a>00291 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#ga43b504a6e17c3a06fa14ef1af227b21">snd_mixer_selem_get_enum_item</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *idxp);<br><a name="l00292"></a>00292 <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g2ee145356cbf778330ca15ee2eeee4ae">snd_mixer_selem_set_enum_item</a>(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx);<br><a name="l00293"></a>00293 <br><a name="l00294"></a>00294 size_t <a class="code" href="group___simple_mixer.html#g78123601e82c8199a1cd4a5c7c58440f">snd_mixer_selem_id_sizeof</a>(<span class="keywordtype">void</span>);<br><a name="l00299"></a><a class="code" href="group___simple_mixer.html#g4c459d574b29f925bbf122fe32d5227f">00299</a> <span class="preprocessor">#define snd_mixer_selem_id_alloca(ptr) __snd_alloca(ptr, snd_mixer_selem_id)</span>
 
49
<a name="l00300"></a>00300 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g03e09700af6960f542b54c701d4bca37">snd_mixer_selem_id_malloc</a>(snd_mixer_selem_id_t **ptr);<br><a name="l00301"></a>00301 <span class="keywordtype">void</span> <a class="code" href="group___simple_mixer.html#g419437ff4da7b139e2ab9157503244a7">snd_mixer_selem_id_free</a>(snd_mixer_selem_id_t *obj);<br><a name="l00302"></a>00302 <span class="keywordtype">void</span> <a class="code" href="group___simple_mixer.html#gf4a4745a74fc3a6ec55f4661ef313e59">snd_mixer_selem_id_copy</a>(snd_mixer_selem_id_t *dst, <span class="keyword">const</span> snd_mixer_selem_id_t *src);<br><a name="l00303"></a>00303 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group___simple_mixer.html#g85f63a660119b273b3fc19c8266be6c7">snd_mixer_selem_id_get_name</a>(<span class="keyword">const</span> snd_mixer_selem_id_t *obj);<br><a name="l00304"></a>00304 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group___simple_mixer.html#g1878eb97ad5955c4d22958fde5920eb6">snd_mixer_selem_id_get_index</a>(<span class="keyword">const</span> snd_mixer_selem_id_t *obj);<br><a name="l00305"></a>00305 <span class="keywordtype">void</span> <a class="code" href="group___simple_mixer.html#g4a7e119226485e0d8f467d7d3af6dc19">snd_mixer_selem_id_set_name</a>(snd_mixer_selem_id_t *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *val);<br><a name="l00306"></a>00306 <span class="keywordtype">void</span> <a class="code" href="group___simple_mixer.html#g885b5b766a8b9761b374a06fd0793191">snd_mixer_selem_id_set_index</a>(snd_mixer_selem_id_t *obj, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);<br><a name="l00307"></a>00307 <br><a name="l00312"></a>00312 <span class="preprocessor">#ifdef __cplusplus</span>
 
50
<a name="l00313"></a>00313 <span class="preprocessor"></span>}<br><a name="l00314"></a>00314 <span class="preprocessor">#endif</span>
 
51
<a name="l00315"></a>00315 <span class="preprocessor"></span>
 
52
<a name="l00316"></a>00316 <span class="preprocessor">#endif </span><span class="comment">/* __ALSA_MIXER_H */</span>
 
53
<a name="l00317"></a>00317 <br></pre></div><hr size="1"><address style=""><small>Generated on Wed Sep 9 14:37:08 2009 for ALSA project - the C library reference by&nbsp;
 
54
<a href="http://www.doxygen.org/index.html">
 
55
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
 
56
</body></html>
 
 
b'\\ No newline at end of file'