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_shm.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_shm.c File Reference</h1>PCM Shared Memory 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__shm_8c.html#fb300179c53db52f3ec4036589afabc0">snd_pcm_shm_open</a> (<a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> **pcmp, const char *name, const char *sockname, const char *sname, <a class="el" href="group___p_c_m.html#g854f0966bd0d7248ed3d9e5c293136ed">snd_pcm_stream_t</a> stream, int mode)</td></tr>
30
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new shared memory PCM. <a href="#fb300179c53db52f3ec4036589afabc0"></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__shm_8c.html#bc25b8b667178ab0528a39b12e631537">_snd_pcm_shm_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 shm PCM. <a href="#bc25b8b667178ab0528a39b12e631537"></a><br></td></tr>
35
</p><hr><a name="_details"></a><h2>Detailed Description</h2>
36
PCM Shared Memory Plugin Interface.
38
</p><dl class="author" compact="compact"><dt><b>Author:</b></dt><dd>Abramo Bagnara <<a href="mailto:abramo@alsa-project.org">abramo@alsa-project.org</a>> </dd></dl>
39
<dl class="date" compact="compact"><dt><b>Date:</b></dt><dd>2000-2001 </dd></dl>
40
<hr><h2>Function Documentation</h2>
41
<a class="anchor" name="bc25b8b667178ab0528a39b12e631537"></a><!-- doxytag: member="pcm_shm.c::_snd_pcm_shm_open" ref="bc25b8b667178ab0528a39b12e631537" args="(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode)" -->
43
<div class="memproto">
44
<table class="memname">
46
<td class="memname">int _snd_pcm_shm_open </td>
48
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> ** </td>
49
<td class="paramname"> <em>pcmp</em>, </td>
52
<td class="paramkey"><br>
56
<td class="paramtype">const char * </td>
57
<td class="paramname"> <em>name</em>, </td>
60
<td class="paramkey"><br>
64
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
65
<td class="paramname"> <em>root</em>, </td>
68
<td class="paramkey"><br>
72
<td class="paramtype"><a class="el" href="group___config.html#gb7dc173feea5bedcd999bba678eb53a7">snd_config_t</a> * </td>
73
<td class="paramname"> <em>conf</em>, </td>
76
<td class="paramkey"><br>
80
<td class="paramtype"><a class="el" href="group___p_c_m.html#g854f0966bd0d7248ed3d9e5c293136ed">snd_pcm_stream_t</a> </td>
81
<td class="paramname"> <em>stream</em>, </td>
84
<td class="paramkey"><br>
88
<td class="paramtype">int </td>
89
<td class="paramname"> <em>mode</em></td><td> </td>
97
</td><td width="100%"><br>
105
Creates a new shm PCM.
107
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
108
<table border="0" cellpadding="0" cellspacing="2">
109
<tbody><tr><td valign="top"><br>
110
</td><td valign="top"><em>pcmp</em> </td><td>Returns created PCM handle </td></tr>
111
<tr><td valign="top"><br>
112
</td><td valign="top"><em>name</em> </td><td>Name of PCM </td></tr>
113
<tr><td valign="top"><br>
114
</td><td valign="top"><em>root</em> </td><td>Root configuration node </td></tr>
115
<tr><td valign="top"><br>
116
</td><td valign="top"><em>conf</em> </td><td>Configuration node with hw PCM description </td></tr>
117
<tr><td valign="top"><br>
118
</td><td valign="top"><em>stream</em> </td><td>PCM Stream </td></tr>
119
<tr><td valign="top"><br>
120
</td><td valign="top"><em>mode</em> </td><td>PCM Mode </td></tr>
123
<dl class="warning" compact="compact"><dt><b>Warning:</b></dt><dd>Using
124
of this function might be dangerous in the sense of compatibility
125
reasons. The prototype might be freely changed in future. </dd></dl>
129
<a class="anchor" name="fb300179c53db52f3ec4036589afabc0"></a><!-- doxytag: member="pcm_shm.c::snd_pcm_shm_open" ref="fb300179c53db52f3ec4036589afabc0" args="(snd_pcm_t **pcmp, const char *name, const char *sockname, const char *sname, snd_pcm_stream_t stream, int mode)" -->
130
</p><div class="memitem">
131
<div class="memproto">
132
<table class="memname">
134
<td class="memname">int snd_pcm_shm_open </td>
136
<td class="paramtype"><a class="el" href="group___p_c_m.html#gb5676348e7618b444e28907607660cef">snd_pcm_t</a> ** </td>
137
<td class="paramname"> <em>pcmp</em>, </td>
140
<td class="paramkey"><br>
144
<td class="paramtype">const char * </td>
145
<td class="paramname"> <em>name</em>, </td>
148
<td class="paramkey"><br>
152
<td class="paramtype">const char * </td>
153
<td class="paramname"> <em>sockname</em>, </td>
156
<td class="paramkey"><br>
160
<td class="paramtype">const char * </td>
161
<td class="paramname"> <em>sname</em>, </td>
164
<td class="paramkey"><br>
168
<td class="paramtype"><a class="el" href="group___p_c_m.html#g854f0966bd0d7248ed3d9e5c293136ed">snd_pcm_stream_t</a> </td>
169
<td class="paramname"> <em>stream</em>, </td>
172
<td class="paramkey"><br>
176
<td class="paramtype">int </td>
177
<td class="paramname"> <em>mode</em></td><td> </td>
185
</td><td width="100%"><br>
193
Creates a new shared memory PCM.
195
</p><dl compact="compact"><dt><b>Parameters:</b></dt><dd>
196
<table border="0" cellpadding="0" cellspacing="2">
197
<tbody><tr><td valign="top"><br>
198
</td><td valign="top"><em>pcmp</em> </td><td>Returns created PCM handle </td></tr>
199
<tr><td valign="top"><br>
200
</td><td valign="top"><em>name</em> </td><td>Name of PCM </td></tr>
201
<tr><td valign="top"><br>
202
</td><td valign="top"><em>sockname</em> </td><td>Unix socket name </td></tr>
203
<tr><td valign="top"><br>
204
</td><td valign="top"><em>sname</em> </td><td>Server name </td></tr>
205
<tr><td valign="top"><br>
206
</td><td valign="top"><em>stream</em> </td><td>PCM Stream </td></tr>
207
<tr><td valign="top"><br>
208
</td><td valign="top"><em>mode</em> </td><td>PCM Mode </td></tr>
211
<dl compact="compact"><dt><b>Return values:</b></dt><dd>
212
<table border="0" cellpadding="0" cellspacing="2">
213
<tbody><tr><td valign="top"><br>
214
</td><td valign="top"><em>zero</em> </td><td>on success otherwise a negative error code </td></tr>
217
<dl class="warning" compact="compact"><dt><b>Warning:</b></dt><dd>Using
218
of this function might be dangerous in the sense of compatibility
219
reasons. The prototype might be freely changed in future. </dd></dl>
223
</p><hr size="1"><address style=""><small>Generated on Wed Sep 9 14:37:08 2009 for ALSA project - the C library reference by
224
<a href="http://www.doxygen.org/index.html">
225
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
b'\\ No newline at end of file'