Sophie

Sophie

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

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>Hardware Parameters</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>Hardware Parameters<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&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a186">snd_pcm_hw_params_alloca</a>(ptr)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>allocate an invalid <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> using standard alloca</em> <a href="#a186"></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>int&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a0">snd_pcm_hw_params_any</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Fill params with a full configuration space for a PCM.</em> <a href="#a0"></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="group___p_c_m___h_w___params.html#a1">snd_pcm_hw_params_can_mmap_sample_resolution</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware supports sample-resolution mmap for given configuration.</em> <a href="#a1"></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="group___p_c_m___h_w___params.html#a2">snd_pcm_hw_params_is_double</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware does double buffering for start/stop for given configuration.</em> <a href="#a2"></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="group___p_c_m___h_w___params.html#a3">snd_pcm_hw_params_is_batch</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware does double buffering for data transfers for given configuration.</em> <a href="#a3"></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="group___p_c_m___h_w___params.html#a4">snd_pcm_hw_params_is_block_transfer</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware does block transfers for samples for given configuration.</em> <a href="#a4"></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="group___p_c_m___h_w___params.html#a5">snd_pcm_hw_params_can_overrange</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware supports overrange detection.</em> <a href="#a5"></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="group___p_c_m___h_w___params.html#a6">snd_pcm_hw_params_can_pause</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware supports pause.</em> <a href="#a6"></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="group___p_c_m___h_w___params.html#a7">snd_pcm_hw_params_can_resume</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware supports resume.</em> <a href="#a7"></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="group___p_c_m___h_w___params.html#a8">snd_pcm_hw_params_is_half_duplex</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware does half-duplex only.</em> <a href="#a8"></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="group___p_c_m___h_w___params.html#a9">snd_pcm_hw_params_is_joint_duplex</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware does joint-duplex (playback and capture are somewhat correlated).</em> <a href="#a9"></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="group___p_c_m___h_w___params.html#a10">snd_pcm_hw_params_can_sync_start</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check, if hardware supports synchronized start with sample resolution.</em> <a href="#a10"></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="group___p_c_m___h_w___params.html#a11">snd_pcm_hw_params_get_rate_numden</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *rate_num, unsigned int *rate_den)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get rate exact info from a configuration space.</em> <a href="#a11"></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="group___p_c_m___h_w___params.html#a12">snd_pcm_hw_params_get_sbits</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get sample resolution info from a configuration space.</em> <a href="#a12"></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="group___p_c_m___h_w___params.html#a13">snd_pcm_hw_params_get_fifo_size</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get hard are FIFO size info from a configuration space.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a14">snd_pcm_hw_params_sizeof</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>get size of <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a></em> <a href="#a14"></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="group___p_c_m___h_w___params.html#a15">snd_pcm_hw_params_malloc</a> (<a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> **ptr)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>allocate an invalid <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> using standard malloc</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a16">snd_pcm_hw_params_free</a> (<a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *obj)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a></em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a17">snd_pcm_hw_params_copy</a> (<a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *dst, const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *src)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>copy one <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> to another</em> <a href="#a17"></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="group___p_c_m___h_w___params.html#a18">snd_pcm_hw_params_get_access</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> *access) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract access type from a configuration space.</em> <a href="#a18"></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="group___p_c_m___h_w___params.html#a20">snd_pcm_hw_params_test_access</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> access)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if an access type is available inside a configuration space for a PCM.</em> <a href="#a20"></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="group___p_c_m___h_w___params.html#a21">snd_pcm_hw_params_set_access</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> access)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one access type.</em> <a href="#a21"></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="group___p_c_m___h_w___params.html#a22">snd_pcm_hw_params_set_access_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> *access) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its first access type.</em> <a href="#a22"></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="group___p_c_m___h_w___params.html#a24">snd_pcm_hw_params_set_access_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> *access) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its last access type.</em> <a href="#a24"></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="group___p_c_m___h_w___params.html#a25">snd_pcm_hw_params_set_access_mask</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a4">snd_pcm_access_mask_t</a> *mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only a set of access types.</em> <a href="#a25"></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="group___p_c_m___h_w___params.html#a26">snd_pcm_hw_params_get_access_mask</a> (<a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a4">snd_pcm_access_mask_t</a> *mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get access mask from a configuration space.</em> <a href="#a26"></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="group___p_c_m___h_w___params.html#a27">snd_pcm_hw_params_get_format</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract format from a configuration space.</em> <a href="#a27"></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="group___p_c_m___h_w___params.html#a29">snd_pcm_hw_params_test_format</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a format is available inside a configuration space for a PCM.</em> <a href="#a29"></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="group___p_c_m___h_w___params.html#a30">snd_pcm_hw_params_set_format</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one format.</em> <a href="#a30"></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="group___p_c_m___h_w___params.html#a31">snd_pcm_hw_params_set_format_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> *format) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its first format.</em> <a href="#a31"></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="group___p_c_m___h_w___params.html#a33">snd_pcm_hw_params_set_format_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a11">snd_pcm_format_t</a> *format) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its last format.</em> <a href="#a33"></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="group___p_c_m___h_w___params.html#a35">snd_pcm_hw_params_set_format_mask</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a5">snd_pcm_format_mask_t</a> *mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only a set of formats.</em> <a href="#a35"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a36">snd_pcm_hw_params_get_format_mask</a> (<a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a5">snd_pcm_format_mask_t</a> *mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get format mask from a configuration space.</em> <a href="#a36"></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="group___p_c_m___h_w___params.html#a37">snd_pcm_hw_params_get_subformat</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> *subformat) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract subformat from a configuration space.</em> <a href="#a37"></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="group___p_c_m___h_w___params.html#a39">snd_pcm_hw_params_test_subformat</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> subformat)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a subformat is available inside a configuration space for a PCM.</em> <a href="#a39"></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="group___p_c_m___h_w___params.html#a40">snd_pcm_hw_params_set_subformat</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> subformat)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one subformat.</em> <a href="#a40"></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="group___p_c_m___h_w___params.html#a41">snd_pcm_hw_params_set_subformat_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> *subformat) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its first subformat.</em> <a href="#a41"></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="group___p_c_m___h_w___params.html#a43">snd_pcm_hw_params_set_subformat_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> *subformat) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its last subformat.</em> <a href="#a43"></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="group___p_c_m___h_w___params.html#a45">snd_pcm_hw_params_set_subformat_mask</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a6">snd_pcm_subformat_mask_t</a> *mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only a set of subformats.</em> <a href="#a45"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group___p_c_m___h_w___params.html#a46">snd_pcm_hw_params_get_subformat_mask</a> (<a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a6">snd_pcm_subformat_mask_t</a> *mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get subformat mask from a configuration space.</em> <a href="#a46"></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="group___p_c_m___h_w___params.html#a47">snd_pcm_hw_params_get_channels</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract channels from a configuration space.</em> <a href="#a47"></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="group___p_c_m___h_w___params.html#a49">snd_pcm_hw_params_get_channels_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum channels count from a configuration space.</em> <a href="#a49"></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="group___p_c_m___h_w___params.html#a51">snd_pcm_hw_params_get_channels_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum channels count from a configuration space.</em> <a href="#a51"></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="group___p_c_m___h_w___params.html#a53">snd_pcm_hw_params_test_channels</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a channels count is available inside a configuration space for a PCM.</em> <a href="#a53"></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="group___p_c_m___h_w___params.html#a54">snd_pcm_hw_params_set_channels</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one channels count.</em> <a href="#a54"></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="group___p_c_m___h_w___params.html#a55">snd_pcm_hw_params_set_channels_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum channels count.</em> <a href="#a55"></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="group___p_c_m___h_w___params.html#a56">snd_pcm_hw_params_set_channels_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum channels count.</em> <a href="#a56"></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="group___p_c_m___h_w___params.html#a57">snd_pcm_hw_params_set_channels_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *min, unsigned int *max)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have channels counts in a given range.</em> <a href="#a57"></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="group___p_c_m___h_w___params.html#a58">snd_pcm_hw_params_set_channels_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have channels count nearest to a target.</em> <a href="#a58"></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="group___p_c_m___h_w___params.html#a60">snd_pcm_hw_params_set_channels_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum channels count.</em> <a href="#a60"></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="group___p_c_m___h_w___params.html#a62">snd_pcm_hw_params_set_channels_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum channels count.</em> <a href="#a62"></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="group___p_c_m___h_w___params.html#a64">snd_pcm_hw_params_get_rate</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract rate from a configuration space.</em> <a href="#a64"></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="group___p_c_m___h_w___params.html#a66">snd_pcm_hw_params_get_rate_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum rate from a configuration space.</em> <a href="#a66"></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="group___p_c_m___h_w___params.html#a68">snd_pcm_hw_params_get_rate_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum rate from a configuration space.</em> <a href="#a68"></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="group___p_c_m___h_w___params.html#a70">snd_pcm_hw_params_test_rate</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a rate is available inside a configuration space for a PCM.</em> <a href="#a70"></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="group___p_c_m___h_w___params.html#a71">snd_pcm_hw_params_set_rate</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one rate.</em> <a href="#a71"></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="group___p_c_m___h_w___params.html#a72">snd_pcm_hw_params_set_rate_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum rate.</em> <a href="#a72"></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="group___p_c_m___h_w___params.html#a73">snd_pcm_hw_params_set_rate_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum rate.</em> <a href="#a73"></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="group___p_c_m___h_w___params.html#a74">snd_pcm_hw_params_set_rate_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have rates in a given range.</em> <a href="#a74"></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="group___p_c_m___h_w___params.html#a75">snd_pcm_hw_params_set_rate_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have rate nearest to a target.</em> <a href="#a75"></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="group___p_c_m___h_w___params.html#a77">snd_pcm_hw_params_set_rate_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum rate.</em> <a href="#a77"></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="group___p_c_m___h_w___params.html#a79">snd_pcm_hw_params_set_rate_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum rate.</em> <a href="#a79"></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="group___p_c_m___h_w___params.html#a81">snd_pcm_hw_params_get_period_time</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract period time from a configuration space.</em> <a href="#a81"></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="group___p_c_m___h_w___params.html#a83">snd_pcm_hw_params_get_period_time_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum period time from a configuration space.</em> <a href="#a83"></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="group___p_c_m___h_w___params.html#a85">snd_pcm_hw_params_get_period_time_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum period time from a configuration space.</em> <a href="#a85"></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="group___p_c_m___h_w___params.html#a87">snd_pcm_hw_params_test_period_time</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a period time is available inside a configuration space for a PCM.</em> <a href="#a87"></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="group___p_c_m___h_w___params.html#a88">snd_pcm_hw_params_set_period_time</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one period time.</em> <a href="#a88"></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="group___p_c_m___h_w___params.html#a89">snd_pcm_hw_params_set_period_time_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum period time.</em> <a href="#a89"></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="group___p_c_m___h_w___params.html#a90">snd_pcm_hw_params_set_period_time_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum period time.</em> <a href="#a90"></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="group___p_c_m___h_w___params.html#a91">snd_pcm_hw_params_set_period_time_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have period times in a given range.</em> <a href="#a91"></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="group___p_c_m___h_w___params.html#a92">snd_pcm_hw_params_set_period_time_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have period time nearest to a target.</em> <a href="#a92"></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="group___p_c_m___h_w___params.html#a94">snd_pcm_hw_params_set_period_time_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum period time.</em> <a href="#a94"></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="group___p_c_m___h_w___params.html#a96">snd_pcm_hw_params_set_period_time_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum period time.</em> <a href="#a96"></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="group___p_c_m___h_w___params.html#a98">snd_pcm_hw_params_get_period_size</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *frames, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract period size from a configuration space.</em> <a href="#a98"></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="group___p_c_m___h_w___params.html#a100">snd_pcm_hw_params_get_period_size_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *frames, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum period size from a configuration space.</em> <a href="#a100"></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="group___p_c_m___h_w___params.html#a102">snd_pcm_hw_params_get_period_size_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *frames, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum period size from a configuration space.</em> <a href="#a102"></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="group___p_c_m___h_w___params.html#a104">snd_pcm_hw_params_test_period_size</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a period size is available inside a configuration space for a PCM.</em> <a href="#a104"></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="group___p_c_m___h_w___params.html#a105">snd_pcm_hw_params_set_period_size</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one period size.</em> <a href="#a105"></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="group___p_c_m___h_w___params.html#a106">snd_pcm_hw_params_set_period_size_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum period size.</em> <a href="#a106"></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="group___p_c_m___h_w___params.html#a107">snd_pcm_hw_params_set_period_size_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum period size.</em> <a href="#a107"></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="group___p_c_m___h_w___params.html#a108">snd_pcm_hw_params_set_period_size_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *min, int *mindir, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *max, int *maxdir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have period sizes in a given range.</em> <a href="#a108"></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="group___p_c_m___h_w___params.html#a109">snd_pcm_hw_params_set_period_size_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have period size nearest to a target.</em> <a href="#a109"></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="group___p_c_m___h_w___params.html#a111">snd_pcm_hw_params_set_period_size_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum period size.</em> <a href="#a111"></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="group___p_c_m___h_w___params.html#a113">snd_pcm_hw_params_set_period_size_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum period size.</em> <a href="#a113"></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="group___p_c_m___h_w___params.html#a115">snd_pcm_hw_params_set_period_size_integer</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only integer period sizes.</em> <a href="#a115"></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="group___p_c_m___h_w___params.html#a116">snd_pcm_hw_params_get_periods</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract periods from a configuration space.</em> <a href="#a116"></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="group___p_c_m___h_w___params.html#a118">snd_pcm_hw_params_get_periods_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum periods count from a configuration space.</em> <a href="#a118"></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="group___p_c_m___h_w___params.html#a120">snd_pcm_hw_params_get_periods_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum periods count from a configuration space.</em> <a href="#a120"></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="group___p_c_m___h_w___params.html#a122">snd_pcm_hw_params_test_periods</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a periods count is available inside a configuration space for a PCM.</em> <a href="#a122"></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="group___p_c_m___h_w___params.html#a123">snd_pcm_hw_params_set_periods</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one periods count.</em> <a href="#a123"></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="group___p_c_m___h_w___params.html#a124">snd_pcm_hw_params_set_periods_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum periods count.</em> <a href="#a124"></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="group___p_c_m___h_w___params.html#a125">snd_pcm_hw_params_set_periods_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum periods count.</em> <a href="#a125"></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="group___p_c_m___h_w___params.html#a126">snd_pcm_hw_params_set_periods_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have periods counts in a given range.</em> <a href="#a126"></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="group___p_c_m___h_w___params.html#a127">snd_pcm_hw_params_set_periods_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have periods count nearest to a target.</em> <a href="#a127"></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="group___p_c_m___h_w___params.html#a129">snd_pcm_hw_params_set_periods_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum periods count.</em> <a href="#a129"></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="group___p_c_m___h_w___params.html#a131">snd_pcm_hw_params_set_periods_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum periods count.</em> <a href="#a131"></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="group___p_c_m___h_w___params.html#a133">snd_pcm_hw_params_set_periods_integer</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only integer periods counts.</em> <a href="#a133"></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="group___p_c_m___h_w___params.html#a134">snd_pcm_hw_params_get_buffer_time</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract buffer time from a configuration space.</em> <a href="#a134"></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="group___p_c_m___h_w___params.html#a136">snd_pcm_hw_params_get_buffer_time_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum buffer time from a configuration space.</em> <a href="#a136"></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="group___p_c_m___h_w___params.html#a138">snd_pcm_hw_params_get_buffer_time_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum buffer time from a configuration space.</em> <a href="#a138"></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="group___p_c_m___h_w___params.html#a140">snd_pcm_hw_params_test_buffer_time</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a buffer time is available inside a configuration space for a PCM.</em> <a href="#a140"></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="group___p_c_m___h_w___params.html#a141">snd_pcm_hw_params_set_buffer_time</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one buffer time.</em> <a href="#a141"></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="group___p_c_m___h_w___params.html#a142">snd_pcm_hw_params_set_buffer_time_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum buffer time.</em> <a href="#a142"></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="group___p_c_m___h_w___params.html#a143">snd_pcm_hw_params_set_buffer_time_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum buffer time.</em> <a href="#a143"></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="group___p_c_m___h_w___params.html#a144">snd_pcm_hw_params_set_buffer_time_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have buffer times in a given range.</em> <a href="#a144"></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="group___p_c_m___h_w___params.html#a145">snd_pcm_hw_params_set_buffer_time_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have buffer time nearest to a target.</em> <a href="#a145"></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="group___p_c_m___h_w___params.html#a147">snd_pcm_hw_params_set_buffer_time_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum buffer time.</em> <a href="#a147"></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="group___p_c_m___h_w___params.html#a149">snd_pcm_hw_params_set_buffer_time_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum buffered time.</em> <a href="#a149"></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="group___p_c_m___h_w___params.html#a151">snd_pcm_hw_params_get_buffer_size</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract buffer size from a configuration space.</em> <a href="#a151"></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="group___p_c_m___h_w___params.html#a153">snd_pcm_hw_params_get_buffer_size_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum buffer size from a configuration space.</em> <a href="#a153"></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="group___p_c_m___h_w___params.html#a155">snd_pcm_hw_params_get_buffer_size_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum buffer size from a configuration space.</em> <a href="#a155"></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="group___p_c_m___h_w___params.html#a157">snd_pcm_hw_params_test_buffer_size</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a buffer size is available inside a configuration space for a PCM.</em> <a href="#a157"></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="group___p_c_m___h_w___params.html#a158">snd_pcm_hw_params_set_buffer_size</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one buffer size.</em> <a href="#a158"></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="group___p_c_m___h_w___params.html#a159">snd_pcm_hw_params_set_buffer_size_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum buffer size.</em> <a href="#a159"></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="group___p_c_m___h_w___params.html#a160">snd_pcm_hw_params_set_buffer_size_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum buffer size.</em> <a href="#a160"></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="group___p_c_m___h_w___params.html#a161">snd_pcm_hw_params_set_buffer_size_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *min, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *max)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have buffer sizes in a given range.</em> <a href="#a161"></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="group___p_c_m___h_w___params.html#a162">snd_pcm_hw_params_set_buffer_size_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have buffer size nearest to a target.</em> <a href="#a162"></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="group___p_c_m___h_w___params.html#a164">snd_pcm_hw_params_set_buffer_size_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum buffer size.</em> <a href="#a164"></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="group___p_c_m___h_w___params.html#a166">snd_pcm_hw_params_set_buffer_size_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum buffer size.</em> <a href="#a166"></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="group___p_c_m___h_w___params.html#a168">snd_pcm_hw_params_get_tick_time</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract tick time from a configuration space.</em> <a href="#a168"></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="group___p_c_m___h_w___params.html#a170">snd_pcm_hw_params_get_tick_time_min</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract minimum tick time from a configuration space.</em> <a href="#a170"></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="group___p_c_m___h_w___params.html#a172">snd_pcm_hw_params_get_tick_time_max</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract maximum tick time from a configuration space.</em> <a href="#a172"></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="group___p_c_m___h_w___params.html#a174">snd_pcm_hw_params_test_tick_time</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Verify if a tick time is available inside a configuration space for a PCM.</em> <a href="#a174"></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="group___p_c_m___h_w___params.html#a175">snd_pcm_hw_params_set_tick_time</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int val, int dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only one tick time.</em> <a href="#a175"></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="group___p_c_m___h_w___params.html#a176">snd_pcm_hw_params_set_tick_time_min</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a minimum tick time.</em> <a href="#a176"></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="group___p_c_m___h_w___params.html#a177">snd_pcm_hw_params_set_tick_time_max</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space with a maximum tick time.</em> <a href="#a177"></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="group___p_c_m___h_w___params.html#a178">snd_pcm_hw_params_set_tick_time_minmax</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have tick times in a given range.</em> <a href="#a178"></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="group___p_c_m___h_w___params.html#a179">snd_pcm_hw_params_set_tick_time_near</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to have tick time nearest to a target.</em> <a href="#a179"></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="group___p_c_m___h_w___params.html#a181">snd_pcm_hw_params_set_tick_time_first</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its minimum tick time.</em> <a href="#a181"></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="group___p_c_m___h_w___params.html#a183">snd_pcm_hw_params_set_tick_time_last</a> (<a class="el" href="group___p_c_m.html#a20">snd_pcm_t</a> *pcm, <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, unsigned int *val, int *dir) __attribute__((weak</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Restrict a configuration space to contain only its maximum tick time.</em> <a href="#a183"></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="group___p_c_m___h_w___params.html#a185">snd_pcm_hw_params_get_min_align</a> (const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *params, <a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the minimum transfer align value in samples.</em> <a href="#a185"></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="a186" doxytag="pcm.h::snd_pcm_hw_params_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_hw_params_alloca</td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">ptr&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
allocate an invalid <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_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>&nbsp;</td><td>
returned pointer </td></tr>
</table>
</dl><dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a19">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a37">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<hr><h2>Function Documentation</h2>
<a name="a0" doxytag="pcm.h::snd_pcm_hw_params_any"></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_hw_params_any </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>
Fill params with a full configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a0">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a4">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a1" doxytag="pcm.h::snd_pcm_hw_params_can_mmap_sample_resolution"></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_hw_params_can_mmap_sample_resolution </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware supports sample-resolution mmap for given configuration.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't support sample-resolution mmap </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware supports sample-resolution mmap</td></tr>
</table>
</dl>The return value is always one when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a5" doxytag="pcm.h::snd_pcm_hw_params_can_overrange"></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_hw_params_can_overrange </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware supports overrange detection.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't support overrange detection </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware supports overrange detection</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a6" doxytag="pcm.h::snd_pcm_hw_params_can_pause"></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_hw_params_can_pause </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware supports pause.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't support pause </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware supports pause</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a7" doxytag="pcm.h::snd_pcm_hw_params_can_resume"></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_hw_params_can_resume </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware supports resume.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't support resume </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware supports resume</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a10" doxytag="pcm.h::snd_pcm_hw_params_can_sync_start"></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_hw_params_can_sync_start </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware supports synchronized start with sample resolution.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't support synchronized start </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware supports synchronized start</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a17" doxytag="pcm.h::snd_pcm_hw_params_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_hw_params_copy </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dst</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>src</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>
copy one <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_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>&nbsp;</td><td>
pointer to destination </td></tr>
<tr><td valign=top><em>src</em>&nbsp;</td><td>
pointer to source </td></tr>
</table>
</dl><dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a6">/test/latency.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a16" doxytag="pcm.h::snd_pcm_hw_params_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_hw_params_free </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>obj</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
frees a previously allocated <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_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>&nbsp;</td><td>
to object to free </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a18" doxytag="pcm.h::snd_pcm_hw_params_get_access"></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_hw_params_get_access </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>access</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>
Extract access type from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>access</em>&nbsp;</td><td>
Returned value </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
access type otherwise a negative error code if not exactly one is present</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a26" doxytag="pcm.h::snd_pcm_hw_params_get_access_mask"></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_hw_params_get_access_mask </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a4">snd_pcm_access_mask_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mask</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>
Get access mask from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>mask</em>&nbsp;</td><td>
Returned Access mask </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a151" doxytag="pcm.h::snd_pcm_hw_params_get_buffer_size"></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_hw_params_get_buffer_size </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Extract buffer size from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned buffer size in frames </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a21">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a11">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a155" doxytag="pcm.h::snd_pcm_hw_params_get_buffer_size_max"></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_hw_params_get_buffer_size_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Extract maximum buffer size from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate maximum buffer size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a153" doxytag="pcm.h::snd_pcm_hw_params_get_buffer_size_min"></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_hw_params_get_buffer_size_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Extract minimum buffer size from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate minimum buffer size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a134" doxytag="pcm.h::snd_pcm_hw_params_get_buffer_time"></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_hw_params_get_buffer_time </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract buffer time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>approximate</em>&nbsp;</td><td>
buffer duration in us </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned buffer time in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a138" doxytag="pcm.h::snd_pcm_hw_params_get_buffer_time_max"></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_hw_params_get_buffer_time_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract maximum buffer time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum buffer duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a136" doxytag="pcm.h::snd_pcm_hw_params_get_buffer_time_min"></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_hw_params_get_buffer_time_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract minimum buffer time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum buffer duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a47" doxytag="pcm.h::snd_pcm_hw_params_get_channels"></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_hw_params_get_channels </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Extract channels from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a51" doxytag="pcm.h::snd_pcm_hw_params_get_channels_max"></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_hw_params_get_channels_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Extract maximum channels count from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
maximum channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a49" doxytag="pcm.h::snd_pcm_hw_params_get_channels_min"></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_hw_params_get_channels_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Extract minimum channels count from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
minimum channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a13" doxytag="pcm.h::snd_pcm_hw_params_get_fifo_size"></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_hw_params_get_fifo_size </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Get hard are FIFO size info from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
FIFO size in frames otherwise a negative error code if the info is not available</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a27" doxytag="pcm.h::snd_pcm_hw_params_get_format"></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_hw_params_get_format </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>format</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>
Extract format from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>format</em>&nbsp;</td><td>
returned format </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
format otherwise a negative error code if not exactly one is present</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a36" doxytag="pcm.h::snd_pcm_hw_params_get_format_mask"></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_hw_params_get_format_mask </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a5">snd_pcm_format_mask_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mask</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>
Get format mask from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>mask</em>&nbsp;</td><td>
Returned Format mask </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a185" doxytag="pcm.h::snd_pcm_hw_params_get_min_align"></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_hw_params_get_min_align </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Get the minimum transfer align value in samples.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned minimum align value </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present </dl>    </td>
  </tr>
