File: //usr/share/doc/alsa-lib-devel-1.0.17/lib64/html/pcm__ladspa_8c.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ALSA project - the C library reference: /builddir/build/BUILD/alsa-lib-1.0.17a/src/pcm/pcm_ladspa.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</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 id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<h1>/builddir/build/BUILD/alsa-lib-1.0.17a/src/pcm/pcm_ladspa.c File Reference</h1>ALSA Plugin <-> LADSPA 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 class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="pcm__ladspa_8c.html#4c798b187a7f23c9dfd95f70a59705da">snd_pcm_ladspa_open</a> (<a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> **pcmp, const char *name, const char *ladspa_path, unsigned int channels, <a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> *ladspa_pplugins, <a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> *ladspa_cplugins, <a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> *slave, int close_slave)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new LADSPA<->ALSA Plugin. <a href="#4c798b187a7f23c9dfd95f70a59705da"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="pcm__ladspa_8c.html#d41af32e75fbc67d15d23fa4ad15d9f1">_snd_pcm_ladspa_open</a> (<a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> **pcmp, const char *name, <a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> *root, <a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> *conf, <a class="el" href="group___p_c_m.html#g854f0966bd0d7248ed3d9e5c293136ed">snd_pcm_stream_t</a> stream, int mode)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new LADSPA<->ALSA PCM. <a href="#d41af32e75fbc67d15d23fa4ad15d9f1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
ALSA Plugin <-> LADSPA Plugin Interface.
<p>
<dl compact><dt><b>Author:</b></dt><dd>Jaroslav Kysela <<a href="mailto:perex@perex.cz">perex@perex.cz</a>> <p>
Jaroslav Kysela <<a href="mailto:perex@perex.cz">perex@perex.cz</a>> </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>2001,2006 </dd></dl>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="d41af32e75fbc67d15d23fa4ad15d9f1"></a><!-- doxytag: member="pcm_ladspa.c::_snd_pcm_ladspa_open" ref="d41af32e75fbc67d15d23fa4ad15d9f1" args="(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int _snd_pcm_ladspa_open </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> ** </td>
<td class="paramname"> <em>pcmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
<td class="paramname"> <em>root</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
<td class="paramname"> <em>conf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___p_c_m.html#g854f0966bd0d7248ed3d9e5c293136ed">snd_pcm_stream_t</a> </td>
<td class="paramname"> <em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>mode</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a new LADSPA<->ALSA PCM.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pcmp</em> </td><td>Returns created PCM handle </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Name of PCM </td></tr>
<tr><td valign="top"></td><td valign="top"><em>root</em> </td><td>Root configuration node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>conf</em> </td><td>Configuration node with LADSPA<->ALSA PCM description </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stream</em> </td><td>Stream type </td></tr>
<tr><td valign="top"></td><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"></td><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. </dd></dl>
</div>
</div><p>
<a class="anchor" name="4c798b187a7f23c9dfd95f70a59705da"></a><!-- doxytag: member="pcm_ladspa.c::snd_pcm_ladspa_open" ref="4c798b187a7f23c9dfd95f70a59705da" args="(snd_pcm_t **pcmp, const char *name, const char *ladspa_path, unsigned int channels, snd_config_t *ladspa_pplugins, snd_config_t *ladspa_cplugins, snd_pcm_t *slave, int close_slave)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int snd_pcm_ladspa_open </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> ** </td>
<td class="paramname"> <em>pcmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>ladspa_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int </td>
<td class="paramname"> <em>channels</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
<td class="paramname"> <em>ladspa_pplugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
<td class="paramname"> <em>ladspa_cplugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> * </td>
<td class="paramname"> <em>slave</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>close_slave</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a new LADSPA<->ALSA Plugin.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pcmp</em> </td><td>Returns created PCM handle </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Name of PCM </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ladspa_path</em> </td><td>The path for LADSPA plugins </td></tr>
<tr><td valign="top"></td><td valign="top"><em>channels</em> </td><td>Force input channel count to LADSPA plugin chain, 0 = no force (auto) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ladspa_pplugins</em> </td><td>The playback configuration </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ladspa_cplugins</em> </td><td>The capture configuration </td></tr>
<tr><td valign="top"></td><td valign="top"><em>slave</em> </td><td>Slave PCM handle </td></tr>
<tr><td valign="top"></td><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"></td><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. </dd></dl>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Jan 20 22:42:10 2009 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"></a> 1.4.7 </small></address>
</body>
</html>