Current File : //kunden/usr/share/doc/pulseaudio-libs-devel/html/format_8h_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PulseAudio: format.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">PulseAudio
   &#160;<span id="projectnumber">15.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('format_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">format.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="format_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef fooformathfoo</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define fooformathfoo</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/***</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">  This file is part of PulseAudio.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">  Copyright 2011 Intel Corporation</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">  Copyright 2011 Collabora Multimedia</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">  Copyright 2011 Arun Raghavan &lt;arun.raghavan@collabora.co.uk&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">  PulseAudio is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">  it under the terms of the GNU Lesser General Public License as published</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">  by the Free Software Foundation; either version 2.1 of the License,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">  or (at your option) any later version.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">  PulseAudio is distributed in the hope that it will be useful, but</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">  WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">  General Public License for more details.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">  You should have received a copy of the GNU Lesser General Public License</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">  along with PulseAudio; if not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">***/</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;pulse/cdecl.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="gccmacro_8h.html">pulse/gccmacro.h</a>&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="proplist_8h.html">pulse/proplist.h</a>&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="sample_8h.html">pulse/sample.h</a>&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="channelmap_8h.html">pulse/channelmap.h</a>&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;PA_C_DECL_BEGIN</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="format_8h.html#a708ed76801eb84544075e21fe8a07652">   37</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652">pa_encoding</a> {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a1314110ee09c543c975b3ebdffe5bf70">PA_ENCODING_ANY</a>,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652af5b3680520cee5f542b4d3d1b1c4e71f">PA_ENCODING_PCM</a>,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652af570614498d7843f30f2860d14a8318a">PA_ENCODING_AC3_IEC61937</a>,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a080fa22cf987bdc4b64328984693d9ba">PA_ENCODING_EAC3_IEC61937</a>,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a37ea55639a90b284526d4c29c86737e5">PA_ENCODING_MPEG_IEC61937</a>,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652ad97283df564ca82862896059fa5877ce">PA_ENCODING_DTS_IEC61937</a>,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a96bfd1eb3dea46d8f05abac6cf060aec">PA_ENCODING_MPEG2_AAC_IEC61937</a>,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a849feeb1aba51f16745391c6465d0198">PA_ENCODING_TRUEHD_IEC61937</a>,</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a5e46f7bc56d6e6bc037bca2935b01e15">PA_ENCODING_DTSHD_IEC61937</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="comment">/* Remeber to update</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">     * https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SupportedAudioFormats/</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">     * when adding new encodings! */</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a6183eb06c06e2d708b7423da49824bd4">PA_ENCODING_MAX</a>,</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="format_8h.html#a708ed76801eb84544075e21fe8a07652a1f9111d9e6ce5a7d631a9cf256cded52">PA_ENCODING_INVALID</a> = -1,</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="format_8h.html#a4f4cac86c47507c68ee2a36faf86da06">   74</a></span>&#160;} <a class="code" href="format_8h.html#a4f4cac86c47507c68ee2a36faf86da06">pa_encoding_t</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#define PA_ENCODING_ANY PA_ENCODING_ANY</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">#define PA_ENCODING_PCM PA_ENCODING_PCM</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#define PA_ENCODING_AC3_IEC61937 PA_ENCODING_AC3_IEC61937</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#define PA_ENCODING_EAC3_IEC61937 PA_ENCODING_EAC3_IEC61937</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#define PA_ENCODING_MPEG_IEC61937 PA_ENCODING_MPEG_IEC61937</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#define PA_ENCODING_DTS_IEC61937 PA_ENCODING_DTS_IEC61937</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">#define PA_ENCODING_MPEG2_AAC_IEC61937 PA_ENCODING_MPEG2_AAC_IEC61937</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#define PA_ENCODING_TRUEHD_IEC61937 PA_ENCODING_TRUEHD_IEC61937</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">#define PA_ENCODING_DTSHD_IEC61937 PA_ENCODING_DTSHD_IEC61937</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#define PA_ENCODING_MAX PA_ENCODING_MAX</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="preprocessor">#define PA_ENCODING_INVALID PA_ENCODING_INVALID</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="format_8h.html#ab26d3d38076ec1253877b56bb6e4c5a1">   91</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="format_8h.html#ab26d3d38076ec1253877b56bb6e4c5a1">pa_encoding_to_string</a>(<a class="code" href="format_8h.html#a4f4cac86c47507c68ee2a36faf86da06">pa_encoding_t</a> e) <a class="code" href="gccmacro_8h.html#a318a98dce3b37977670c87a74c173b16">PA_GCC_CONST</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="format_8h.html#ad96df235255893807a779cf986a322ba">   95</a></span>&#160;<a class="code" href="format_8h.html#a4f4cac86c47507c68ee2a36faf86da06">pa_encoding_t</a> <a class="code" href="format_8h.html#ad96df235255893807a779cf986a322ba">pa_encoding_from_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *encoding);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structpa__format__info.html">   98</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__format__info.html">pa_format_info</a> {</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structpa__format__info.html#aa5a1263cd3a5d126e73be1a80aa81cf6">   99</a></span>&#160;    <a class="code" href="format_8h.html#a4f4cac86c47507c68ee2a36faf86da06">pa_encoding_t</a> <a class="code" href="structpa__format__info.html#aa5a1263cd3a5d126e73be1a80aa81cf6">encoding</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structpa__format__info.html#a7780c0fae8324fbef3c81fb482103913">  102</a></span>&#160;    <a class="code" href="proplist_8h.html#acdf756a6014b6fae3b358b2c934c3426">pa_proplist</a> *<a class="code" href="structpa__format__info.html#a7780c0fae8324fbef3c81fb482103913">plist</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="format_8h.html#afc7859f1e99c69184504b8e692bbda2f">  104</a></span>&#160;} <a class="code" href="format_8h.html#afc7859f1e99c69184504b8e692bbda2f">pa_format_info</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="format_8h.html#a656b51bb7c82883e4cad92b134625942">  108</a></span>&#160;<a class="code" href="structpa__format__info.html">pa_format_info</a>* <a class="code" href="format_8h.html#a656b51bb7c82883e4cad92b134625942">pa_format_info_new</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="format_8h.html#adcb74d9b96e4e7f2bf446ccb59fe795b">  111</a></span>&#160;<a class="code" href="structpa__format__info.html">pa_format_info</a>* <a class="code" href="format_8h.html#adcb74d9b96e4e7f2bf446ccb59fe795b">pa_format_info_copy</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *src);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="format_8h.html#ad4a85d0c897cda925339194a6afbf4f3">  114</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#ad4a85d0c897cda925339194a6afbf4f3">pa_format_info_free</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="format_8h.html#a9efd301cfd24b37737c6a2e2b47c9261">  117</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a9efd301cfd24b37737c6a2e2b47c9261">pa_format_info_valid</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="format_8h.html#a8c48d16d0851791265bdb33ce81b749b">  121</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a8c48d16d0851791265bdb33ce81b749b">pa_format_info_is_pcm</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="format_8h.html#a71d871a0d9c0624d17a6fe12be0a548a">  130</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a71d871a0d9c0624d17a6fe12be0a548a">pa_format_info_is_compatible</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *first, <span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *second);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="format_8h.html#a9d03b1f626df546dd2f281a561853fe3">  137</a></span>&#160;<span class="preprocessor">#define PA_FORMAT_INFO_SNPRINT_MAX 256</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="format_8h.html#acebcc293f5e695a6c171d94e2d1f17a3">  140</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="format_8h.html#acebcc293f5e695a6c171d94e2d1f17a3">pa_format_info_snprint</a>(<span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> l, <span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="format_8h.html#ab8df9952b866161e257807dfe5da4357">  144</a></span>&#160;<a class="code" href="structpa__format__info.html">pa_format_info</a>* <a class="code" href="format_8h.html#ab8df9952b866161e257807dfe5da4357">pa_format_info_from_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="format_8h.html#a1cfd380549e94849b9bd29d43d62b593">  158</a></span>&#160;<a class="code" href="structpa__format__info.html">pa_format_info</a>* <a class="code" href="format_8h.html#a1cfd380549e94849b9bd29d43d62b593">pa_format_info_from_sample_spec</a>(<span class="keyword">const</span> <a class="code" href="structpa__sample__spec.html">pa_sample_spec</a> *ss, <span class="keyword">const</span> <a class="code" href="structpa__channel__map.html">pa_channel_map</a> *map);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="format_8h.html#a092e9e20e51cd2b3b72acccc7d10ef15">  165</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a092e9e20e51cd2b3b72acccc7d10ef15">pa_format_info_to_sample_spec</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <a class="code" href="structpa__sample__spec.html">pa_sample_spec</a> *ss, <a class="code" href="structpa__channel__map.html">pa_channel_map</a> *map);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007">  168</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007">pa_prop_type_t</a> {</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a10142fbf5a15bbdac6153afc1f3965bf">PA_PROP_TYPE_INT</a>,</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a5b7b6fc0c6064e1653109e2e239606f8">PA_PROP_TYPE_INT_RANGE</a>,</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007ad045693657b6cbdf25a4f562b1a4b621">PA_PROP_TYPE_INT_ARRAY</a>,</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a04e9b28bc24156fec65d0208eeffe35e">PA_PROP_TYPE_STRING</a>,</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a4ab87daa27459bbed1cead84800135c8">PA_PROP_TYPE_STRING_ARRAY</a>,</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007adf3b133ae062ed88366c26d3645027c7">PA_PROP_TYPE_INVALID</a> = -1,</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="format_8h.html#ac18d06267d8b65d85e06b70ed28730e4">  186</a></span>&#160;} <a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007">pa_prop_type_t</a>;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#define PA_PROP_TYPE_INT PA_PROP_TYPE_INT</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor">#define PA_PROP_TYPE_INT_RANGE PA_PROP_TYPE_INT_RANGE</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#define PA_PROP_TYPE_INT_ARRAY PA_PROP_TYPE_INT_ARRAY</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">#define PA_PROP_TYPE_STRING PA_PROP_TYPE_STRING</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#define PA_PROP_TYPE_STRING_ARRAY PA_PROP_TYPE_STRING_ARRAY</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#define PA_PROP_TYPE_INVALID PA_PROP_TYPE_INVALID</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="format_8h.html#a87728336c103aaac4c5e76d2c65f4cce">  198</a></span>&#160;<a class="code" href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007">pa_prop_type_t</a> <a class="code" href="format_8h.html#a87728336c103aaac4c5e76d2c65f4cce">pa_format_info_get_prop_type</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="format_8h.html#a385d73fe57a2c2dfd28e9eca48f6c408">  201</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a385d73fe57a2c2dfd28e9eca48f6c408">pa_format_info_get_prop_int</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">int</span> *v);</div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="format_8h.html#ab8e6eaecf82ee84f084b7654d938b9cb">  204</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#ab8e6eaecf82ee84f084b7654d938b9cb">pa_format_info_get_prop_int_range</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">int</span> *min, <span class="keywordtype">int</span> *max);</div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="format_8h.html#a662935ca585b97d292336e638c2d2bb3">  208</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a662935ca585b97d292336e638c2d2bb3">pa_format_info_get_prop_int_array</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">int</span> **values, <span class="keywordtype">int</span> *n_values);</div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="format_8h.html#a8bb07a605cdfae5ada7918e01aa0872c">  211</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a8bb07a605cdfae5ada7918e01aa0872c">pa_format_info_get_prop_string</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">char</span> **v);</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="format_8h.html#a1c50248324fd57eb989ca898a5618fbe">  215</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a1c50248324fd57eb989ca898a5618fbe">pa_format_info_get_prop_string_array</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">char</span> ***values, <span class="keywordtype">int</span> *n_values);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="format_8h.html#a4e6c84b0e37e33cae25efd059d222d5c">  218</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a4e6c84b0e37e33cae25efd059d222d5c">pa_format_info_free_string_array</a>(<span class="keywordtype">char</span> **values, <span class="keywordtype">int</span> n_values);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="format_8h.html#a557109df6169fa5a772e46eb59caa61e">  223</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a557109df6169fa5a772e46eb59caa61e">pa_format_info_get_sample_format</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <a class="code" href="sample_8h.html#a914d67463e4e625309bed7230b5d32b5">pa_sample_format_t</a> *sf);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="format_8h.html#a9f5528a8987815f789b52541387df5c4">  228</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a9f5528a8987815f789b52541387df5c4">pa_format_info_get_rate</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, uint32_t *rate);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="format_8h.html#ab01d73588044730ee68f5aad9ebe5cec">  233</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#ab01d73588044730ee68f5aad9ebe5cec">pa_format_info_get_channels</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, uint8_t *channels);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="format_8h.html#a1e068ae5ea6415ce577879a2e88f5249">  238</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="format_8h.html#a1e068ae5ea6415ce577879a2e88f5249">pa_format_info_get_channel_map</a>(<span class="keyword">const</span> <a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <a class="code" href="structpa__channel__map.html">pa_channel_map</a> *map);</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="format_8h.html#a69567649133e4907c6a25e7baaa95d29">  241</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a69567649133e4907c6a25e7baaa95d29">pa_format_info_set_prop_int</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="format_8h.html#a422a3d83da63a6e778f1a40bc3540667">  243</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a422a3d83da63a6e778f1a40bc3540667">pa_format_info_set_prop_int_array</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">int</span> *values, <span class="keywordtype">int</span> n_values);</div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="format_8h.html#a4faf1af2d146f848d1e31f276d4901c8">  245</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a4faf1af2d146f848d1e31f276d4901c8">pa_format_info_set_prop_int_range</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> max);</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="format_8h.html#a3c0ad5ff976e2e3347b3bb98b0748b7a">  247</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a3c0ad5ff976e2e3347b3bb98b0748b7a">pa_format_info_set_prop_string</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="format_8h.html#a5ae53ecf0d5b56a63aead1ff56f1cb25">  249</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a5ae53ecf0d5b56a63aead1ff56f1cb25">pa_format_info_set_prop_string_array</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> **values, <span class="keywordtype">int</span> n_values);</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="format_8h.html#a6e43baade49ac428880361b10d66d08e">  260</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a6e43baade49ac428880361b10d66d08e">pa_format_info_set_sample_format</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <a class="code" href="sample_8h.html#a914d67463e4e625309bed7230b5d32b5">pa_sample_format_t</a> sf);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="format_8h.html#a01cdeda2c082cf6a006b0b08102268c2">  271</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a01cdeda2c082cf6a006b0b08102268c2">pa_format_info_set_rate</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keywordtype">int</span> rate);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="format_8h.html#a6238546c60f370e8171b274feac7cb70">  282</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a6238546c60f370e8171b274feac7cb70">pa_format_info_set_channels</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keywordtype">int</span> channels);</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="format_8h.html#a2e6894e4e8bbb8ac23928f24d8d4b05c">  293</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="format_8h.html#a2e6894e4e8bbb8ac23928f24d8d4b05c">pa_format_info_set_channel_map</a>(<a class="code" href="structpa__format__info.html">pa_format_info</a> *f, <span class="keyword">const</span> <a class="code" href="structpa__channel__map.html">pa_channel_map</a> *map);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;PA_C_DECL_END</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="achannelmap_8h_html"><div class="ttname"><a href="channelmap_8h.html">channelmap.h</a></div><div class="ttdoc">Constants and routines for channel mapping handling.</div></div>
