<!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>Stream Information</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>Stream Information<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>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a19">snd_pcm_info_alloca</a>(ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an invalid <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> using standard alloca</em> <a href="#a19"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a0">snd_pcm_info_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a></em> <a href="#a0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a1">snd_pcm_info_malloc</a> (<a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an invalid <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> using standard malloc</em> <a href="#a1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a2">snd_pcm_info_free</a> (<a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a></em> <a href="#a2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a3">snd_pcm_info_copy</a> (<a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *dst, const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> to another</em> <a href="#a3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a4">snd_pcm_info_get_device</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get device from a PCM info container.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a5">snd_pcm_info_get_subdevice</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get subdevice from a PCM info container.</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#a9">snd_pcm_stream_t</a> </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a6">snd_pcm_info_get_stream</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get stream (direction) from a PCM info container.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a7">snd_pcm_info_get_card</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get card from a PCM info container.</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___info.html#a8">snd_pcm_info_get_id</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get id from a PCM info container.</em> <a href="#a8"></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___info.html#a9">snd_pcm_info_get_name</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get name from a PCM info container.</em> <a href="#a9"></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___info.html#a10">snd_pcm_info_get_subdevice_name</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get subdevice name from a PCM info container.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___p_c_m.html#a7">snd_pcm_class_t</a> </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a11">snd_pcm_info_get_class</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get class from a PCM info container.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___p_c_m.html#a8">snd_pcm_subclass_t</a> </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a12">snd_pcm_info_get_subclass</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get subclass from a PCM info container.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a13">snd_pcm_info_get_subdevices_count</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get subdevices count from a PCM info container.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a14">snd_pcm_info_get_subdevices_avail</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get available subdevices count from a PCM info container.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___p_c_m.html#a23">snd_pcm_sync_id_t</a> </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a15">snd_pcm_info_get_sync</a> (const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj)</td></tr> <tr><td> </td><td><font size=-1><em>Get hardware synchronization ID from a PCM info container.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a16">snd_pcm_info_set_device</a> (<a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj, unsigned int val)</td></tr> <tr><td> </td><td><font size=-1><em>Set wanted device inside a PCM info container (see <a class="el" href="control_8c.html#a18">snd_ctl_pcm_info</a>).</em> <a href="#a16"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a17">snd_pcm_info_set_subdevice</a> (<a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj, unsigned int val)</td></tr> <tr><td> </td><td><font size=-1><em>Set wanted subdevice inside a PCM info container (see <a class="el" href="control_8c.html#a18">snd_ctl_pcm_info</a>).</em> <a href="#a17"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___p_c_m___info.html#a18">snd_pcm_info_set_stream</a> (<a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> *obj, <a class="el" href="group___p_c_m.html#a9">snd_pcm_stream_t</a> val)</td></tr> <tr><td> </td><td><font size=-1><em>Set wanted stream inside a PCM info container (see <a class="el" href="control_8c.html#a18">snd_ctl_pcm_info</a>).</em> <a href="#a18"></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>Define Documentation</h2> <a name="a19" doxytag="pcm.h::snd_pcm_info_alloca"></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"> #define snd_pcm_info_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate an invalid <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> using standard alloca <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Function Documentation</h2> <a name="a3" doxytag="pcm.h::snd_pcm_info_copy"></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"> void snd_pcm_info_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a2" doxytag="pcm.h::snd_pcm_info_free"></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"> void snd_pcm_info_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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> frees a previously allocated <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a7" doxytag="pcm.h::snd_pcm_info_get_card"></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_info_get_card </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 card from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> card number otherwise a negative error code if not associable to a card </dl> </td> </tr> </table> <a name="a11" doxytag="pcm.h::snd_pcm_info_get_class"></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#a7">snd_pcm_class_t</a> snd_pcm_info_get_class </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 class from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> class of PCM </dl> </td> </tr> </table> <a name="a4" doxytag="pcm.h::snd_pcm_info_get_device"></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"> unsigned int snd_pcm_info_get_device </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 device from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> device number </dl> </td> </tr> </table> <a name="a8" doxytag="pcm.h::snd_pcm_info_get_id"></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_info_get_id </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 id from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> short id of PCM </dl> </td> </tr> </table> <a name="a9" doxytag="pcm.h::snd_pcm_info_get_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_info_get_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> name of PCM </dl> </td> </tr> </table> <a name="a6" doxytag="pcm.h::snd_pcm_info_get_stream"></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#a9">snd_pcm_stream_t</a> snd_pcm_info_get_stream </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 stream (direction) from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> stream </dl> </td> </tr> </table> <a name="a12" doxytag="pcm.h::snd_pcm_info_get_subclass"></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#a8">snd_pcm_subclass_t</a> snd_pcm_info_get_subclass </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 subclass from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> subclass of PCM </dl> </td> </tr> </table> <a name="a5" doxytag="pcm.h::snd_pcm_info_get_subdevice"></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"> unsigned int snd_pcm_info_get_subdevice </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 subdevice from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> subdevice number </dl> </td> </tr> </table> <a name="a10" doxytag="pcm.h::snd_pcm_info_get_subdevice_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_info_get_subdevice_name </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 subdevice name from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> name of used PCM subdevice </dl> </td> </tr> </table> <a name="a14" doxytag="pcm.h::snd_pcm_info_get_subdevices_avail"></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"> unsigned int snd_pcm_info_get_subdevices_avail </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 available subdevices count from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> available subdevices count of PCM </dl> </td> </tr> </table> <a name="a13" doxytag="pcm.h::snd_pcm_info_get_subdevices_count"></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"> unsigned int snd_pcm_info_get_subdevices_count </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 subdevices count from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> subdevices total count of PCM </dl> </td> </tr> </table> <a name="a15" doxytag="pcm.h::snd_pcm_info_get_sync"></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#a23">snd_pcm_sync_id_t</a> snd_pcm_info_get_sync </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</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 hardware synchronization ID from a PCM info container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> hardware synchronization ID </dl> </td> </tr> </table> <a name="a1" doxytag="pcm.h::snd_pcm_info_malloc"></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_info_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</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> allocate an invalid <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a16" doxytag="pcm.h::snd_pcm_info_set_device"></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"> void snd_pcm_info_set_device </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname" nowrap> <em>obj</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set wanted device inside a PCM info container (see <a class="el" href="control_8c.html#a18">snd_ctl_pcm_info</a>). <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> <tr><td valign=top><em>val</em> </td><td> Device number </td></tr> </table> </dl> </td> </tr> </table> <a name="a18" doxytag="pcm.h::snd_pcm_info_set_stream"></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"> void snd_pcm_info_set_stream </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname" nowrap> <em>obj</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> </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set wanted stream inside a PCM info container (see <a class="el" href="control_8c.html#a18">snd_ctl_pcm_info</a>). <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> <tr><td valign=top><em>val</em> </td><td> Stream </td></tr> </table> </dl> </td> </tr> </table> <a name="a17" doxytag="pcm.h::snd_pcm_info_set_subdevice"></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"> void snd_pcm_info_set_subdevice </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> * </td> <td class="mdname" nowrap> <em>obj</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set wanted subdevice inside a PCM info container (see <a class="el" href="control_8c.html#a18">snd_ctl_pcm_info</a>). <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>obj</em> </td><td> PCM info container </td></tr> <tr><td valign=top><em>val</em> </td><td> Subdevice number </td></tr> </table> </dl> </td> </tr> </table> <a name="a0" doxytag="pcm.h::snd_pcm_info_sizeof"></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"> size_t snd_pcm_info_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </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 size of <a class="el" href="group___p_c_m.html#a0">snd_pcm_info_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:37 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>