Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > 34546d63baef3ab2a7675f37737b66ab > files > 114

libalsa2-docs-1.0.23-2.1mdv2010.1.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ALSA project - the C library reference: /home/qateam/rpm/BUILD/alsa-lib-1.0.23/src/hwdep/hwdep.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>/home/qateam/rpm/BUILD/alsa-lib-1.0.23/src/hwdep/hwdep.c File Reference</h1>
<p>HwDep Interface (hardware dependent).  
<a href="#_details">More...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gaade8a9030fadb398fdb6d139f360f07e">snd_hwdep_open</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> **hwdep, const char *name, int mode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens a new connection to the HwDep interface.  <a href="group___hw_dep.html#gaade8a9030fadb398fdb6d139f360f07e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hwdep_8c.html#a162c6ca2e4c9f9dc6dd65a987ca6b118">snd_hwdep_open_lconf</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> **hwdep, const char *name, int mode, <a class="el" href="group___config.html#ga1c20905af775ae77d04d1a5696f67985">snd_config_t</a> *lconf)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens a new connection to the HwDep interface using local configuration.  <a href="#a162c6ca2e4c9f9dc6dd65a987ca6b118"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga35ba1e894c069b37012604abf1432314">snd_hwdep_close</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">close HwDep handle  <a href="group___hw_dep.html#ga35ba1e894c069b37012604abf1432314"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hwdep_8c.html#a26ee56a9b3711414ce6687e8dc0ea646">snd_hwdep_name</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get identifier of HwDep handle  <a href="#a26ee56a9b3711414ce6687e8dc0ea646"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___hw_dep.html#ga839de1d3a2bf9495cc631c08099bca79">snd_hwdep_type_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hwdep_8c.html#a4f94fc58c4ee20fd845eb11df435107a">snd_hwdep_type</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get type of HwDep handle  <a href="#a4f94fc58c4ee20fd845eb11df435107a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hwdep_8c.html#acc4e48e9d9fa90fb5e35b3502cfe6f7f">snd_hwdep_poll_descriptors_count</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get count of poll descriptors for HwDep handle  <a href="#acc4e48e9d9fa90fb5e35b3502cfe6f7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga179b89384deb4c5a76b7017e6ba6af88">snd_hwdep_poll_descriptors</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, struct pollfd *pfds, unsigned int space)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get poll descriptors  <a href="group___hw_dep.html#ga179b89384deb4c5a76b7017e6ba6af88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga654b2c89f1e6bc16e590161340f1e3d9">snd_hwdep_poll_descriptors_revents</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get returned events from poll descriptors  <a href="group___hw_dep.html#ga654b2c89f1e6bc16e590161340f1e3d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga6eaa5f13367625587fdd955fb4cb4c51">snd_hwdep_nonblock</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, int nonblock)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set nonblock mode  <a href="group___hw_dep.html#ga6eaa5f13367625587fdd955fb4cb4c51"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gad39906514d5d04b7ebcc190382b8bd27">snd_hwdep_info_sizeof</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get size of the snd_hwdep_info_t structure in bytes  <a href="group___hw_dep.html#gad39906514d5d04b7ebcc190382b8bd27"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gab6831cd666bea427ab3779710e90a857">snd_hwdep_info_malloc</a> (<a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> **info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">allocate a new snd_hwdep_info_t structure  <a href="group___hw_dep.html#gab6831cd666bea427ab3779710e90a857"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga9e19ef5118f808962689c3d947af1a00">snd_hwdep_info_free</a> (<a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">frees the snd_hwdep_info_t structure  <a href="group___hw_dep.html#ga9e19ef5118f808962689c3d947af1a00"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga3132936fc99968e59df02711d2927018">snd_hwdep_info_copy</a> (<a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *dst, const <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *src)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copy one snd_hwdep_info_t structure to another  <a href="group___hw_dep.html#ga3132936fc99968e59df02711d2927018"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga04193d4395908c0e31ac826ac05d3824">snd_hwdep_info_get_card</a> (const <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get hwdep card number  <a href="group___hw_dep.html#ga04193d4395908c0e31ac826ac05d3824"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga23deebecc5e88b0124222ebf73999c24">snd_hwdep_info_get_device</a> (const <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get hwdep device number  <a href="group___hw_dep.html#ga23deebecc5e88b0124222ebf73999c24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga80bb1ca217fa051086e7f2ab5821ee34">snd_hwdep_info_get_id</a> (const <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get hwdep driver identifier  <a href="group___hw_dep.html#ga80bb1ca217fa051086e7f2ab5821ee34"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gaf7f6251acc0f26d6fefc2c28fcf90c6a">snd_hwdep_info_get_name</a> (const <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get hwdep driver name  <a href="group___hw_dep.html#gaf7f6251acc0f26d6fefc2c28fcf90c6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___hw_dep.html#ga288eb9342aaea8317a7bfa03b22feaca">snd_hwdep_iface_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga7d846bea699c0917f54d75fe5d76a58e">snd_hwdep_info_get_iface</a> (const <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get hwdep protocol interface  <a href="group___hw_dep.html#ga7d846bea699c0917f54d75fe5d76a58e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga5f497ef1c3a675af203923d93eda4202">snd_hwdep_info_set_device</a> (<a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *obj, unsigned int val)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set hwdep device number  <a href="group___hw_dep.html#ga5f497ef1c3a675af203923d93eda4202"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga97f208875f4ec6a253f088e3c2c084c1">snd_hwdep_info</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, <a class="el" href="group___hw_dep.html#ga12be97323a913a065524c01fb163cb29">snd_hwdep_info_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get information about HwDep handle  <a href="group___hw_dep.html#ga97f208875f4ec6a253f088e3c2c084c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga74f5260b0f5f779932bfe7afcf68ecb1">snd_hwdep_ioctl</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, unsigned int request, void *arg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">do hardware dependent ioctl  <a href="group___hw_dep.html#ga74f5260b0f5f779932bfe7afcf68ecb1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ssize_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga4c158ce0db68b8bfac1a00abe5e2ffcd">snd_hwdep_write</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, const void *buffer, size_t size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">write bytes using HwDep handle  <a href="group___hw_dep.html#ga4c158ce0db68b8bfac1a00abe5e2ffcd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ssize_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga7ef0c6e7ae7b838d509dd09b800b321f">snd_hwdep_read</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, void *buffer, size_t size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">read bytes using HwDep handle  <a href="group___hw_dep.html#ga7ef0c6e7ae7b838d509dd09b800b321f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gaf071b6171019a11a72367cc7f9613f5d">snd_hwdep_dsp_status</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the DSP status information  <a href="group___hw_dep.html#gaf071b6171019a11a72367cc7f9613f5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga7316c8ce8d4ba06b58e6536e3cf96223">snd_hwdep_dsp_load</a> (<a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *hwdep, <a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *block)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">load the DSP block  <a href="group___hw_dep.html#ga7316c8ce8d4ba06b58e6536e3cf96223"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga54205faff69bdd35b996863094bafada">snd_hwdep_dsp_status_sizeof</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get size of the snd_hwdep_dsp_status_t structure in bytes  <a href="group___hw_dep.html#ga54205faff69bdd35b996863094bafada"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga444c5bd71b0a3756084450dfb7528c6d">snd_hwdep_dsp_status_malloc</a> (<a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> **info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">allocate a new snd_hwdep_dsp_status_t structure  <a href="group___hw_dep.html#ga444c5bd71b0a3756084450dfb7528c6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gaa7d3a0f8f01805b10342581893e9671e">snd_hwdep_dsp_status_free</a> (<a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">frees the snd_hwdep_dsp_status_t structure  <a href="group___hw_dep.html#gaa7d3a0f8f01805b10342581893e9671e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gacc06c08ac09beec6b50fddf5496ce25b">snd_hwdep_dsp_status_copy</a> (<a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *dst, const <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *src)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copy one snd_hwdep_dsp_status_t structure to another  <a href="group___hw_dep.html#gacc06c08ac09beec6b50fddf5496ce25b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga52f6b403c2a4947c647043fdd7c5dbf7">snd_hwdep_dsp_status_get_version</a> (const <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the driver version of dsp loader  <a href="group___hw_dep.html#ga52f6b403c2a4947c647043fdd7c5dbf7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga3f62477a689ef9e84048f7ba8e33a792">snd_hwdep_dsp_status_get_id</a> (const <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the driver id of dsp loader  <a href="group___hw_dep.html#ga3f62477a689ef9e84048f7ba8e33a792"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gac49bce861455b700ba79c3eb9f73aae9">snd_hwdep_dsp_status_get_num_dsps</a> (const <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get number of dsp blocks  <a href="group___hw_dep.html#gac49bce861455b700ba79c3eb9f73aae9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga6c5e57aaf95a248814897bd80e12edf4">snd_hwdep_dsp_status_get_dsp_loaded</a> (const <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the bit flags of the loaded dsp blocks  <a href="group___hw_dep.html#ga6c5e57aaf95a248814897bd80e12edf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gaf49d8044583b6f0c890bbb6a493734e8">snd_hwdep_dsp_status_get_chip_ready</a> (const <a class="el" href="group___hw_dep.html#ga904ac34d4d2af6c080aa01d9d70f6ef2">snd_hwdep_dsp_status_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the chip status of dsp loader  <a href="group___hw_dep.html#gaf49d8044583b6f0c890bbb6a493734e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga8a5e773b145d973ea5c75057974a371d">snd_hwdep_dsp_image_sizeof</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get size of the snd_hwdep_dsp_image_t structure in bytes  <a href="group___hw_dep.html#ga8a5e773b145d973ea5c75057974a371d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gacf44ffc69400d7d195809c18cb71f89d">snd_hwdep_dsp_image_malloc</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> **info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">allocate a new snd_hwdep_dsp_image_t structure  <a href="group___hw_dep.html#gacf44ffc69400d7d195809c18cb71f89d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga95c9c00e3b9b20ba6a92ac9d14c5cfdd">snd_hwdep_dsp_image_free</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *info)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">frees the snd_hwdep_dsp_image_t structure  <a href="group___hw_dep.html#ga95c9c00e3b9b20ba6a92ac9d14c5cfdd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga4178c718645804dffde98bf210e447b5">snd_hwdep_dsp_image_copy</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *dst, const <a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *src)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copy one snd_hwdep_dsp_image_t structure to another  <a href="group___hw_dep.html#ga4178c718645804dffde98bf210e447b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gada5fa0eaa5a4a941dc5b79ae1897db76">snd_hwdep_dsp_image_get_index</a> (const <a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the DSP block index  <a href="group___hw_dep.html#gada5fa0eaa5a4a941dc5b79ae1897db76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga025e4656f44f73d8c372b8b10285f202">snd_hwdep_dsp_image_get_name</a> (const <a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the name of the DSP block  <a href="group___hw_dep.html#ga025e4656f44f73d8c372b8b10285f202"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gaf6087e4530245055c8cceaa74df629aa">snd_hwdep_dsp_image_get_length</a> (const <a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the length of the DSP block  <a href="group___hw_dep.html#gaf6087e4530245055c8cceaa74df629aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga330539511a4fe2936351b34a26cf96ff">snd_hwdep_dsp_image_get_image</a> (const <a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the image pointer of the DSP block  <a href="group___hw_dep.html#ga330539511a4fe2936351b34a26cf96ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga6e93c88a4595ac0915211dca5f46ab72">snd_hwdep_dsp_image_set_index</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj, unsigned int index)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set the DSP block index  <a href="group___hw_dep.html#ga6e93c88a4595ac0915211dca5f46ab72"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#gab6529c1bf1aba5bf2abdbbf157a4e9e0">snd_hwdep_dsp_image_set_name</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj, const char *name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set the name of the DSP block  <a href="group___hw_dep.html#gab6529c1bf1aba5bf2abdbbf157a4e9e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga6de5750e29632c68af2648dcb11a1429">snd_hwdep_dsp_image_set_length</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj, size_t length)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set the DSP block length  <a href="group___hw_dep.html#ga6de5750e29632c68af2648dcb11a1429"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___hw_dep.html#ga3da9921e2aab7ab9ed91a39c4f3f6a0f">snd_hwdep_dsp_image_set_image</a> (<a class="el" href="group___hw_dep.html#ga041c777902d3888a5b000ccd305f32ce">snd_hwdep_dsp_image_t</a> *obj, void *image)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set the DSP block image pointer  <a href="group___hw_dep.html#ga3da9921e2aab7ab9ed91a39c4f3f6a0f"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>HwDep Interface (hardware dependent). </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Jaroslav Kysela &lt;<a href="mailto:perex@perex.cz">perex@perex.cz</a>&gt; </dd></dl>
<dl class="date"><dt><b>Date:</b></dt><dd>2000-2001</dd></dl>
<p>HwDep (hardware dependent) Interface is designed for individual hardware access. This interface does not cover any API specification. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a26ee56a9b3711414ce6687e8dc0ea646"></a><!-- doxytag: member="hwdep.c::snd_hwdep_name" ref="a26ee56a9b3711414ce6687e8dc0ea646" args="(snd_hwdep_t *hwdep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* snd_hwdep_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *&nbsp;</td>
          <td class="paramname"> <em>hwdep</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get identifier of HwDep handle </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hwdep</em>&nbsp;</td><td>a Hwdep handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>ascii identifier of HwDep handle</dd></dl>
<p>Returns the ASCII identifier of given HwDep handle. It's the same identifier specified in <a class="el" href="group___hw_dep.html#gaade8a9030fadb398fdb6d139f360f07e" title="Opens a new connection to the HwDep interface.">snd_hwdep_open()</a>. </p>

</div>
</div>
<a class="anchor" id="a162c6ca2e4c9f9dc6dd65a987ca6b118"></a><!-- doxytag: member="hwdep.c::snd_hwdep_open_lconf" ref="a162c6ca2e4c9f9dc6dd65a987ca6b118" args="(snd_hwdep_t **hwdep, const char *name, int mode, snd_config_t *lconf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int snd_hwdep_open_lconf </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> **&nbsp;</td>
          <td class="paramname"> <em>hwdep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___config.html#ga1c20905af775ae77d04d1a5696f67985">snd_config_t</a> *&nbsp;</td>
          <td class="paramname"> <em>lconf</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Opens a new connection to the HwDep interface using local configuration. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hwdep</em>&nbsp;</td><td>Returned handle (NULL if not wanted) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>ASCII identifier of the HwDep handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>Open mode </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>lconf</em>&nbsp;</td><td>The local configuration tree </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success otherwise a negative error code</dd></dl>
<p>Opens a new connection to the HwDep interface specified with an ASCII identifier and mode. </p>

</div>
</div>
<a class="anchor" id="acc4e48e9d9fa90fb5e35b3502cfe6f7f"></a><!-- doxytag: member="hwdep.c::snd_hwdep_poll_descriptors_count" ref="acc4e48e9d9fa90fb5e35b3502cfe6f7f" args="(snd_hwdep_t *hwdep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int snd_hwdep_poll_descriptors_count </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *&nbsp;</td>
          <td class="paramname"> <em>hwdep</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get count of poll descriptors for HwDep handle </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hwdep</em>&nbsp;</td><td>HwDep handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>count of poll descriptors </dd></dl>

</div>
</div>
<a class="anchor" id="a4f94fc58c4ee20fd845eb11df435107a"></a><!-- doxytag: member="hwdep.c::snd_hwdep_type" ref="a4f94fc58c4ee20fd845eb11df435107a" args="(snd_hwdep_t *hwdep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___hw_dep.html#ga839de1d3a2bf9495cc631c08099bca79">snd_hwdep_type_t</a> snd_hwdep_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___hw_dep.html#ga1f13b151f43d06b257c71570010b2ed0">snd_hwdep_t</a> *&nbsp;</td>
          <td class="paramname"> <em>hwdep</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get type of HwDep handle </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hwdep</em>&nbsp;</td><td>a HwDep handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>type of HwDep handle</dd></dl>
<p>Returns the type <a class="el" href="group___hw_dep.html#ga839de1d3a2bf9495cc631c08099bca79">snd_hwdep_type_t</a> of given HwDep handle. </p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Nov 20 07:42:24 2010 for ALSA project - the C library reference by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>