</table>
<a name="a98" doxytag="pcm.h::snd_pcm_hw_params_get_period_size"></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_hw_params_get_period_size </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract period size from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a15">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a13">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a102" doxytag="pcm.h::snd_pcm_hw_params_get_period_size_max"></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_hw_params_get_period_size_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract maximum period size from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a100" doxytag="pcm.h::snd_pcm_hw_params_get_period_size_min"></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_hw_params_get_period_size_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract minimum period size from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a81" doxytag="pcm.h::snd_pcm_hw_params_get_period_time"></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_hw_params_get_period_time </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract period time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate period duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a12">/test/latency.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a85" doxytag="pcm.h::snd_pcm_hw_params_get_period_time_max"></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_hw_params_get_period_time_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract maximum period time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum period duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a83" doxytag="pcm.h::snd_pcm_hw_params_get_period_time_min"></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_hw_params_get_period_time_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract minimum period time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum period duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a116" doxytag="pcm.h::snd_pcm_hw_params_get_periods"></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_hw_params_get_periods </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract periods from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a120" doxytag="pcm.h::snd_pcm_hw_params_get_periods_max"></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_hw_params_get_periods_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract maximum periods count from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a118" doxytag="pcm.h::snd_pcm_hw_params_get_periods_min"></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_hw_params_get_periods_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract minimum periods count from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a64" doxytag="pcm.h::snd_pcm_hw_params_get_rate"></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_hw_params_get_rate </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract rate from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a68" doxytag="pcm.h::snd_pcm_hw_params_get_rate_max"></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_hw_params_get_rate_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract maximum rate from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate maximum rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a66" doxytag="pcm.h::snd_pcm_hw_params_get_rate_min"></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_hw_params_get_rate_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract minimum rate from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate minimum rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a11" doxytag="pcm.h::snd_pcm_hw_params_get_rate_numden"></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_hw_params_get_rate_numden </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>rate_num</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>rate_den</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>
Get rate exact info from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>rate_num</em>&nbsp;</td><td>
Pointer to returned rate numerator </td></tr>
<tr><td valign=top><em>rate_den</em>&nbsp;</td><td>
Pointer to returned rate denominator </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if the info is not available</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a12" doxytag="pcm.h::snd_pcm_hw_params_get_sbits"></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_hw_params_get_sbits </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Get sample resolution info from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
signification bits in sample otherwise a negative error code if the info is not available</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a37" doxytag="pcm.h::snd_pcm_hw_params_get_subformat"></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_hw_params_get_subformat </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>subformat</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>
Extract subformat from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>subformat</em>&nbsp;</td><td>
Returned subformat value </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
subformat otherwise a negative error code if not exactly one is present</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a46" doxytag="pcm.h::snd_pcm_hw_params_get_subformat_mask"></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_hw_params_get_subformat_mask </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a6">snd_pcm_subformat_mask_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mask</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>
Get subformat mask from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>mask</em>&nbsp;</td><td>
Returned Subformat mask </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a168" doxytag="pcm.h::snd_pcm_hw_params_get_tick_time"></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_hw_params_get_tick_time </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract tick time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if not exactly one is present</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a13">/test/latency.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a172" doxytag="pcm.h::snd_pcm_hw_params_get_tick_time_max"></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_hw_params_get_tick_time_max </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract maximum tick time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate maximum tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a170" doxytag="pcm.h::snd_pcm_hw_params_get_tick_time_min"></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_hw_params_get_tick_time_min </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Extract minimum tick time from a configuration space.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate minimum tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Exact value is &lt;,=,&gt; the returned one following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a3" doxytag="pcm.h::snd_pcm_hw_params_is_batch"></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_hw_params_is_batch </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware does double buffering for data transfers for given configuration.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't do double buffering for data transfers </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware does double buffering for data transfers</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a4" doxytag="pcm.h::snd_pcm_hw_params_is_block_transfer"></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_hw_params_is_block_transfer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware does block transfers for samples for given configuration.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't block transfers </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware does block transfers</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a2" doxytag="pcm.h::snd_pcm_hw_params_is_double"></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_hw_params_is_double </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware does double buffering for start/stop for given configuration.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't do double buffering for start/stop </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware does double buffering for start/stop</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a8" doxytag="pcm.h::snd_pcm_hw_params_is_half_duplex"></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_hw_params_is_half_duplex </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware does half-duplex only.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't do half-duplex </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware does half-duplex</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a9" doxytag="pcm.h::snd_pcm_hw_params_is_joint_duplex"></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_hw_params_is_joint_duplex </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>params</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Check, if hardware does joint-duplex (playback and capture are somewhat correlated).
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>param</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean value </dl><dl compact><dt><b>Return values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>0</em>&nbsp;</td><td>
Hardware doesn't do joint-duplex </td></tr>
<tr><td valign=top><em>1</em>&nbsp;</td><td>
Hardware does joint-duplex</td></tr>
</table>
</dl>It is not allowed to call this function when given configuration is not exactly one. Usually, <a class="el" href="group___p_c_m.html#a39">snd_pcm_hw_params</a> function chooses one configuration from the configuration space.     </td>
  </tr>
