/usr/share/doc/libasound2-doc/html/mixer_8c.html is in libasound2-doc 1.0.25-1ubuntu10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>ALSA project - the C library reference: /build/buildd/alsa-lib-1.0.25/src/mixer/mixer.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">ALSA project - the C library reference
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">/build/buildd/alsa-lib-1.0.25/src/mixer/mixer.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Mixer Interface.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga240cfebce7d68f22875d76e99cf19394">snd_mixer_open</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> **mixerp, int mode)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Opens an empty mixer. <a href="group___mixer.html#ga240cfebce7d68f22875d76e99cf19394"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gabe7f0255c9a981a6c73a8edf359781cc">snd_mixer_elem_attach</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *melem, <a class="el" href="group___h_control.html#gaddfb152863e87857d463c7008d72ad74">snd_hctl_elem_t</a> *helem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Attach an HCTL element to a mixer element. <a href="group___mixer.html#gabe7f0255c9a981a6c73a8edf359781cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga7413e8f80e2e556c75c6b9fc7d0598f9">snd_mixer_elem_detach</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *melem, <a class="el" href="group___h_control.html#gaddfb152863e87857d463c7008d72ad74">snd_hctl_elem_t</a> *helem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Detach an HCTL element from a mixer element. <a href="group___mixer.html#ga7413e8f80e2e556c75c6b9fc7d0598f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gae0541b86ecfc094a172b4cd29bb70fd0">snd_mixer_elem_empty</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *melem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if a mixer element does not contain any HCTL elements. <a href="group___mixer.html#gae0541b86ecfc094a172b4cd29bb70fd0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga8c36e99e3d2ab0cb76a5acd203face45">snd_mixer_attach</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Attach an HCTL specified with the CTL device name to an opened mixer. <a href="group___mixer.html#ga8c36e99e3d2ab0cb76a5acd203face45"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga01e5feeb925addfc245ce81c037b1397">snd_mixer_attach_hctl</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, <a class="el" href="group___h_control.html#ga13c9ad52c57ab7db06065a7f806b2369">snd_hctl_t</a> *hctl)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Attach an HCTL to an opened mixer. <a href="group___mixer.html#ga01e5feeb925addfc245ce81c037b1397"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga99ca1c15d46d5f194a216d5e0a8e9229">snd_mixer_detach</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Detach a previously attached HCTL to an opened mixer freeing all related resources. <a href="group___mixer.html#ga99ca1c15d46d5f194a216d5e0a8e9229"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga63b6f8183e08a2b3e6bb83638828e8df">snd_mixer_detach_hctl</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, <a class="el" href="group___h_control.html#ga13c9ad52c57ab7db06065a7f806b2369">snd_hctl_t</a> *hctl)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Detach a previously attached HCTL to an opened mixer freeing all related resources. <a href="group___mixer.html#ga63b6f8183e08a2b3e6bb83638828e8df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gafbbaedd662ea57e573e09f39ca8b247c">snd_mixer_get_hctl</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, const char *name, <a class="el" href="group___h_control.html#ga13c9ad52c57ab7db06065a7f806b2369">snd_hctl_t</a> **hctl)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a HCTL pointer associated to given name. <a href="group___mixer.html#gafbbaedd662ea57e573e09f39ca8b247c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga4cfddf235c06ae83765ecfd45c5a95d0">snd_mixer_elem_get_private</a> (const <a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get private data associated to give mixer element. <a href="group___mixer.html#ga4cfddf235c06ae83765ecfd45c5a95d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga226cf962e72b6132fd61cbd434b28941">snd_mixer_elem_new</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> **elem, <a class="el" href="group___mixer.html#ga18a15493e66cc90ab851e49161d28b4c">snd_mixer_elem_type_t</a> type, int compare_weight, void *private_data, void(*private_free)(<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allocate a new mixer element. <a href="group___mixer.html#ga226cf962e72b6132fd61cbd434b28941"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga3b0e73914256f2125d2b7bb48d602457">snd_mixer_elem_add</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem, <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *class)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an element for a registered mixer element class. <a href="group___mixer.html#ga3b0e73914256f2125d2b7bb48d602457"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gacad36ead935e96f75fe44cf8dd4afa2a">snd_mixer_elem_remove</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a mixer element. <a href="group___mixer.html#gacad36ead935e96f75fe44cf8dd4afa2a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga40d8bf56621085d5ed5a7e92ad067e03">snd_mixer_elem_free</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Free a mixer element. <a href="group___mixer.html#ga40d8bf56621085d5ed5a7e92ad067e03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gae4a32f9d571201a2bf33a65340dc9afd">snd_mixer_elem_info</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mixer element informations are changed. <a href="group___mixer.html#gae4a32f9d571201a2bf33a65340dc9afd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga0d23278769e37532f810cecf2ffffacb">snd_mixer_elem_value</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mixer element values is changed. <a href="group___mixer.html#ga0d23278769e37532f810cecf2ffffacb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga595cbd9394f85f9af4a6b30e748e3930">snd_mixer_class_register</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *class, <a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Register mixer element class. <a href="group___mixer.html#ga595cbd9394f85f9af4a6b30e748e3930"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga6a7bf3805fbbfc3f6f8243e91fbce5f6">snd_mixer_class_unregister</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *class)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unregister mixer element class and remove all its elements. <a href="group___mixer.html#ga6a7bf3805fbbfc3f6f8243e91fbce5f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga24b6077528d04cb9fca072b3ae109aef">snd_mixer_load</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Load a mixer elements. <a href="group___mixer.html#ga24b6077528d04cb9fca072b3ae109aef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga93a71c28e82c04e4c732703e309910fd">snd_mixer_free</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unload all mixer elements and free all related resources. <a href="group___mixer.html#ga93a71c28e82c04e4c732703e309910fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga9deea3f628bf737001d968620cfd3b1a">snd_mixer_close</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Close a mixer and free all related resources. <a href="group___mixer.html#ga9deea3f628bf737001d968620cfd3b1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gac7e1bbe5d5b69a6ee67d5bced6325a67">snd_mixer_set_compare</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, <a class="el" href="group___mixer.html#gae133dc10af535ebba0c717c23889f619">snd_mixer_compare_t</a> compare)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change mixer compare function and reorder elements. <a href="group___mixer.html#gac7e1bbe5d5b69a6ee67d5bced6325a67"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gab3ee14782a19e6d62acbdcdb5f9f7786">snd_mixer_poll_descriptors_count</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get count of poll descriptors for mixer handle <a href="group___mixer.html#gab3ee14782a19e6d62acbdcdb5f9f7786"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga07f7bc33587907988aaffc03ce72367e">snd_mixer_poll_descriptors</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, struct pollfd *pfds, unsigned int space)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get poll descriptors <a href="group___mixer.html#ga07f7bc33587907988aaffc03ce72367e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gab26686311756ee3c66e05766227df818">snd_mixer_poll_descriptors_revents</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get returned events from poll descriptors <a href="group___mixer.html#gab26686311756ee3c66e05766227df818"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga072846849f4bc2058336fd6601f18a15">snd_mixer_wait</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, int timeout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Wait for a mixer to become ready (i.e. at least one event pending) <a href="group___mixer.html#ga072846849f4bc2058336fd6601f18a15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gaffccf51ddf8ecdc357b216cb979a2318">snd_mixer_first_elem</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get first element for a mixer <a href="group___mixer.html#gaffccf51ddf8ecdc357b216cb979a2318"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga51121b263ea3d3ee9367aabfd338ef11">snd_mixer_last_elem</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get last element for a mixer <a href="group___mixer.html#ga51121b263ea3d3ee9367aabfd338ef11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga68254228ef108122b8178087ea0fcc16">snd_mixer_elem_next</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get next mixer element <a href="group___mixer.html#ga68254228ef108122b8178087ea0fcc16"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gaaf9a9dfe1d52f40df2be517621f9474a">snd_mixer_elem_prev</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *elem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get previous mixer element <a href="group___mixer.html#gaaf9a9dfe1d52f40df2be517621f9474a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gae0cfb6b50ec2493281107b0649f87cb8">snd_mixer_handle_events</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handle pending mixer events invoking callbacks. <a href="group___mixer.html#gae0cfb6b50ec2493281107b0649f87cb8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga691a593ea0a32f9535fff83b00a0a574">snd_mixer_set_callback</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *obj, <a class="el" href="group___mixer.html#ga9e108905ed4fa236faa49f003c002d95">snd_mixer_callback_t</a> val)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set callback function for a mixer. <a href="group___mixer.html#ga691a593ea0a32f9535fff83b00a0a574"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gab91fc99ac65c866e660d4d8be0cb3e17">snd_mixer_set_callback_private</a> (<a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer, void *val)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set callback private value for a mixer. <a href="group___mixer.html#gab91fc99ac65c866e660d4d8be0cb3e17"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga9cfc303fa34eb234efeb52151838f88b">snd_mixer_get_callback_private</a> (const <a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get callback private value for a mixer. <a href="group___mixer.html#ga9cfc303fa34eb234efeb52151838f88b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga3447c190c69cfce4c52df4ad3300e319">snd_mixer_get_count</a> (const <a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get elements count for a mixer. <a href="group___mixer.html#ga3447c190c69cfce4c52df4ad3300e319"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga01e1fd766a313ce513f561bd03c98317">snd_mixer_elem_set_callback</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *mixer, <a class="el" href="group___mixer.html#gabb270fe0068703dee2df0caffa69498f">snd_mixer_elem_callback_t</a> val)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set callback function for a mixer element. <a href="group___mixer.html#ga01e1fd766a313ce513f561bd03c98317"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga4fb4ea11326c1cb1fdbf5dac0444507e">snd_mixer_elem_set_callback_private</a> (<a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *mixer, void *val)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set callback private value for a mixer element. <a href="group___mixer.html#ga4fb4ea11326c1cb1fdbf5dac0444507e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga78c51ad2e60617137e47ad1d58b45916">snd_mixer_elem_get_callback_private</a> (const <a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get callback private value for a mixer element. <a href="group___mixer.html#ga78c51ad2e60617137e47ad1d58b45916"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#ga18a15493e66cc90ab851e49161d28b4c">snd_mixer_elem_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga1083ba441bb93da13f79bc0cda226ea3">snd_mixer_elem_get_type</a> (const <a class="el" href="group___mixer.html#ga9bb5eb24e4feea6c1a04c79b77938ef9">snd_mixer_elem_t</a> *mixer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get type for a mixer element. <a href="group___mixer.html#ga1083ba441bb93da13f79bc0cda226ea3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gaa61b83017a92b67ea27a18777dcd141d">snd_mixer_class_sizeof</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get size of <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> <a href="group___mixer.html#gaa61b83017a92b67ea27a18777dcd141d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gadc36fd49fdeccc37c41fc700d29adf39">snd_mixer_class_malloc</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> **<a class="el" href="seq__event_8h.html#add9af9569af79ec26dd741fb226b38ba">ptr</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate an invalid <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> using standard malloc <a href="group___mixer.html#gadc36fd49fdeccc37c41fc700d29adf39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gafef7028555b5c50b9bb072ba6d441ddb">snd_mixer_class_free</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">frees a previously allocated <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> <a href="group___mixer.html#gafef7028555b5c50b9bb072ba6d441ddb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gabaaa35c5538fec113fffdaff4cbed2fc">snd_mixer_class_copy</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *dst, const <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *src)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy one <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> to another <a href="group___mixer.html#gabaaa35c5538fec113fffdaff4cbed2fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#ga34161447bc01a64f578456ed13d57e33">snd_mixer_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga07e5edf36e361b3c1293ed14d2ef5b76">snd_mixer_class_get_mixer</a> (const <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a mixer associated to given mixer class. <a href="group___mixer.html#ga07e5edf36e361b3c1293ed14d2ef5b76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#gacad1f279dc4c9dcd259293b3b38196ef">snd_mixer_event_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga5744823b495ae331e7dd60f2abdf3589">snd_mixer_class_get_event</a> (const <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get mixer event callback associated to given mixer class. <a href="group___mixer.html#ga5744823b495ae331e7dd60f2abdf3589"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#ga95b50447f32262756143cd7d9e76997c">snd_mixer_class_get_private</a> (const <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get mixer private data associated to given mixer class. <a href="group___mixer.html#ga95b50447f32262756143cd7d9e76997c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___mixer.html#gae133dc10af535ebba0c717c23889f619">snd_mixer_compare_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gad7182d1d18653709bf26fc53a8b1a94f">snd_mixer_class_get_compare</a> (const <a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get mixer compare callback associated to given mixer class. <a href="group___mixer.html#gad7182d1d18653709bf26fc53a8b1a94f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gad0162769035880347ea9af0dbc518e79">snd_mixer_class_set_event</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj, <a class="el" href="group___mixer.html#gacad1f279dc4c9dcd259293b3b38196ef">snd_mixer_event_t</a> event)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set mixer event callback to given mixer class. <a href="group___mixer.html#gad0162769035880347ea9af0dbc518e79"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gaf3b845bb0637fc59cacfe59ef29398d2">snd_mixer_class_set_private</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj, void *private_data)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set mixer private data to given mixer class. <a href="group___mixer.html#gaf3b845bb0637fc59cacfe59ef29398d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="mixer_8c.html#aff1fddf7d4a2fe613661710e5b34de4f">snd_mixer_class_set_private_free</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj, void(*private_free)(<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *class))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set mixer private data free callback to given mixer class. <a href="#aff1fddf7d4a2fe613661710e5b34de4f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___mixer.html#gab389fb10998a950207001e3f8abead26">snd_mixer_class_set_compare</a> (<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *obj, <a class="el" href="group___mixer.html#gae133dc10af535ebba0c717c23889f619">snd_mixer_compare_t</a> compare)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set mixer compare callback to given mixer class. <a href="group___mixer.html#gab389fb10998a950207001e3f8abead26"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Mixer Interface. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Jaroslav Kysela <<a href="mailto:perex@perex.cz">perex@perex.cz</a>> </dd>
<dd>
Abramo Bagnara <<a href="mailto:abramo@alsa-project.org">abramo@alsa-project.org</a>> </dd></dl>
<dl class="date"><dt><b>Date:</b></dt><dd>2001</dd></dl>
<p>Mixer interface is designed to access mixer elements. Callbacks may be used for event handling. </p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="aff1fddf7d4a2fe613661710e5b34de4f"></a><!-- doxytag: member="mixer.c::snd_mixer_class_set_private_free" ref="aff1fddf7d4a2fe613661710e5b34de4f" args="(snd_mixer_class_t *obj, void(*private_free)(snd_mixer_class_t *class))" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="mixer_8c.html#aff1fddf7d4a2fe613661710e5b34de4f">snd_mixer_class_set_private_free</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> * </td>
<td class="paramname"><em>obj</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void(*)(<a class="el" href="group___mixer.html#ga51c7b205d5afc62342d9dec3ce54d11f">snd_mixer_class_t</a> *class) </td>
<td class="paramname"><em>private_free</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set mixer private data free callback to given mixer class. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">obj</td><td>Mixer simple class identifier </td></tr>
<tr><td class="paramname">private_free</td><td>Mixer class private data free callback </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>zero if success, otherwise a negative error code </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 16 2012 21:36:51 for ALSA project - the C library reference by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>
|