1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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/pcm/pcm_ladspa.c File Reference</title>
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 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="modules.html"><span>Modules</span></a></li>
12
<li><a href="annotated.html"><span>Data 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 Pages</span></a></li>
15
<li><a href="examples.html"><span>Examples</span></a></li>
19
<li><a href="files.html"><span>File List</span></a></li>
20
<li><a href="globals.html"><span>Globals</span></a></li>
22
<h1>/home/alsa/tmp/cvs/alsa-lib/src/pcm/pcm_ladspa.c File Reference</h1>ALSA Plugin <-> LADSPA Plugin Interface. <a href="#_details">More...</a>
24
<table border="0" cellpadding="0" cellspacing="0">
27
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
28
<tr><td class="memItemLeft" align="right" nowrap="nowrap" 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>
30
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new LADSPA<->ALSA Plugin. <a href="#4c798b187a7f23c9dfd95f70a59705da"></a><br></td></tr>
31
<tr><td class="memItemLeft" align="right" nowrap="nowrap" 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>
33
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new LADSPA<->ALSA PCM. <a href="#d41af32e75fbc67d15d23fa4ad15d9f1"></a><br></td></tr>
35
</p><hr><a name="_details"></a><h2>Detailed Description</h2>
36
ALSA Plugin <-> LADSPA Plugin Interface.
38
</p><dl class="author" compact="compact"><dt><b>Author:</b></dt><dd>Jaroslav Kysela <<a href="mailto:perex@perex.cz">perex@perex.cz</a>> <p>
39
Jaroslav Kysela <<a href="mailto:perex@perex.cz">perex@perex.cz</a>> </p></dd></dl>
40
<dl class="date" compact="compact"><dt><b>Date:</b></dt><dd>2001,2006 </dd></dl>
41
<hr><h2>Function Documentation</h2>
42
<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)" -->
44
<div class="memproto">
45
<table class="memname">
47
<td class="memname">int _snd_pcm_ladspa_open </td>
49
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> ** </td>
50
<td class="paramname"> <em>pcmp</em>, </td>
53
<td class="paramkey"><br>
57
<td class="paramtype">const char * </td>
58
<td class="paramname"> <em>name</em>, </td>
61
<td class="paramkey"><br>
65
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
66
<td class="paramname"> <em>root</em>, </td>
69
<td class="paramkey"><br>
73
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
74
<td class="paramname"> <em>conf</em>, </td>
77
<td class="paramkey"><br>
81
<td class="paramtype"><a class="el" href="group___p_c_m.html#g854f0966bd0d7248ed3d9e5c293136ed">snd_pcm_stream_t</a> </td>
82
<td class="paramname"> <em>stream</em>, </td>
85
<td class="paramkey"><br>
89
<td class="paramtype">int </td>
90
<td class="paramname"> <em>mode</em></td><td> </td>
98
</td><td width="100%"><br>
106
Creates a new LADSPA<->ALSA PCM.
108
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
109
<table border="0" cellpadding="0" cellspacing="2">
110
<tbody><tr><td valign="top"><br>
111
</td><td valign="top"><em>pcmp</em> </td><td>Returns created PCM handle </td></tr>
112
<tr><td valign="top"><br>
113
</td><td valign="top"><em>name</em> </td><td>Name of PCM </td></tr>
114
<tr><td valign="top"><br>
115
</td><td valign="top"><em>root</em> </td><td>Root configuration node </td></tr>
116
<tr><td valign="top"><br>
117
</td><td valign="top"><em>conf</em> </td><td>Configuration node with LADSPA<->ALSA PCM description </td></tr>
118
<tr><td valign="top"><br>
119
</td><td valign="top"><em>stream</em> </td><td>Stream type </td></tr>
120
<tr><td valign="top"><br>
121
</td><td valign="top"><em>mode</em> </td><td>Stream mode </td></tr>
124
<dl compact="compact"><dt><b>Return values:</b></dt><dd>
125
<table border="0" cellpadding="0" cellspacing="2">
126
<tbody><tr><td valign="top"><br>
127
</td><td valign="top"><em>zero</em> </td><td>on success otherwise a negative error code </td></tr>
130
<dl class="warning" compact="compact"><dt><b>Warning:</b></dt><dd>Using
131
of this function might be dangerous in the sense of compatibility
132
reasons. The prototype might be freely changed in future. </dd></dl>
136
<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)" -->
137
</p><div class="memitem">
138
<div class="memproto">
139
<table class="memname">
141
<td class="memname">int snd_pcm_ladspa_open </td>
143
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> ** </td>
144
<td class="paramname"> <em>pcmp</em>, </td>
147
<td class="paramkey"><br>
151
<td class="paramtype">const char * </td>
152
<td class="paramname"> <em>name</em>, </td>
155
<td class="paramkey"><br>
159
<td class="paramtype">const char * </td>
160
<td class="paramname"> <em>ladspa_path</em>, </td>
163
<td class="paramkey"><br>
167
<td class="paramtype">unsigned int </td>
168
<td class="paramname"> <em>channels</em>, </td>
171
<td class="paramkey"><br>
175
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
176
<td class="paramname"> <em>ladspa_pplugins</em>, </td>
179
<td class="paramkey"><br>
183
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
184
<td class="paramname"> <em>ladspa_cplugins</em>, </td>
187
<td class="paramkey"><br>
191
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> * </td>
192
<td class="paramname"> <em>slave</em>, </td>
195
<td class="paramkey"><br>
199
<td class="paramtype">int </td>
200
<td class="paramname"> <em>close_slave</em></td><td> </td>
208
</td><td width="100%"><br>
216
Creates a new LADSPA<->ALSA Plugin.
218
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
219
<table border="0" cellpadding="0" cellspacing="2">
220
<tbody><tr><td valign="top"><br>
221
</td><td valign="top"><em>pcmp</em> </td><td>Returns created PCM handle </td></tr>
222
<tr><td valign="top"><br>
223
</td><td valign="top"><em>name</em> </td><td>Name of PCM </td></tr>
224
<tr><td valign="top"><br>
225
</td><td valign="top"><em>ladspa_path</em> </td><td>The path for LADSPA plugins </td></tr>
226
<tr><td valign="top"><br>
227
</td><td valign="top"><em>channels</em> </td><td>Force input channel count to LADSPA plugin chain, 0 = no force (auto) </td></tr>
228
<tr><td valign="top"><br>
229
</td><td valign="top"><em>ladspa_pplugins</em> </td><td>The playback configuration </td></tr>
230
<tr><td valign="top"><br>
231
</td><td valign="top"><em>ladspa_cplugins</em> </td><td>The capture configuration </td></tr>
232
<tr><td valign="top"><br>
233
</td><td valign="top"><em>slave</em> </td><td>Slave PCM handle </td></tr>
234
<tr><td valign="top"><br>
235
</td><td valign="top"><em>close_slave</em> </td><td>When set, the slave PCM handle is closed with copy PCM </td></tr>
238
<dl compact="compact"><dt><b>Return values:</b></dt><dd>
239
<table border="0" cellpadding="0" cellspacing="2">
240
<tbody><tr><td valign="top"><br>
241
</td><td valign="top"><em>zero</em> </td><td>on success otherwise a negative error code </td></tr>
244
<dl class="warning" compact="compact"><dt><b>Warning:</b></dt><dd>Using
245
of this function might be dangerous in the sense of compatibility
246
reasons. The prototype might be freely changed in future. </dd></dl>
250
</p><hr size="1"><address style=""><small>Generated on Wed Sep 9 14:37:08 2009 for ALSA project - the C library reference by
251
<a href="http://www.doxygen.org/index.html">
252
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
b'\\ No newline at end of file'