<!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>pcm_lfloat.c File Reference</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>pcm_lfloat.c File Reference</h1>PCM Linear<->Float Conversion Plugin Interface. <a href="#_details">More...</a> <p> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="pcm__lfloat_8c.html#a10">snd_pcm_lfloat_open</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> **pcmp, const char *name, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> sformat, <a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *slave, int close_slave)</td></tr> <tr><td> </td><td><font size=-1><em>Creates a new linear conversion PCM.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="pcm__lfloat_8c.html#a11">_snd_pcm_lfloat_open</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> **pcmp, const char *name, <a class="el" href="group___config.html#a1">snd_config_t</a> *root, <a class="el" href="group___config.html#a1">snd_config_t</a> *conf, <a class="el" href="group___p_c_m.html#a9">snd_pcm_stream_t</a> stream, int mode)</td></tr> <tr><td> </td><td><font size=-1><em>Creates a new linear<->float conversion PCM.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> PCM Linear<->Float Conversion Plugin Interface. <p> <p> <dl compact><dt><b>Author: </b></dt><dd> Jaroslav Kysela <<a href="mailto:perex@suse.cz">perex@suse.cz</a>> </dl><dl compact><dt><b>Date: </b></dt><dd> 2001</dl><hr><h2>Function Documentation</h2> <a name="a11" doxytag="pcm_lfloat.c::_snd_pcm_lfloat_open"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int _snd_pcm_lfloat_open </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> ** </td> <td class="mdname" nowrap> <em>pcmp</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___config.html#a1">snd_config_t</a> * </td> <td class="mdname" nowrap> <em>root</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___config.html#a1">snd_config_t</a> * </td> <td class="mdname" nowrap> <em>conf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___p_c_m.html#a9">snd_pcm_stream_t</a> </td> <td class="mdname" nowrap> <em>stream</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>mode</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Creates a new linear<->float conversion PCM. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pcmp</em> </td><td> Returns created PCM handle </td></tr> <tr><td valign=top><em>name</em> </td><td> Name of PCM </td></tr> <tr><td valign=top><em>root</em> </td><td> Root configuration node </td></tr> <tr><td valign=top><em>conf</em> </td><td> Configuration node with copy PCM description </td></tr> <tr><td valign=top><em>stream</em> </td><td> Stream type </td></tr> <tr><td valign=top><em>mode</em> </td><td> Stream mode </td></tr> </table> </dl><dl compact><dt><b>Return values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>zero</em> </td><td> on success otherwise a negative error code </td></tr> </table> </dl><dl compact><dt><b>Warning: </b></dt><dd> Using of this function might be dangerous in the sense of compatibility reasons. The prototype might be freely changed in future. </dl> </td> </tr> </table> <a name="a10" doxytag="pcm_lfloat.c::snd_pcm_lfloat_open"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_pcm_lfloat_open </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> ** </td> <td class="mdname" nowrap> <em>pcmp</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> </td> <td class="mdname" nowrap> <em>sformat</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> * </td> <td class="mdname" nowrap> <em>slave</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>close_slave</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Creates a new linear conversion PCM. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pcmp</em> </td><td> Returns created PCM handle </td></tr> <tr><td valign=top><em>name</em> </td><td> Name of PCM </td></tr> <tr><td valign=top><em>sformat</em> </td><td> Slave (destination) format </td></tr> <tr><td valign=top><em>slave</em> </td><td> Slave PCM handle </td></tr> <tr><td valign=top><em>close_slave</em> </td><td> When set, the slave PCM handle is closed with copy PCM </td></tr> </table> </dl><dl compact><dt><b>Return values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>zero</em> </td><td> on success otherwise a negative error code </td></tr> </table> </dl><dl compact><dt><b>Warning: </b></dt><dd> Using of this function might be dangerous in the sense of compatibility reasons. The prototype might be freely changed in future. </dl> </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Thu Feb 20 16:45:45 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>