Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > updates > by-pkgid > 18785641029f14f23cccc82925607ace > files > 112

libalsa2-docs-0.9.0-0.14rc7.1mdk.ppc.rpm

<!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_share.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> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center>
<hr><h1>pcm_share.c File Reference</h1>PCM Share 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&nbsp;</td><td valign=bottom><a class="el" href="pcm__share_8c.html#a45">snd_pcm_share_open</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> **pcmp, const char *name, const char *sname, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> sformat, int srate, unsigned int schannels, int speriod_time, int sbuffer_time, unsigned int channels, unsigned int *channels_map, <a class="el" href="group___p_c_m.html#a9">snd_pcm_stream_t</a> stream, int mode)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Creates a new Share PCM.</em> <a href="#a45"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="pcm__share_8c.html#a46">_snd_pcm_share_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>&nbsp;</td><td><font size=-1><em>Creates a new Share PCM.</em> <a href="#a46"></a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
PCM Share Plugin Interface.
<p>

<p>
<dl compact><dt><b>Author: </b></dt><dd>
Abramo Bagnara &lt;<a href="mailto:abramo@alsa-project.org">abramo@alsa-project.org</a>&gt; </dl><dl compact><dt><b>Date: </b></dt><dd>
2000-2001</dl><hr><h2>Function Documentation</h2>
<a name="a46" doxytag="pcm_share.c::_snd_pcm_share_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_share_open </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pcmp</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <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> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <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> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <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>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>stream</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mode</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a new Share PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcmp</em>&nbsp;</td><td>
Returns created PCM handle </td></tr>
<tr><td valign=top><em>name</em>&nbsp;</td><td>
Name of PCM </td></tr>
<tr><td valign=top><em>root</em>&nbsp;</td><td>
Root configuration node </td></tr>
<tr><td valign=top><em>conf</em>&nbsp;</td><td>
Configuration node with Share PCM description </td></tr>
<tr><td valign=top><em>stream</em>&nbsp;</td><td>
Stream type </td></tr>
<tr><td valign=top><em>mode</em>&nbsp;</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>&nbsp;</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="a45" doxytag="pcm_share.c::snd_pcm_share_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_share_open </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pcmp</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>sname</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>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>sformat</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>srate</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>schannels</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>speriod_time</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>sbuffer_time</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>channels</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>channels_map</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>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>stream</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mode</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a new Share PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcmp</em>&nbsp;</td><td>
Returns created PCM handle </td></tr>
<tr><td valign=top><em>name</em>&nbsp;</td><td>
Name of PCM </td></tr>
<tr><td valign=top><em>sname</em>&nbsp;</td><td>
Slave name </td></tr>
<tr><td valign=top><em>sformat</em>&nbsp;</td><td>
Slave format </td></tr>
<tr><td valign=top><em>srate</em>&nbsp;</td><td>
Slave rate </td></tr>
<tr><td valign=top><em>schannels</em>&nbsp;</td><td>
Slave channels </td></tr>
<tr><td valign=top><em>speriod_time</em>&nbsp;</td><td>
Slave period time </td></tr>
<tr><td valign=top><em>sbuffer_time</em>&nbsp;</td><td>
Slave buffer time </td></tr>
<tr><td valign=top><em>channels</em>&nbsp;</td><td>
Count of channels </td></tr>
<tr><td valign=top><em>channels_map</em>&nbsp;</td><td>
Map of channels </td></tr>
<tr><td valign=top><em>stream</em>&nbsp;</td><td>
Direction </td></tr>
<tr><td valign=top><em>mode</em>&nbsp;</td><td>
PCM 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>&nbsp;</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 Wed Apr 2 16:06:35 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>