~n3npq/lsb/t2c-alsa-tests

« back to all changes in this revision

Viewing changes to spec/tlv_8c.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/src/control/tlv.c File Reference</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/src/control/tlv.c File Reference</h1>dB conversion functions from control TLV information <a href="#_details">More...</a>
 
23
<p>
 
24
<table border="0" cellpadding="0" cellspacing="0">
 
25
<tbody><tr><td><br>
 
26
</td></tr>
 
27
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
 
28
<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>
 
29
 
 
30
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse TLV stream and retrieve dB information.  <a href="group___control.html#gf898227141d761cb364068dc853f44d8"></a><br></td></tr>
 
31
<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>
 
32
 
 
33
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the dB min/max values.  <a href="group___control.html#g76f3f99eeb0890aa9216afb33cb9c381"></a><br></td></tr>
 
34
<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>
 
35
 
 
36
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert the given raw volume value to a dB gain.  <a href="group___control.html#g80e50c16b309e410fdfc7e7ba6a5b3f4"></a><br></td></tr>
 
37
<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>
 
38
 
 
39
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert from dB gain to the corresponding raw value.  <a href="group___control.html#gb3880fdd033f5f93174ead930b7bdf6d"></a><br></td></tr>
 
40
<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>
 
41
 
 
42
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the dB min/max values on the given control element.  <a href="group___control.html#g1fabb04772efb2ea2c07ac1eed4764ae"></a><br></td></tr>
 
43
<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>
 
44
 
 
45
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert the volume value to dB on the given control element.  <a href="group___control.html#g11dfbbc8686e67ebb3c7b96afe371ac0"></a><br></td></tr>
 
46
<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>
 
47
 
 
48
<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="group___control.html#gc9dae50da43354d955cba7859d419e75"></a><br></td></tr>
 
49
</tbody></table>
 
50
</p><hr><a name="_details"></a><h2>Detailed Description</h2>
 
51
dB conversion functions from control TLV information 
 
52
<p>
 
53
</p><dl class="author" compact="compact"><dt><b>Author:</b></dt><dd>Takashi Iwai &lt;<a href="mailto:tiwai@suse.de">tiwai@suse.de</a>&gt; </dd></dl>
 
54
<dl class="date" compact="compact"><dt><b>Date:</b></dt><dd>2007 </dd></dl>
 
55
<hr size="1"><address style=""><small>Generated on Wed Sep 9 14:37:08 2009 for ALSA project - the C library reference by&nbsp;
 
56
<a href="http://www.doxygen.org/index.html">
 
57
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
 
58
</body></html>
 
 
b'\\ No newline at end of file'