</table>
<a name="a15" doxytag="pcm.h::snd_pcm_hw_params_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_hw_params_malloc </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> **&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>ptr</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
allocate an invalid <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_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>&nbsp;</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="a21" doxytag="pcm.h::snd_pcm_hw_params_set_access"></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_hw_params_set_access </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>access</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>
Restrict a configuration space to contain only one access type.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>access</em>&nbsp;</td><td>
access type </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl><dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a2">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a6">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a22" doxytag="pcm.h::snd_pcm_hw_params_set_access_first"></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_hw_params_set_access_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>access</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>
Restrict a configuration space to contain only its first access type.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>access</em>&nbsp;</td><td>
Returned first access type </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a24" doxytag="pcm.h::snd_pcm_hw_params_set_access_last"></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_hw_params_set_access_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>access</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>
Restrict a configuration space to contain only its last access type.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned last access type </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a25" doxytag="pcm.h::snd_pcm_hw_params_set_access_mask"></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_hw_params_set_access_mask </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a4">snd_pcm_access_mask_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mask</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>
Restrict a configuration space to contain only a set of access types.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>mask</em>&nbsp;</td><td>
Access mask </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code </dl>    </td>
  </tr>
</table>
<a name="a158" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size"></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_hw_params_set_buffer_size </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to contain only one buffer size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
buffer size in frames </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a164" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size_first"></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_hw_params_set_buffer_size_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to contain only its minimum buffer size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned minimum buffer size in frames </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
buffer size in frames</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a166" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size_last"></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_hw_params_set_buffer_size_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to contain only its maximum buffer size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned maximum buffer size in frames </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a160" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size_max"></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_hw_params_set_buffer_size_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space with a maximum buffer size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum buffer size in frames (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a159" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size_min"></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_hw_params_set_buffer_size_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space with a minimum buffer size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum buffer size in frames (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a161" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size_minmax"></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_hw_params_set_buffer_size_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</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>
Restrict a configuration space to have buffer sizes in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum buffer size in frames (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum buffer size in frames (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a162" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_size_near"></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_hw_params_set_buffer_size_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to have buffer size nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target buffer size in frames / returned chosen approximate target buffer size in frames </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate chosen buffer size in frames</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a7">/test/latency.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a141" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time"></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_hw_params_set_buffer_time </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only one buffer time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate buffer duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a147" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time_first"></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_hw_params_set_buffer_time_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its minimum buffer time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate minimum buffer duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a149" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time_last"></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_hw_params_set_buffer_time_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its maximum buffered time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate maximum buffer duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a143" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time_max"></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_hw_params_set_buffer_time_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a maximum buffer time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum buffer duration in us (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact maximum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a142" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time_min"></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_hw_params_set_buffer_time_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a minimum buffer time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum buffer duration in us (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a144" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time_minmax"></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_hw_params_set_buffer_time_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mindir</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxdir</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>
Restrict a configuration space to have buffer times in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum buffer duration in us (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum buffer duration in us (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a145" doxytag="pcm.h::snd_pcm_hw_params_set_buffer_time_near"></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_hw_params_set_buffer_time_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to have buffer time nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target buffer duration in us / returned chosen approximate target buffer duration </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate chosen buffer duration in us</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2pcm_8c-example.html#a10">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a54" doxytag="pcm.h::snd_pcm_hw_params_set_channels"></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_hw_params_set_channels </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to contain only one channels count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl><dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a4">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a8">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a60" doxytag="pcm.h::snd_pcm_hw_params_set_channels_first"></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_hw_params_set_channels_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to contain only its minimum channels count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
minimum channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a62" doxytag="pcm.h::snd_pcm_hw_params_set_channels_last"></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_hw_params_set_channels_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to contain only its maximum channels count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
maximum channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a56" doxytag="pcm.h::snd_pcm_hw_params_set_channels_max"></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_hw_params_set_channels_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space with a maximum channels count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
maximum channels count (on return filled with actual maximum) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl>    </td>
  </tr>
</table>
<a name="a55" doxytag="pcm.h::snd_pcm_hw_params_set_channels_min"></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_hw_params_set_channels_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space with a minimum channels count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
minimum channels count (on return filled with actual minimum) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl>    </td>
  </tr>
</table>
<a name="a57" doxytag="pcm.h::snd_pcm_hw_params_set_channels_minmax"></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_hw_params_set_channels_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</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>
Restrict a configuration space to have channels counts in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
minimum channels count (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
maximum channels count (on return filled with actual maximum) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl>    </td>
  </tr>
</table>
<a name="a58" doxytag="pcm.h::snd_pcm_hw_params_set_channels_near"></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_hw_params_set_channels_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Restrict a configuration space to have channels count nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
target channels count, returned chosen channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
chosen channels count</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a30" doxytag="pcm.h::snd_pcm_hw_params_set_format"></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_hw_params_set_format </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>format</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>
Restrict a configuration space to contain only one format.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>format</em>&nbsp;</td><td>
format </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code </dl><dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a3">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a7">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a31" doxytag="pcm.h::snd_pcm_hw_params_set_format_first"></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_hw_params_set_format_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>format</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>
Restrict a configuration space to contain only its first format.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>format</em>&nbsp;</td><td>
Returned first format </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a33" doxytag="pcm.h::snd_pcm_hw_params_set_format_last"></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_hw_params_set_format_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>format</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>
Restrict a configuration space to contain only its last format.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>format</em>&nbsp;</td><td>
Returned last format </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a35" doxytag="pcm.h::snd_pcm_hw_params_set_format_mask"></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_hw_params_set_format_mask </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a5">snd_pcm_format_mask_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mask</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>
Restrict a configuration space to contain only a set of formats.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>mask</em>&nbsp;</td><td>
Format mask </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code </dl>    </td>
  </tr>
</table>
<a name="a105" doxytag="pcm.h::snd_pcm_hw_params_set_period_size"></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_hw_params_set_period_size </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only one period size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a111" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_first"></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_hw_params_set_period_size_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its minimum period size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned maximum approximate period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a115" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_integer"></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_hw_params_set_period_size_integer </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>
Restrict a configuration space to contain only integer period sizes.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl>    </td>
  </tr>
</table>
<a name="a113" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_last"></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_hw_params_set_period_size_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its maximum period size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned maximum approximate period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a107" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_max"></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_hw_params_set_period_size_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a maximum period size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum period size in frames (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a106" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_min"></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_hw_params_set_period_size_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a minimum period size.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum period size in frames (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a108" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_minmax"></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_hw_params_set_period_size_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mindir</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxdir</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>
Restrict a configuration space to have period sizes in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum period size in frames (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum period size in frames (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a109" doxytag="pcm.h::snd_pcm_hw_params_set_period_size_near"></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_hw_params_set_period_size_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to have period size nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target period size in frames / returned chosen approximate target period size </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a8">/test/latency.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a88" doxytag="pcm.h::snd_pcm_hw_params_set_period_time"></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_hw_params_set_period_time </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only one period time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate period duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a94" doxytag="pcm.h::snd_pcm_hw_params_set_period_time_first"></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_hw_params_set_period_time_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its minimum period time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate period duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a96" doxytag="pcm.h::snd_pcm_hw_params_set_period_time_last"></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_hw_params_set_period_time_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its maximum period time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate period duration in us</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a90" doxytag="pcm.h::snd_pcm_hw_params_set_period_time_max"></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_hw_params_set_period_time_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a maximum period time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum period duration in us (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact maximum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a89" doxytag="pcm.h::snd_pcm_hw_params_set_period_time_min"></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_hw_params_set_period_time_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a minimum period time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum period duration in us (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a91" doxytag="pcm.h::snd_pcm_hw_params_set_period_time_minmax"></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_hw_params_set_period_time_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mindir</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxdir</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>
Restrict a configuration space to have period times in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum period duration in us (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum period duration in us (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a92" doxytag="pcm.h::snd_pcm_hw_params_set_period_time_near"></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_hw_params_set_period_time_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to have period time nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target period duration in us / returned chosen approximate target period duration </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate chosen period duration in us</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2pcm_8c-example.html#a12">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a123" doxytag="pcm.h::snd_pcm_hw_params_set_periods"></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_hw_params_set_periods </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only one periods count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a129" doxytag="pcm.h::snd_pcm_hw_params_set_periods_first"></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_hw_params_set_periods_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its minimum periods count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate minimum periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a133" doxytag="pcm.h::snd_pcm_hw_params_set_periods_integer"></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_hw_params_set_periods_integer </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>
Restrict a configuration space to contain only integer periods counts.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl>    </td>
  </tr>
</table>
<a name="a131" doxytag="pcm.h::snd_pcm_hw_params_set_periods_last"></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_hw_params_set_periods_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its maximum periods count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate maximum periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a125" doxytag="pcm.h::snd_pcm_hw_params_set_periods_max"></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_hw_params_set_periods_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a maximum periods count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum periods per buffer (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact maximum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a124" doxytag="pcm.h::snd_pcm_hw_params_set_periods_min"></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_hw_params_set_periods_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a minimum periods count.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum periods per buffer (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a126" doxytag="pcm.h::snd_pcm_hw_params_set_periods_minmax"></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_hw_params_set_periods_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mindir</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxdir</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>
Restrict a configuration space to have periods counts in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum periods per buffer (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum periods per buffer (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a127" doxytag="pcm.h::snd_pcm_hw_params_set_periods_near"></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_hw_params_set_periods_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to have periods count nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target periods per buffer / returned chosen approximate target periods per buffer </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate chosen periods per buffer</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a71" doxytag="pcm.h::snd_pcm_hw_params_set_rate"></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_hw_params_set_rate </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only one rate.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a77" doxytag="pcm.h::snd_pcm_hw_params_set_rate_first"></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_hw_params_set_rate_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its minimum rate.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned minimum approximate rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a79" doxytag="pcm.h::snd_pcm_hw_params_set_rate_last"></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_hw_params_set_rate_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its maximum rate.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned maximum approximate rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a73" doxytag="pcm.h::snd_pcm_hw_params_set_rate_max"></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_hw_params_set_rate_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a maximum rate.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum rate (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact maximum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a72" doxytag="pcm.h::snd_pcm_hw_params_set_rate_min"></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_hw_params_set_rate_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a minimum rate.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum rate (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a74" doxytag="pcm.h::snd_pcm_hw_params_set_rate_minmax"></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_hw_params_set_rate_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mindir</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxdir</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>
Restrict a configuration space to have rates in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum rate (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum rate (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a75" doxytag="pcm.h::snd_pcm_hw_params_set_rate_near"></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_hw_params_set_rate_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to have rate nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target rate / returned approximate set rate </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate chosen rate</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2test_2latency_8c-example.html#a5">/test/latency.c</a>, and <a class="el" href="_2test_2pcm_8c-example.html#a9">/test/pcm.c</a>.</dl>    </td>
  </tr>
</table>
<a name="a40" doxytag="pcm.h::snd_pcm_hw_params_set_subformat"></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_hw_params_set_subformat </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>subformat</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>
Restrict a configuration space to contain only one subformat.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>subformat</em>&nbsp;</td><td>
subformat value </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty </dl>    </td>
  </tr>
</table>
<a name="a41" doxytag="pcm.h::snd_pcm_hw_params_set_subformat_first"></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_hw_params_set_subformat_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>subformat</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>
Restrict a configuration space to contain only its first subformat.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>subformat</em>&nbsp;</td><td>
Returned subformat </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a43" doxytag="pcm.h::snd_pcm_hw_params_set_subformat_last"></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_hw_params_set_subformat_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>subformat</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>
Restrict a configuration space to contain only its last subformat.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>subformat</em>&nbsp;</td><td>
Returned subformat </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a45" doxytag="pcm.h::snd_pcm_hw_params_set_subformat_mask"></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_hw_params_set_subformat_mask </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a6">snd_pcm_subformat_mask_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mask</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>
Restrict a configuration space to contain only a set of subformats.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>mask</em>&nbsp;</td><td>
Subformat mask </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code </dl>    </td>
  </tr>
</table>
<a name="a175" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time"></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_hw_params_set_tick_time </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only one tick time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a181" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time_first"></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_hw_params_set_tick_time_first </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its minimum tick time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate minimum tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a183" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time_last"></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_hw_params_set_tick_time_last </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to contain only its maximum tick time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
Returned approximate maximum tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code</dl>Actual exact value is &lt;,=,&gt; the approximate one following dir (-1, 0, 1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a177" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time_max"></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_hw_params_set_tick_time_max </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a maximum tick time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate maximum tick duration in us (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact maximum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a176" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time_min"></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_hw_params_set_tick_time_min </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space with a minimum tick time.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate minimum tick duration in us (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact minimum is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a178" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time_minmax"></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_hw_params_set_tick_time_minmax </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mindir</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxdir</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>
Restrict a configuration space to have tick times in a given range.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>
approximate minimum tick duration in us (on return filled with actual minimum) </td></tr>
<tr><td valign=top><em>mindir</em>&nbsp;</td><td>
Sub unit direction for minimum (on return filled with actual direction) </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>
approximate maximum tick duration in us (on return filled with actual maximum) </td></tr>
<tr><td valign=top><em>maxdir</em>&nbsp;</td><td>
Sub unit direction for maximum (on return filled with actual direction) </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
0 otherwise a negative error code if configuration space would become empty</dl>Wanted/actual exact min/max is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a179" doxytag="pcm.h::snd_pcm_hw_params_set_tick_time_near"></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_hw_params_set_tick_time_near </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Restrict a configuration space to have tick time nearest to a target.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate target tick duration in us / returned chosen approximate target tick duration in us </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
approximate chosen tick duration in us</dl>target/chosen exact value is &lt;,=,&gt; val following dir (-1,0,1)
<p>
Note: To use this function add 'define ALSA_PCM_NEW_HW_PARAMS_API' before 'include &lt;alsa/asoundlib.h&gt;' to enable this new function prototype. Using of older function with same name is deprecated.     </td>
  </tr>
</table>
<a name="a14" doxytag="pcm.h::snd_pcm_hw_params_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_hw_params_sizeof </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
get size of <a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a>
<p>
<dl compact><dt><b>Returns: </b></dt><dd>
size in bytes </dl>    </td>
  </tr>
</table>
<a name="a20" doxytag="pcm.h::snd_pcm_hw_params_test_access"></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_hw_params_test_access </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a10">snd_pcm_access_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>access</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>
Verify if an access type is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>access</em>&nbsp;</td><td>
access type </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise </dl>    </td>
  </tr>
</table>
<a name="a157" doxytag="pcm.h::snd_pcm_hw_params_test_buffer_size"></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_hw_params_test_buffer_size </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Verify if a buffer size is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
buffer size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a140" doxytag="pcm.h::snd_pcm_hw_params_test_buffer_time"></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_hw_params_test_buffer_time </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Verify if a buffer time is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate buffer duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a53" doxytag="pcm.h::snd_pcm_hw_params_test_channels"></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_hw_params_test_channels </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</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>
Verify if a channels count is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
channels count </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise </dl>    </td>
  </tr>
</table>
<a name="a29" doxytag="pcm.h::snd_pcm_hw_params_test_format"></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_hw_params_test_format </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</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>format</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>
Verify if a format is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>format</em>&nbsp;</td><td>
format </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise </dl>    </td>
  </tr>
</table>
<a name="a104" doxytag="pcm.h::snd_pcm_hw_params_test_period_size"></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_hw_params_test_period_size </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a17">snd_pcm_uframes_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Verify if a period size is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate period size in frames </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a87" doxytag="pcm.h::snd_pcm_hw_params_test_period_time"></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_hw_params_test_period_time </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Verify if a period time is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate period duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a122" doxytag="pcm.h::snd_pcm_hw_params_test_periods"></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_hw_params_test_periods </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Verify if a periods count is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate periods per buffer </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a70" doxytag="pcm.h::snd_pcm_hw_params_test_rate"></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_hw_params_test_rate </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Verify if a rate is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate rate </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </td>
  </tr>
</table>
<a name="a39" doxytag="pcm.h::snd_pcm_hw_params_test_subformat"></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_hw_params_test_subformat </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a12">snd_pcm_subformat_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>subformat</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>
Verify if a subformat is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>subformat</em>&nbsp;</td><td>
subformat value </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise </dl>    </td>
  </tr>
</table>
<a name="a174" doxytag="pcm.h::snd_pcm_hw_params_test_tick_time"></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_hw_params_test_tick_time </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>pcm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group___p_c_m.html#a1">snd_pcm_hw_params_t</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>params</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>val</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</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>
Verify if a tick time is available inside a configuration space for a PCM.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pcm</em>&nbsp;</td><td>
PCM handle </td></tr>
<tr><td valign=top><em>params</em>&nbsp;</td><td>
Configuration space </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>
approximate tick duration in us </td></tr>
<tr><td valign=top><em>dir</em>&nbsp;</td><td>
Sub unit direction </td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
1 if available 0 otherwise</dl>Wanted exact value is &lt;,=,&gt; val following dir (-1,0,1)     </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>