<div class="ttc" id="aformat_8h_html_a01cdeda2c082cf6a006b0b08102268c2"><div class="ttname"><a href="format_8h.html#a01cdeda2c082cf6a006b0b08102268c2">pa_format_info_set_rate</a></div><div class="ttdeci">void pa_format_info_set_rate(pa_format_info *f, int rate)</div><div class="ttdoc">Convenience method to set the sampling rate as a property on the given format.</div></div>
<div class="ttc" id="aformat_8h_html_a092e9e20e51cd2b3b72acccc7d10ef15"><div class="ttname"><a href="format_8h.html#a092e9e20e51cd2b3b72acccc7d10ef15">pa_format_info_to_sample_spec</a></div><div class="ttdeci">int pa_format_info_to_sample_spec(const pa_format_info *f, pa_sample_spec *ss, pa_channel_map *map)</div><div class="ttdoc">Utility function to generate a pa_sample_spec and pa_channel_map corresponding to a given pa_format_i...</div></div>
<div class="ttc" id="aformat_8h_html_a1c50248324fd57eb989ca898a5618fbe"><div class="ttname"><a href="format_8h.html#a1c50248324fd57eb989ca898a5618fbe">pa_format_info_get_prop_string_array</a></div><div class="ttdeci">int pa_format_info_get_prop_string_array(const pa_format_info *f, const char *key, char ***values, int *n_values)</div><div class="ttdoc">Gets a string array property from the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a1cfd380549e94849b9bd29d43d62b593"><div class="ttname"><a href="format_8h.html#a1cfd380549e94849b9bd29d43d62b593">pa_format_info_from_sample_spec</a></div><div class="ttdeci">pa_format_info * pa_format_info_from_sample_spec(const pa_sample_spec *ss, const pa_channel_map *map)</div><div class="ttdoc">Utility function to take a pa_sample_spec and generate the corresponding pa_format_info.</div></div>
<div class="ttc" id="aformat_8h_html_a1e068ae5ea6415ce577879a2e88f5249"><div class="ttname"><a href="format_8h.html#a1e068ae5ea6415ce577879a2e88f5249">pa_format_info_get_channel_map</a></div><div class="ttdeci">int pa_format_info_get_channel_map(const pa_format_info *f, pa_channel_map *map)</div><div class="ttdoc">Gets the channel map stored in the format info.</div></div>
<div class="ttc" id="aformat_8h_html_a2e6894e4e8bbb8ac23928f24d8d4b05c"><div class="ttname"><a href="format_8h.html#a2e6894e4e8bbb8ac23928f24d8d4b05c">pa_format_info_set_channel_map</a></div><div class="ttdeci">void pa_format_info_set_channel_map(pa_format_info *f, const pa_channel_map *map)</div><div class="ttdoc">Convenience method to set the channel map as a property on the given format.</div></div>
<div class="ttc" id="aformat_8h_html_a385d73fe57a2c2dfd28e9eca48f6c408"><div class="ttname"><a href="format_8h.html#a385d73fe57a2c2dfd28e9eca48f6c408">pa_format_info_get_prop_int</a></div><div class="ttdeci">int pa_format_info_get_prop_int(const pa_format_info *f, const char *key, int *v)</div><div class="ttdoc">Gets an integer property from the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a3c0ad5ff976e2e3347b3bb98b0748b7a"><div class="ttname"><a href="format_8h.html#a3c0ad5ff976e2e3347b3bb98b0748b7a">pa_format_info_set_prop_string</a></div><div class="ttdeci">void pa_format_info_set_prop_string(pa_format_info *f, const char *key, const char *value)</div><div class="ttdoc">Sets a string property on the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a422a3d83da63a6e778f1a40bc3540667"><div class="ttname"><a href="format_8h.html#a422a3d83da63a6e778f1a40bc3540667">pa_format_info_set_prop_int_array</a></div><div class="ttdeci">void pa_format_info_set_prop_int_array(pa_format_info *f, const char *key, const int *values, int n_values)</div><div class="ttdoc">Sets a property with a list of integer values on the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a4e6c84b0e37e33cae25efd059d222d5c"><div class="ttname"><a href="format_8h.html#a4e6c84b0e37e33cae25efd059d222d5c">pa_format_info_free_string_array</a></div><div class="ttdeci">void pa_format_info_free_string_array(char **values, int n_values)</div><div class="ttdoc">Frees a string array returned by pa_format_info_get_prop_string_array.</div></div>
<div class="ttc" id="aformat_8h_html_a4f4cac86c47507c68ee2a36faf86da06"><div class="ttname"><a href="format_8h.html#a4f4cac86c47507c68ee2a36faf86da06">pa_encoding_t</a></div><div class="ttdeci">enum pa_encoding pa_encoding_t</div><div class="ttdoc">Represents the type of encoding used in a stream or accepted by a sink.</div></div>
<div class="ttc" id="aformat_8h_html_a4faf1af2d146f848d1e31f276d4901c8"><div class="ttname"><a href="format_8h.html#a4faf1af2d146f848d1e31f276d4901c8">pa_format_info_set_prop_int_range</a></div><div class="ttdeci">void pa_format_info_set_prop_int_range(pa_format_info *f, const char *key, int min, int max)</div><div class="ttdoc">Sets a property which can have any value in a given integer range on the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a557109df6169fa5a772e46eb59caa61e"><div class="ttname"><a href="format_8h.html#a557109df6169fa5a772e46eb59caa61e">pa_format_info_get_sample_format</a></div><div class="ttdeci">int pa_format_info_get_sample_format(const pa_format_info *f, pa_sample_format_t *sf)</div><div class="ttdoc">Gets the sample format stored in the format info.</div></div>
<div class="ttc" id="aformat_8h_html_a5ae53ecf0d5b56a63aead1ff56f1cb25"><div class="ttname"><a href="format_8h.html#a5ae53ecf0d5b56a63aead1ff56f1cb25">pa_format_info_set_prop_string_array</a></div><div class="ttdeci">void pa_format_info_set_prop_string_array(pa_format_info *f, const char *key, const char **values, int n_values)</div><div class="ttdoc">Sets a property with a list of string values on the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a6238546c60f370e8171b274feac7cb70"><div class="ttname"><a href="format_8h.html#a6238546c60f370e8171b274feac7cb70">pa_format_info_set_channels</a></div><div class="ttdeci">void pa_format_info_set_channels(pa_format_info *f, int channels)</div><div class="ttdoc">Convenience method to set the number of channels as a property on the given format.</div></div>
<div class="ttc" id="aformat_8h_html_a656b51bb7c82883e4cad92b134625942"><div class="ttname"><a href="format_8h.html#a656b51bb7c82883e4cad92b134625942">pa_format_info_new</a></div><div class="ttdeci">pa_format_info * pa_format_info_new(void)</div><div class="ttdoc">Allocates a new pa_format_info structure.</div></div>
<div class="ttc" id="aformat_8h_html_a662935ca585b97d292336e638c2d2bb3"><div class="ttname"><a href="format_8h.html#a662935ca585b97d292336e638c2d2bb3">pa_format_info_get_prop_int_array</a></div><div class="ttdeci">int pa_format_info_get_prop_int_array(const pa_format_info *f, const char *key, int **values, int *n_values)</div><div class="ttdoc">Gets an integer array property from the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a69567649133e4907c6a25e7baaa95d29"><div class="ttname"><a href="format_8h.html#a69567649133e4907c6a25e7baaa95d29">pa_format_info_set_prop_int</a></div><div class="ttdeci">void pa_format_info_set_prop_int(pa_format_info *f, const char *key, int value)</div><div class="ttdoc">Sets an integer property on the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a6e43baade49ac428880361b10d66d08e"><div class="ttname"><a href="format_8h.html#a6e43baade49ac428880361b10d66d08e">pa_format_info_set_sample_format</a></div><div class="ttdeci">void pa_format_info_set_sample_format(pa_format_info *f, pa_sample_format_t sf)</div><div class="ttdoc">Convenience method to set the sample format as a property on the given format.</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652">pa_encoding</a></div><div class="ttdeci">pa_encoding</div><div class="ttdoc">Represents the type of encoding used in a stream or accepted by a sink.</div><div class="ttdef"><b>Definition:</b> format.h:37</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a080fa22cf987bdc4b64328984693d9ba"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a080fa22cf987bdc4b64328984693d9ba">PA_ENCODING_EAC3_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_EAC3_IEC61937</div><div class="ttdoc">EAC3 data encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:47</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a1314110ee09c543c975b3ebdffe5bf70"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a1314110ee09c543c975b3ebdffe5bf70">PA_ENCODING_ANY</a></div><div class="ttdeci">@ PA_ENCODING_ANY</div><div class="ttdoc">Any encoding format, PCM or compressed.</div><div class="ttdef"><b>Definition:</b> format.h:38</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a1f9111d9e6ce5a7d631a9cf256cded52"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a1f9111d9e6ce5a7d631a9cf256cded52">PA_ENCODING_INVALID</a></div><div class="ttdeci">@ PA_ENCODING_INVALID</div><div class="ttdoc">Represents an invalid encoding.</div><div class="ttdef"><b>Definition:</b> format.h:72</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a37ea55639a90b284526d4c29c86737e5"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a37ea55639a90b284526d4c29c86737e5">PA_ENCODING_MPEG_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_MPEG_IEC61937</div><div class="ttdoc">MPEG-1 or MPEG-2 (Part 3, not AAC) data encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:50</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a5e46f7bc56d6e6bc037bca2935b01e15"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a5e46f7bc56d6e6bc037bca2935b01e15">PA_ENCODING_DTSHD_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_DTSHD_IEC61937</div><div class="ttdoc">DTS-HD Master Audio encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:62</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a6183eb06c06e2d708b7423da49824bd4"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a6183eb06c06e2d708b7423da49824bd4">PA_ENCODING_MAX</a></div><div class="ttdeci">@ PA_ENCODING_MAX</div><div class="ttdoc">Valid encoding types must be less than this value.</div><div class="ttdef"><b>Definition:</b> format.h:69</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a849feeb1aba51f16745391c6465d0198"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a849feeb1aba51f16745391c6465d0198">PA_ENCODING_TRUEHD_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_TRUEHD_IEC61937</div><div class="ttdoc">Dolby TrueHD data encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:59</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652a96bfd1eb3dea46d8f05abac6cf060aec"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652a96bfd1eb3dea46d8f05abac6cf060aec">PA_ENCODING_MPEG2_AAC_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_MPEG2_AAC_IEC61937</div><div class="ttdoc">MPEG-2 AAC data encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:56</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652ad97283df564ca82862896059fa5877ce"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652ad97283df564ca82862896059fa5877ce">PA_ENCODING_DTS_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_DTS_IEC61937</div><div class="ttdoc">DTS data encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:53</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652af570614498d7843f30f2860d14a8318a"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652af570614498d7843f30f2860d14a8318a">PA_ENCODING_AC3_IEC61937</a></div><div class="ttdeci">@ PA_ENCODING_AC3_IEC61937</div><div class="ttdoc">AC3 data encapsulated in IEC 61937 header/padding.</div><div class="ttdef"><b>Definition:</b> format.h:44</div></div>
<div class="ttc" id="aformat_8h_html_a708ed76801eb84544075e21fe8a07652af5b3680520cee5f542b4d3d1b1c4e71f"><div class="ttname"><a href="format_8h.html#a708ed76801eb84544075e21fe8a07652af5b3680520cee5f542b4d3d1b1c4e71f">PA_ENCODING_PCM</a></div><div class="ttdeci">@ PA_ENCODING_PCM</div><div class="ttdoc">Any PCM format.</div><div class="ttdef"><b>Definition:</b> format.h:41</div></div>
<div class="ttc" id="aformat_8h_html_a71d871a0d9c0624d17a6fe12be0a548a"><div class="ttname"><a href="format_8h.html#a71d871a0d9c0624d17a6fe12be0a548a">pa_format_info_is_compatible</a></div><div class="ttdeci">int pa_format_info_is_compatible(const pa_format_info *first, const pa_format_info *second)</div><div class="ttdoc">Returns non-zero if the format represented by first is a subset of the format represented by second.</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007">pa_prop_type_t</a></div><div class="ttdeci">pa_prop_type_t</div><div class="ttdoc">Represents the type of value type of a property on a pa_format_info.</div><div class="ttdef"><b>Definition:</b> format.h:168</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007a04e9b28bc24156fec65d0208eeffe35e"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a04e9b28bc24156fec65d0208eeffe35e">PA_PROP_TYPE_STRING</a></div><div class="ttdeci">@ PA_PROP_TYPE_STRING</div><div class="ttdoc">String property.</div><div class="ttdef"><b>Definition:</b> format.h:178</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007a10142fbf5a15bbdac6153afc1f3965bf"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a10142fbf5a15bbdac6153afc1f3965bf">PA_PROP_TYPE_INT</a></div><div class="ttdeci">@ PA_PROP_TYPE_INT</div><div class="ttdoc">Integer property.</div><div class="ttdef"><b>Definition:</b> format.h:169</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007a4ab87daa27459bbed1cead84800135c8"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a4ab87daa27459bbed1cead84800135c8">PA_PROP_TYPE_STRING_ARRAY</a></div><div class="ttdeci">@ PA_PROP_TYPE_STRING_ARRAY</div><div class="ttdoc">String array property.</div><div class="ttdef"><b>Definition:</b> format.h:181</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007a5b7b6fc0c6064e1653109e2e239606f8"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007a5b7b6fc0c6064e1653109e2e239606f8">PA_PROP_TYPE_INT_RANGE</a></div><div class="ttdeci">@ PA_PROP_TYPE_INT_RANGE</div><div class="ttdoc">Integer range property.</div><div class="ttdef"><b>Definition:</b> format.h:172</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007ad045693657b6cbdf25a4f562b1a4b621"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007ad045693657b6cbdf25a4f562b1a4b621">PA_PROP_TYPE_INT_ARRAY</a></div><div class="ttdeci">@ PA_PROP_TYPE_INT_ARRAY</div><div class="ttdoc">Integer array property.</div><div class="ttdef"><b>Definition:</b> format.h:175</div></div>
<div class="ttc" id="aformat_8h_html_a86db8f0013a38e9a0f18ed69859a4007adf3b133ae062ed88366c26d3645027c7"><div class="ttname"><a href="format_8h.html#a86db8f0013a38e9a0f18ed69859a4007adf3b133ae062ed88366c26d3645027c7">PA_PROP_TYPE_INVALID</a></div><div class="ttdeci">@ PA_PROP_TYPE_INVALID</div><div class="ttdoc">Represents an invalid type.</div><div class="ttdef"><b>Definition:</b> format.h:184</div></div>
<div class="ttc" id="aformat_8h_html_a87728336c103aaac4c5e76d2c65f4cce"><div class="ttname"><a href="format_8h.html#a87728336c103aaac4c5e76d2c65f4cce">pa_format_info_get_prop_type</a></div><div class="ttdeci">pa_prop_type_t pa_format_info_get_prop_type(const pa_format_info *f, const char *key)</div><div class="ttdoc">Gets the type of property key in a given pa_format_info.</div></div>
<div class="ttc" id="aformat_8h_html_a8bb07a605cdfae5ada7918e01aa0872c"><div class="ttname"><a href="format_8h.html#a8bb07a605cdfae5ada7918e01aa0872c">pa_format_info_get_prop_string</a></div><div class="ttdeci">int pa_format_info_get_prop_string(const pa_format_info *f, const char *key, char **v)</div><div class="ttdoc">Gets a string property from the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_a8c48d16d0851791265bdb33ce81b749b"><div class="ttname"><a href="format_8h.html#a8c48d16d0851791265bdb33ce81b749b">pa_format_info_is_pcm</a></div><div class="ttdeci">int pa_format_info_is_pcm(const pa_format_info *f)</div><div class="ttdoc">Returns non-zero when the format info structure represents a PCM (i.e. uncompressed data) format.</div></div>
<div class="ttc" id="aformat_8h_html_a9efd301cfd24b37737c6a2e2b47c9261"><div class="ttname"><a href="format_8h.html#a9efd301cfd24b37737c6a2e2b47c9261">pa_format_info_valid</a></div><div class="ttdeci">int pa_format_info_valid(const pa_format_info *f)</div><div class="ttdoc">Returns non-zero when the format info structure is valid.</div></div>
<div class="ttc" id="aformat_8h_html_a9f5528a8987815f789b52541387df5c4"><div class="ttname"><a href="format_8h.html#a9f5528a8987815f789b52541387df5c4">pa_format_info_get_rate</a></div><div class="ttdeci">int pa_format_info_get_rate(const pa_format_info *f, uint32_t *rate)</div><div class="ttdoc">Gets the sample rate stored in the format info.</div></div>
<div class="ttc" id="aformat_8h_html_ab01d73588044730ee68f5aad9ebe5cec"><div class="ttname"><a href="format_8h.html#ab01d73588044730ee68f5aad9ebe5cec">pa_format_info_get_channels</a></div><div class="ttdeci">int pa_format_info_get_channels(const pa_format_info *f, uint8_t *channels)</div><div class="ttdoc">Gets the channel count stored in the format info.</div></div>
<div class="ttc" id="aformat_8h_html_ab26d3d38076ec1253877b56bb6e4c5a1"><div class="ttname"><a href="format_8h.html#ab26d3d38076ec1253877b56bb6e4c5a1">pa_encoding_to_string</a></div><div class="ttdeci">const char * pa_encoding_to_string(pa_encoding_t e) PA_GCC_CONST</div><div class="ttdoc">Returns a printable string representing the given encoding type.</div></div>
<div class="ttc" id="aformat_8h_html_ab8df9952b866161e257807dfe5da4357"><div class="ttname"><a href="format_8h.html#ab8df9952b866161e257807dfe5da4357">pa_format_info_from_string</a></div><div class="ttdeci">pa_format_info * pa_format_info_from_string(const char *str)</div><div class="ttdoc">Parse a human-readable string of the form generated by pa_format_info_snprint() into a pa_format_info...</div></div>
<div class="ttc" id="aformat_8h_html_ab8e6eaecf82ee84f084b7654d938b9cb"><div class="ttname"><a href="format_8h.html#ab8e6eaecf82ee84f084b7654d938b9cb">pa_format_info_get_prop_int_range</a></div><div class="ttdeci">int pa_format_info_get_prop_int_range(const pa_format_info *f, const char *key, int *min, int *max)</div><div class="ttdoc">Gets an integer range property from the given format info.</div></div>
<div class="ttc" id="aformat_8h_html_acebcc293f5e695a6c171d94e2d1f17a3"><div class="ttname"><a href="format_8h.html#acebcc293f5e695a6c171d94e2d1f17a3">pa_format_info_snprint</a></div><div class="ttdeci">char * pa_format_info_snprint(char *s, size_t l, const pa_format_info *f)</div><div class="ttdoc">Make a human-readable string representing the given format.</div></div>
<div class="ttc" id="aformat_8h_html_ad4a85d0c897cda925339194a6afbf4f3"><div class="ttname"><a href="format_8h.html#ad4a85d0c897cda925339194a6afbf4f3">pa_format_info_free</a></div><div class="ttdeci">void pa_format_info_free(pa_format_info *f)</div><div class="ttdoc">Frees a pa_format_info structure.</div></div>
<div class="ttc" id="aformat_8h_html_ad96df235255893807a779cf986a322ba"><div class="ttname"><a href="format_8h.html#ad96df235255893807a779cf986a322ba">pa_encoding_from_string</a></div><div class="ttdeci">pa_encoding_t pa_encoding_from_string(const char *encoding)</div><div class="ttdoc">Converts a string of the form returned by pa_encoding_to_string() back to a pa_encoding_t.</div></div>
<div class="ttc" id="aformat_8h_html_adcb74d9b96e4e7f2bf446ccb59fe795b"><div class="ttname"><a href="format_8h.html#adcb74d9b96e4e7f2bf446ccb59fe795b">pa_format_info_copy</a></div><div class="ttdeci">pa_format_info * pa_format_info_copy(const pa_format_info *src)</div><div class="ttdoc">Returns a new pa_format_info struct and representing the same format as src.</div></div>
<div class="ttc" id="aformat_8h_html_afc7859f1e99c69184504b8e692bbda2f"><div class="ttname"><a href="format_8h.html#afc7859f1e99c69184504b8e692bbda2f">pa_format_info</a></div><div class="ttdeci">struct pa_format_info pa_format_info</div><div class="ttdoc">Represents the format of data provided in a stream or processed by a sink.</div></div>
<div class="ttc" id="agccmacro_8h_html"><div class="ttname"><a href="gccmacro_8h.html">gccmacro.h</a></div><div class="ttdoc">GCC attribute macros.</div></div>
<div class="ttc" id="agccmacro_8h_html_a318a98dce3b37977670c87a74c173b16"><div class="ttname"><a href="gccmacro_8h.html#a318a98dce3b37977670c87a74c173b16">PA_GCC_CONST</a></div><div class="ttdeci">#define PA_GCC_CONST</div><div class="ttdoc">This function's return value depends only the arguments list (stricter version of PA_GCC_PURE)</div><div class="ttdef"><b>Definition:</b> gccmacro.h:80</div></div>
<div class="ttc" id="aproplist_8h_html"><div class="ttname"><a href="proplist_8h.html">proplist.h</a></div><div class="ttdoc">Property list constants and functions.</div></div>
<div class="ttc" id="aproplist_8h_html_acdf756a6014b6fae3b358b2c934c3426"><div class="ttname"><a href="proplist_8h.html#acdf756a6014b6fae3b358b2c934c3426">pa_proplist</a></div><div class="ttdeci">struct pa_proplist pa_proplist</div><div class="ttdoc">A property list object.</div><div class="ttdef"><b>Definition:</b> proplist.h:278</div></div>
<div class="ttc" id="asample_8h_html"><div class="ttname"><a href="sample_8h.html">sample.h</a></div><div class="ttdoc">Constants and routines for sample type handling.</div></div>
<div class="ttc" id="asample_8h_html_a914d67463e4e625309bed7230b5d32b5"><div class="ttname"><a href="sample_8h.html#a914d67463e4e625309bed7230b5d32b5">pa_sample_format_t</a></div><div class="ttdeci">enum pa_sample_format pa_sample_format_t</div><div class="ttdoc">Sample format.</div></div>
<div class="ttc" id="astructpa__channel__map_html"><div class="ttname"><a href="structpa__channel__map.html">pa_channel_map</a></div><div class="ttdoc">A channel map which can be used to attach labels to specific channels of a stream.</div><div class="ttdef"><b>Definition:</b> channelmap.h:264</div></div>
<div class="ttc" id="astructpa__format__info_html"><div class="ttname"><a href="structpa__format__info.html">pa_format_info</a></div><div class="ttdoc">Represents the format of data provided in a stream or processed by a sink.</div><div class="ttdef"><b>Definition:</b> format.h:98</div></div>
<div class="ttc" id="astructpa__format__info_html_a7780c0fae8324fbef3c81fb482103913"><div class="ttname"><a href="structpa__format__info.html#a7780c0fae8324fbef3c81fb482103913">pa_format_info::plist</a></div><div class="ttdeci">pa_proplist * plist</div><div class="ttdoc">Additional encoding-specific properties such as sample rate, bitrate, etc.</div><div class="ttdef"><b>Definition:</b> format.h:102</div></div>
<div class="ttc" id="astructpa__format__info_html_aa5a1263cd3a5d126e73be1a80aa81cf6"><div class="ttname"><a href="structpa__format__info.html#aa5a1263cd3a5d126e73be1a80aa81cf6">pa_format_info::encoding</a></div><div class="ttdeci">pa_encoding_t encoding</div><div class="ttdoc">The encoding used for the format.</div><div class="ttdef"><b>Definition:</b> format.h:99</div></div>
<div class="ttc" id="astructpa__sample__spec_html"><div class="ttname"><a href="structpa__sample__spec.html">pa_sample_spec</a></div><div class="ttdoc">A sample format and attribute specification.</div><div class="ttdef"><b>Definition:</b> sample.h:252</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_ec5b0a79aff2db41fe5d1b9326f09c28.html">pulse</a></li><li class="navelem"><a class="el" href="format_8h.html">format.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>