<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>conv.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>conv.h</h1><div class="fragment"><pre>00001 00011 <span class="comment">/*</span> 00012 <span class="comment"> * This library is free software; you can redistribute it and/or modify</span> 00013 <span class="comment"> * it under the terms of the GNU Lesser General Public License as</span> 00014 <span class="comment"> * published by the Free Software Foundation; either version 2.1 of</span> 00015 <span class="comment"> * the License, or (at your option) any later version.</span> 00016 <span class="comment"> *</span> 00017 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> 00018 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> 00019 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> 00020 <span class="comment"> * GNU Lesser General Public License for more details.</span> 00021 <span class="comment"> *</span> 00022 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span> 00023 <span class="comment"> * License along with this library; if not, write to the Free Software</span> 00024 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> 00025 <span class="comment"> *</span> 00026 <span class="comment"> */</span> 00027 00028 <span class="preprocessor">#ifndef __ALSA_CONV_H</span> 00029 <span class="preprocessor"></span><span class="preprocessor">#define __ALSA_CONV_H</span> 00030 <span class="preprocessor"></span> <a name="l00038"></a><a class="code" href="group___b_conv.html#a0">00038</a> <span class="preprocessor">#define snd_host_to_LE_16(val) __cpu_to_le16(val)</span> 00039 <span class="preprocessor"></span> <a name="l00040"></a><a class="code" href="group___b_conv.html#a1">00040</a> <span class="preprocessor">#define snd_LE_to_host_16(val) __le16_to_cpu(val)</span> 00041 <span class="preprocessor"></span> <a name="l00042"></a><a class="code" href="group___b_conv.html#a2">00042</a> <span class="preprocessor">#define snd_host_to_LE_32(val) __cpu_to_le32(val)</span> 00043 <span class="preprocessor"></span> <a name="l00044"></a><a class="code" href="group___b_conv.html#a3">00044</a> <span class="preprocessor">#define snd_LE_to_host_32(val) __le32_to_cpu(val)</span> 00045 <span class="preprocessor"></span> <a name="l00046"></a><a class="code" href="group___b_conv.html#a4">00046</a> <span class="preprocessor">#define snd_host_to_BE_16(val) __cpu_to_be16(val)</span> 00047 <span class="preprocessor"></span> <a name="l00048"></a><a class="code" href="group___b_conv.html#a5">00048</a> <span class="preprocessor">#define snd_BE_to_host_16(val) __be16_to_cpu(val)</span> 00049 <span class="preprocessor"></span> <a name="l00050"></a><a class="code" href="group___b_conv.html#a6">00050</a> <span class="preprocessor">#define snd_host_to_BE_32(val) __cpu_to_be32(val)</span> 00051 <span class="preprocessor"></span> <a name="l00052"></a><a class="code" href="group___b_conv.html#a7">00052</a> <span class="preprocessor">#define snd_BE_to_host_32(val) __be32_to_cpu(val)</span> 00053 <span class="preprocessor"></span> 00056 <span class="preprocessor">#endif </span><span class="comment">/* __ALSA_CONV_H */</span> 00057 </pre></div><hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:31 2003 for ALSA project - the C library reference by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>