<!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>Description Functions</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>Description Functions<br> <small> [<a class="el" href="group___p_c_m.html">PCM Interface</a>]</small> </h1><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>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a0">snd_pcm_stream_name</a> (const <a class="el" href="group___p_c_m.html#a9">snd_pcm_stream_t</a> stream)</td></tr> <tr><td> </td><td><font size=-1><em>get name of PCM stream</em> <a href="#a0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a1">snd_pcm_access_name</a> (const <a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> _access)</td></tr> <tr><td> </td><td><font size=-1><em>get name of PCM access type</em> <a href="#a1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a2">snd_pcm_format_name</a> (const <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> format)</td></tr> <tr><td> </td><td><font size=-1><em>get name of PCM sample format</em> <a href="#a2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a3">snd_pcm_format_description</a> (const <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> format)</td></tr> <tr><td> </td><td><font size=-1><em>get description of PCM sample format</em> <a href="#a3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a4">snd_pcm_subformat_name</a> (const <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> subformat)</td></tr> <tr><td> </td><td><font size=-1><em>get name of PCM sample subformat</em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a5">snd_pcm_subformat_description</a> (const <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> subformat)</td></tr> <tr><td> </td><td><font size=-1><em>get description of PCM sample subformat</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a6">snd_pcm_format_value</a> (const char *name)</td></tr> <tr><td> </td><td><font size=-1><em>get PCM sample format from name</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a7">snd_pcm_tstamp_mode_name</a> (const <a class="el" href="group___p_c_m.html#a16">snd_pcm_tstamp_t</a> mode)</td></tr> <tr><td> </td><td><font size=-1><em>get name of PCM tstamp mode setting</em> <a href="#a7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group___p_c_m___description.html#a8">snd_pcm_state_name</a> (const <a class="el" href="group___p_c_m.html#a13">snd_pcm_state_t</a> state)</td></tr> <tr><td> </td><td><font size=-1><em>get name of PCM state</em> <a href="#a8"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> See the <a href="pcm.html#pcm">PCM (digital audio) interface</a> page for more details. <hr><h2>Function Documentation</h2> <a name="a1" doxytag="pcm.h::snd_pcm_access_name"></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"> const char* snd_pcm_access_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>acc</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get name of PCM access type <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>access</em> </td><td> PCM access type </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii name of PCM access type </dl> </td> </tr> </table> <a name="a3" doxytag="pcm.h::snd_pcm_format_description"></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"> const char* snd_pcm_format_description </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>format</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get description of PCM sample format <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>format</em> </td><td> PCM sample format </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii description of PCM sample format </dl> </td> </tr> </table> <a name="a2" doxytag="pcm.h::snd_pcm_format_name"></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"> const char* snd_pcm_format_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>format</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get name of PCM sample format <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>format</em> </td><td> PCM sample format </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii name of PCM sample format </dl><dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="_2test_2latency_8c-example.html#a31">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a36">/test/pcm.c</a>.</dl> </td> </tr> </table> <a name="a6" doxytag="pcm.h::snd_pcm_format_value"></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"> <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> snd_pcm_format_value </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>name</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get PCM sample format from name <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>name</em> </td><td> PCM sample format name (case insensitive) </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> PCM sample format </dl><dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="_2test_2latency_8c-example.html#a32">/test/latency.c</a>.</dl> </td> </tr> </table> <a name="a8" doxytag="pcm.h::snd_pcm_state_name"></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"> const char* snd_pcm_state_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a13">snd_pcm_state_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>state</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get name of PCM state <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>state</em> </td><td> PCM state </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii name of PCM state </dl> </td> </tr> </table> <a name="a0" doxytag="pcm.h::snd_pcm_stream_name"></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"> const char* snd_pcm_stream_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a9">snd_pcm_stream_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>stream</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get name of PCM stream <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>stream</em> </td><td> PCM stream </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii name of PCM stream </dl> </td> </tr> </table> <a name="a5" doxytag="pcm.h::snd_pcm_subformat_description"></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"> const char* snd_pcm_subformat_description </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>subformat</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get description of PCM sample subformat <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>subformat</em> </td><td> PCM sample subformat </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii description of PCM sample subformat </dl> </td> </tr> </table> <a name="a4" doxytag="pcm.h::snd_pcm_subformat_name"></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"> const char* snd_pcm_subformat_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>subformat</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get name of PCM sample subformat <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>format</em> </td><td> PCM sample subformat </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii name of PCM sample subformat </dl> </td> </tr> </table> <a name="a7" doxytag="pcm.h::snd_pcm_tstamp_mode_name"></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"> const char* snd_pcm_tstamp_mode_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a16">snd_pcm_tstamp_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>mode</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get name of PCM tstamp mode setting <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>mode</em> </td><td> PCM tstamp mode </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> ascii name of PCM tstamp mode setting </dl> </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:38 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>