Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-testing > by-pkgid > 187676b5433787923dfa2cdd6900c6cd > files > 48

lib64pulseaudio-devel-0.9.15-2.0.7mdv2009.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>PulseAudio: def.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>def.h</h1><a href="def_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef foodefhfoo</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define foodefhfoo</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">/***</span>
<a name="l00005"></a>00005 <span class="comment">  This file is part of PulseAudio.</span>
<a name="l00006"></a>00006 <span class="comment"></span>
<a name="l00007"></a>00007 <span class="comment">  Copyright 2004-2006 Lennart Poettering</span>
<a name="l00008"></a>00008 <span class="comment">  Copyright 2006 Pierre Ossman &lt;ossman@cendio.se&gt; for Cendio AB</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">  PulseAudio is free software; you can redistribute it and/or modify</span>
<a name="l00011"></a>00011 <span class="comment">  it under the terms of the GNU Lesser General Public License as</span>
<a name="l00012"></a>00012 <span class="comment">  published by the Free Software Foundation; either version 2.1 of the</span>
<a name="l00013"></a>00013 <span class="comment">  License, or (at your option) any later version.</span>
<a name="l00014"></a>00014 <span class="comment"></span>
<a name="l00015"></a>00015 <span class="comment">  PulseAudio is distributed in the hope that it will be useful, but</span>
<a name="l00016"></a>00016 <span class="comment">  WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00017"></a>00017 <span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
<a name="l00018"></a>00018 <span class="comment">  Lesser General Public License for more details.</span>
<a name="l00019"></a>00019 <span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">  You should have received a copy of the GNU Lesser General Public</span>
<a name="l00021"></a>00021 <span class="comment">  License along with PulseAudio; if not, write to the Free Software</span>
<a name="l00022"></a>00022 <span class="comment">  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307</span>
<a name="l00023"></a>00023 <span class="comment">  USA.</span>
<a name="l00024"></a>00024 <span class="comment">***/</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;inttypes.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;sys/time.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;time.h&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;pulse/cdecl.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;<a class="code" href="sample_8h.html" title="Constants and routines for sample type handling.">pulse/sample.h</a>&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;<a class="code" href="version_8h.html" title="Define header version.">pulse/version.h</a>&gt;</span>
<a name="l00033"></a>00033 
<a name="l00037"></a>00037 PA_C_DECL_BEGIN
<a name="l00038"></a>00038 
<a name="l00040"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c">00040</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c" title="The state of a connection context.">pa_context_state</a> {
<a name="l00041"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c23c5b14caa61813434ee8f449328cbe0">00041</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c23c5b14caa61813434ee8f449328cbe0" title="The context hasn&amp;#39;t been connected yet.">PA_CONTEXT_UNCONNECTED</a>,    
<a name="l00042"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c9a30a992d40cfcfc19867049e99004c1">00042</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c9a30a992d40cfcfc19867049e99004c1" title="A connection is being established.">PA_CONTEXT_CONNECTING</a>,     
<a name="l00043"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573cbd55965cd2d6cfea52cc982c8837e857">00043</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573cbd55965cd2d6cfea52cc982c8837e857" title="The client is authorizing itself to the daemon.">PA_CONTEXT_AUTHORIZING</a>,    
<a name="l00044"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c222cd7356d0f906a88598d09b6ed0208">00044</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c222cd7356d0f906a88598d09b6ed0208" title="The client is passing its application name to the daemon.">PA_CONTEXT_SETTING_NAME</a>,   
<a name="l00045"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c281febf058e211cb87dfdadf146d9670">00045</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c281febf058e211cb87dfdadf146d9670" title="The connection is established, the context is ready to execute operations.">PA_CONTEXT_READY</a>,          
<a name="l00046"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c10d4edadad12e6e49edb591b06c649ae">00046</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c10d4edadad12e6e49edb591b06c649ae" title="The connection failed or was disconnected.">PA_CONTEXT_FAILED</a>,         
<a name="l00047"></a><a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c904a83b99b3ccd6bb870b3f86f0f3cfd">00047</a>     <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c904a83b99b3ccd6bb870b3f86f0f3cfd" title="The connection was terminated cleanly.">PA_CONTEXT_TERMINATED</a>      
<a name="l00048"></a>00048 } <a class="code" href="def_8h.html#696774cc2f758448c5ab10c2dd786c9d" title="The state of a connection context.">pa_context_state_t</a>;
<a name="l00049"></a>00049 
<a name="l00051"></a>00051 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> PA_CONTEXT_IS_GOOD(<a class="code" href="def_8h.html#696774cc2f758448c5ab10c2dd786c9d" title="The state of a connection context.">pa_context_state_t</a> x) {
<a name="l00052"></a>00052     <span class="keywordflow">return</span>
<a name="l00053"></a>00053         x == <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c9a30a992d40cfcfc19867049e99004c1" title="A connection is being established.">PA_CONTEXT_CONNECTING</a> ||
<a name="l00054"></a>00054         x == <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573cbd55965cd2d6cfea52cc982c8837e857" title="The client is authorizing itself to the daemon.">PA_CONTEXT_AUTHORIZING</a> ||
<a name="l00055"></a>00055         x == <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c222cd7356d0f906a88598d09b6ed0208" title="The client is passing its application name to the daemon.">PA_CONTEXT_SETTING_NAME</a> ||
<a name="l00056"></a>00056         x == <a class="code" href="def_8h.html#892684c03cf9edaed1a95e609ec7573c281febf058e211cb87dfdadf146d9670" title="The connection is established, the context is ready to execute operations.">PA_CONTEXT_READY</a>;
<a name="l00057"></a>00057 }
<a name="l00058"></a>00058 
<a name="l00060"></a>00060 <span class="preprocessor">#define PA_CONTEXT_UNCONNECTED PA_CONTEXT_UNCONNECTED</span>
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_CONNECTING PA_CONTEXT_CONNECTING</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_AUTHORIZING PA_CONTEXT_AUTHORIZING</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_SETTING_NAME PA_CONTEXT_SETTING_NAME</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_READY PA_CONTEXT_READY</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_FAILED PA_CONTEXT_FAILED</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_IS_GOOD PA_CONTEXT_IS_GOOD</span>
<a name="l00067"></a>00067 <span class="preprocessor"></span>
<a name="l00070"></a><a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df9">00070</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df9" title="The state of a stream.">pa_stream_state</a> {
<a name="l00071"></a><a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df990b45f16f97aca49d40f8345f9f99643">00071</a>     <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df990b45f16f97aca49d40f8345f9f99643" title="The stream is not yet connected to any sink or source.">PA_STREAM_UNCONNECTED</a>,  
<a name="l00072"></a><a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df940f85224ae979275dfa75c6e7632c2d8">00072</a>     <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df940f85224ae979275dfa75c6e7632c2d8" title="The stream is being created.">PA_STREAM_CREATING</a>,     
<a name="l00073"></a><a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df91e72fb989b308e2317c0b0949afe5446">00073</a>     <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df91e72fb989b308e2317c0b0949afe5446" title="The stream is established, you may pass audio data to it now.">PA_STREAM_READY</a>,        
<a name="l00074"></a><a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df917035675606742a577107e86dc14495a">00074</a>     <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df917035675606742a577107e86dc14495a" title="An error occurred that made the stream invalid.">PA_STREAM_FAILED</a>,       
<a name="l00075"></a><a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df9da6b24e840e5a13408d89b8ce9b3dac4">00075</a>     <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df9da6b24e840e5a13408d89b8ce9b3dac4" title="The stream has been terminated cleanly.">PA_STREAM_TERMINATED</a>    
<a name="l00076"></a>00076 } <a class="code" href="def_8h.html#112cf6dbe9ac5554fddc8da251797477" title="The state of a stream.">pa_stream_state_t</a>;
<a name="l00077"></a>00077 
<a name="l00079"></a>00079 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> PA_STREAM_IS_GOOD(<a class="code" href="def_8h.html#112cf6dbe9ac5554fddc8da251797477" title="The state of a stream.">pa_stream_state_t</a> x) {
<a name="l00080"></a>00080     <span class="keywordflow">return</span>
<a name="l00081"></a>00081         x == <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df940f85224ae979275dfa75c6e7632c2d8" title="The stream is being created.">PA_STREAM_CREATING</a> ||
<a name="l00082"></a>00082         x == <a class="code" href="def_8h.html#71341d6e189549fc0bd25ab669016df91e72fb989b308e2317c0b0949afe5446" title="The stream is established, you may pass audio data to it now.">PA_STREAM_READY</a>;
<a name="l00083"></a>00083 }
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 <span class="preprocessor">#define PA_STREAM_UNCONNECTED PA_STREAM_UNCONNECTED</span>
<a name="l00087"></a>00087 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_CREATING PA_STREAM_CREATING</span>
<a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_READY PA_STREAM_READY</span>
<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_FAILED PA_STREAM_FAILED</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_TERMINATED PA_STREAM_TERMINATED</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_IS_GOOD PA_STREAM_IS_GOOD</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span>
<a name="l00095"></a><a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc">00095</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc" title="The state of an operation.">pa_operation_state</a> {
<a name="l00096"></a><a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc9486b0f1b7da21dcc34f5cb3f7091c6f">00096</a>     <a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc9486b0f1b7da21dcc34f5cb3f7091c6f" title="The operation is still running.">PA_OPERATION_RUNNING</a>,      
<a name="l00097"></a><a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc902b2118f324bc25b96ab6d55410f1c3">00097</a>     <a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc902b2118f324bc25b96ab6d55410f1c3" title="The operation has been completed.">PA_OPERATION_DONE</a>,         
<a name="l00098"></a><a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc4c0427a0c73ee2fb93d731ca6bd6af0f">00098</a>     <a class="code" href="def_8h.html#c0a07dd2ef771a72d48e5ba2c56ac3bc4c0427a0c73ee2fb93d731ca6bd6af0f" title="The operation has been canceled.">PA_OPERATION_CANCELED</a>      
<a name="l00099"></a>00099 } <a class="code" href="def_8h.html#7690ad935f83aee30828308c8e63bda4" title="The state of an operation.">pa_operation_state_t</a>;
<a name="l00100"></a>00100 
<a name="l00102"></a>00102 <span class="preprocessor">#define PA_OPERATION_RUNNING PA_OPERATION_RUNNING</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor">#define PA_OPERATION_DONE PA_OPERATION_DONE</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor">#define PA_OPERATION_CANCELED PA_OPERATION_CANCELED</span>
<a name="l00105"></a>00105 <span class="preprocessor"></span>
<a name="l00108"></a><a class="code" href="def_8h.html#2b61af114c2c7884e4121ad596ded686">00108</a> <span class="preprocessor">#define PA_INVALID_INDEX ((uint32_t) -1)</span>
<a name="l00109"></a>00109 <span class="preprocessor"></span>
<a name="l00111"></a><a class="code" href="def_8h.html#be3b87f73f6de46609b059e10827863b">00111</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#be3b87f73f6de46609b059e10827863b" title="Some special flags for contexts.">pa_context_flags</a> {
<a name="l00112"></a><a class="code" href="def_8h.html#be3b87f73f6de46609b059e10827863b33a917479765480e6f45c7a1839a1703">00112</a>     <a class="code" href="def_8h.html#be3b87f73f6de46609b059e10827863b33a917479765480e6f45c7a1839a1703" title="Disabled autospawning of the PulseAudio daemon if required.">PA_CONTEXT_NOAUTOSPAWN</a> = 0x0001U,
<a name="l00114"></a><a class="code" href="def_8h.html#be3b87f73f6de46609b059e10827863be2d9e55538c81490efb84e31be6e3101">00114</a>     <a class="code" href="def_8h.html#be3b87f73f6de46609b059e10827863be2d9e55538c81490efb84e31be6e3101" title="Don&amp;#39;t fail if the daemon is not available when pa_context_connect() is called...">PA_CONTEXT_NOFAIL</a> = 0x0002U
<a name="l00116"></a>00116 } <a class="code" href="def_8h.html#a330581bb9b282e6f6a28a3a2b4b634a" title="Some special flags for contexts.">pa_context_flags_t</a>;
<a name="l00117"></a>00117 
<a name="l00119"></a>00119 <span class="comment">/* Allow clients to check with #ifdef for those flags */</span>
<a name="l00120"></a>00120 <span class="preprocessor">#define PA_CONTEXT_NOAUTOSPAWN PA_CONTEXT_NOAUTOSPAWN</span>
<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="preprocessor">#define PA_CONTEXT_NOFAIL PA_CONTEXT_NOFAIL</span>
<a name="l00122"></a>00122 <span class="preprocessor"></span>
<a name="l00125"></a><a class="code" href="def_8h.html#7311932553b3f7962a092906576bc347">00125</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#7311932553b3f7962a092906576bc347" title="The direction of a pa_stream object.">pa_stream_direction</a> {
<a name="l00126"></a><a class="code" href="def_8h.html#7311932553b3f7962a092906576bc3479ae703cf8a9a13659871eb7172715068">00126</a>     <a class="code" href="def_8h.html#7311932553b3f7962a092906576bc3479ae703cf8a9a13659871eb7172715068" title="Invalid direction.">PA_STREAM_NODIRECTION</a>,   
<a name="l00127"></a><a class="code" href="def_8h.html#7311932553b3f7962a092906576bc347cf403563d8f87f59f73c9674fee5a166">00127</a>     <a class="code" href="def_8h.html#7311932553b3f7962a092906576bc347cf403563d8f87f59f73c9674fee5a166" title="Playback stream.">PA_STREAM_PLAYBACK</a>,      
<a name="l00128"></a><a class="code" href="def_8h.html#7311932553b3f7962a092906576bc34768e8f73b865d14e172cc45db4ad3aaf7">00128</a>     <a class="code" href="def_8h.html#7311932553b3f7962a092906576bc34768e8f73b865d14e172cc45db4ad3aaf7" title="Record stream.">PA_STREAM_RECORD</a>,        
<a name="l00129"></a><a class="code" href="def_8h.html#7311932553b3f7962a092906576bc347cf2cd03e78f1a2de894cfde627c66990">00129</a>     <a class="code" href="def_8h.html#7311932553b3f7962a092906576bc347cf2cd03e78f1a2de894cfde627c66990" title="Sample upload stream.">PA_STREAM_UPLOAD</a>         
<a name="l00130"></a>00130 } <a class="code" href="def_8h.html#637b1451881b8c0b0f98bafe115d7254" title="The direction of a pa_stream object.">pa_stream_direction_t</a>;
<a name="l00131"></a>00131 
<a name="l00133"></a>00133 <span class="preprocessor">#define PA_STREAM_NODIRECTION PA_STREAM_NODIRECTION</span>
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_PLAYBACK PA_STREAM_PLAYBACK</span>
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_RECORD PA_STREAM_RECORD</span>
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_UPLOAD PA_STREAM_UPLOAD</span>
<a name="l00137"></a>00137 <span class="preprocessor"></span>
<a name="l00140"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc">00140</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc" title="Some special flags for stream connections.">pa_stream_flags</a> {
<a name="l00141"></a>00141 
<a name="l00142"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc180238fa2f446e9694f405104095027e">00142</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc180238fa2f446e9694f405104095027e" title="Create the stream corked, requiring an explicit pa_stream_cork() call to uncork it...">PA_STREAM_START_CORKED</a> = 0x0001U,
<a name="l00146"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc598904dec6cc11ae06be7a3b16d13193">00146</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc598904dec6cc11ae06be7a3b16d13193" title="Interpolate the latency for this stream.">PA_STREAM_INTERPOLATE_TIMING</a> = 0x0002U,
<a name="l00158"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc7e7d45d9d07ef525748b0e962598bda5">00158</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc7e7d45d9d07ef525748b0e962598bda5" title="Don&amp;#39;t force the time to increase monotonically.">PA_STREAM_NOT_MONOTONIC</a> = 0x0004U,
<a name="l00170"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fca2b29ab0108115d9a3e0fee307b2934d">00170</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fca2b29ab0108115d9a3e0fee307b2934d" title="If set timing update requests are issued periodically automatically.">PA_STREAM_AUTO_TIMING_UPDATE</a> = 0x0008U,
<a name="l00177"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcaf217b8d4ed327de0acaeceff49341c2">00177</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcaf217b8d4ed327de0acaeceff49341c2" title="Don&amp;#39;t remap channels by their name, instead map them simply by their index.">PA_STREAM_NO_REMAP_CHANNELS</a> = 0x0010U,
<a name="l00183"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc58d440b2e196c639cb7c578324b3a5fd">00183</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc58d440b2e196c639cb7c578324b3a5fd" title="When remapping channels by name, don&amp;#39;t upmix or downmix them to related channels...">PA_STREAM_NO_REMIX_CHANNELS</a> = 0x0020U,
<a name="l00189"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc8b06af81681e54d33ea334684ab4e37e">00189</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc8b06af81681e54d33ea334684ab4e37e" title="Use the sample format of the sink/device this stream is being connected to, and possibly...">PA_STREAM_FIX_FORMAT</a> = 0x0040U,
<a name="l00201"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcb81c3687c121ad24c8c6673eca01c4d3">00201</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcb81c3687c121ad24c8c6673eca01c4d3" title="Use the sample rate of the sink, and possibly ignore the rate the sample spec contains...">PA_STREAM_FIX_RATE</a> = 0x0080U,
<a name="l00207"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc13b9fec678fd47a1907413476f7044b7">00207</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc13b9fec678fd47a1907413476f7044b7" title="Use the number of channels and the channel map of the sink, and possibly ignore the...">PA_STREAM_FIX_CHANNELS</a> = 0x0100,
<a name="l00214"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc517fdce5eb1b4bcd3a776d05252f4595">00214</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc517fdce5eb1b4bcd3a776d05252f4595" title="Don&amp;#39;t allow moving of this stream to another sink/device.">PA_STREAM_DONT_MOVE</a> = 0x0200U,
<a name="l00223"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcc92fcb50b94927301043213ddd779558">00223</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcc92fcb50b94927301043213ddd779558" title="Allow dynamic changing of the sampling rate during playback with pa_stream_update_sample_rate()...">PA_STREAM_VARIABLE_RATE</a> = 0x0400U,
<a name="l00229"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcf36eb4756476fe23e9686febd60b6add">00229</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcf36eb4756476fe23e9686febd60b6add" title="Find peaks instead of resampling.">PA_STREAM_PEAK_DETECT</a> = 0x0800U,
<a name="l00232"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcf6205141b9404f8c10e2e3689592c46f">00232</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcf6205141b9404f8c10e2e3689592c46f" title="Create in muted state.">PA_STREAM_START_MUTED</a> = 0x1000U,
<a name="l00238"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcb24aa4c681a4b62af2efc7d53dfd40f0">00238</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcb24aa4c681a4b62af2efc7d53dfd40f0" title="Try to adjust the latency of the sink/source based on the requested buffer metrics...">PA_STREAM_ADJUST_LATENCY</a> = 0x2000U,
<a name="l00245"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc98e436f686fc385697e565eb1ecb2609">00245</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc98e436f686fc385697e565eb1ecb2609" title="Enable compatibility mode for legacy clients that rely on a &amp;quot;classic&amp;quot; hardware...">PA_STREAM_EARLY_REQUESTS</a> = 0x4000U,
<a name="l00262"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc28baa26205e127701bd653702d48c116">00262</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc28baa26205e127701bd653702d48c116" title="If set this stream won&amp;#39;t be taken into account when we it is checked whether...">PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND</a> = 0x8000U,
<a name="l00267"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc6c819300a18562d45c9876865b3f615c">00267</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fc6c819300a18562d45c9876865b3f615c" title="Create in unmuted state.">PA_STREAM_START_UNMUTED</a> = 0x10000U,
<a name="l00273"></a><a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcb413405a5d47fe7c3b3babb1621d5506">00273</a>     <a class="code" href="def_8h.html#6966d809483170bc6d2e6c16188850fcb413405a5d47fe7c3b3babb1621d5506" title="If the sink/source this stream is connected to is suspended during the creation of...">PA_STREAM_FAIL_ON_SUSPEND</a> = 0x20000U
<a name="l00278"></a>00278 } <a class="code" href="def_8h.html#9328c83d983878efb0627b99d949a3cc" title="Some special flags for stream connections.">pa_stream_flags_t</a>;
<a name="l00279"></a>00279 
<a name="l00282"></a>00282 <span class="comment">/* English is an evil language */</span>
<a name="l00283"></a>00283 <span class="preprocessor">#define PA_STREAM_NOT_MONOTONOUS PA_STREAM_NOT_MONOTONIC</span>
<a name="l00284"></a>00284 <span class="preprocessor"></span>
<a name="l00285"></a>00285 <span class="comment">/* Allow clients to check with #ifdef for those flags */</span>
<a name="l00286"></a>00286 <span class="preprocessor">#define PA_STREAM_START_CORKED PA_STREAM_START_CORKED</span>
<a name="l00287"></a>00287 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_INTERPOLATE_TIMING PA_STREAM_INTERPOLATE_TIMING</span>
<a name="l00288"></a>00288 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_NOT_MONOTONIC PA_STREAM_NOT_MONOTONIC</span>
<a name="l00289"></a>00289 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_AUTO_TIMING_UPDATE PA_STREAM_AUTO_TIMING_UPDATE</span>
<a name="l00290"></a>00290 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_NO_REMAP_CHANNELS PA_STREAM_NO_REMAP_CHANNELS</span>
<a name="l00291"></a>00291 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_NO_REMIX_CHANNELS PA_STREAM_NO_REMIX_CHANNELS</span>
<a name="l00292"></a>00292 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_FIX_FORMAT PA_STREAM_FIX_FORMAT</span>
<a name="l00293"></a>00293 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_FIX_RATE PA_STREAM_FIX_RATE</span>
<a name="l00294"></a>00294 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_FIX_CHANNELS PA_STREAM_FIX_CHANNELS</span>
<a name="l00295"></a>00295 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_DONT_MOVE PA_STREAM_DONT_MOVE</span>
<a name="l00296"></a>00296 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_VARIABLE_RATE PA_STREAM_VARIABLE_RATE</span>
<a name="l00297"></a>00297 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_PEAK_DETECT PA_STREAM_PEAK_DETECT</span>
<a name="l00298"></a>00298 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_START_MUTED PA_STREAM_START_MUTED</span>
<a name="l00299"></a>00299 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_ADJUST_LATENCY PA_STREAM_ADJUST_LATENCY</span>
<a name="l00300"></a>00300 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_EARLY_REQUESTS PA_STREAM_EARLY_REQUESTS</span>
<a name="l00301"></a>00301 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND</span>
<a name="l00302"></a>00302 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_START_UNMUTED PA_STREAM_START_UNMUTED</span>
<a name="l00303"></a>00303 <span class="preprocessor"></span><span class="preprocessor">#define PA_STREAM_FAIL_ON_SUSPEND PA_STREAM_FAIL_ON_SUSPEND</span>
<a name="l00304"></a>00304 <span class="preprocessor"></span>
<a name="l00308"></a><a class="code" href="structpa__buffer__attr.html">00308</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__buffer__attr.html" title="Playback and record buffer metrics.">pa_buffer_attr</a> {
<a name="l00309"></a>00309     uint32_t <a class="code" href="structpa__buffer__attr.html#bef20d3a6cab53f716846125353e56a4" title="Maximum length of the buffer.">maxlength</a>;
<a name="l00314"></a>00314     uint32_t <a class="code" href="structpa__buffer__attr.html#a7e8f3348cbda863b6f1dd55a9024b7a" title="Playback only: target length of the buffer.">tlength</a>;
<a name="l00332"></a>00332     uint32_t <a class="code" href="structpa__buffer__attr.html#cdbe30979a50075479ee46c56cc724ee" title="Playback only: pre-buffering.">prebuf</a>;
<a name="l00343"></a>00343     uint32_t <a class="code" href="structpa__buffer__attr.html#4571c0c0cd4e1561177172497e886000" title="Playback only: minimum request.">minreq</a>;
<a name="l00353"></a>00353     uint32_t <a class="code" href="structpa__buffer__attr.html#2877c9500727299a2d143ef0af13f908" title="Recording only: fragment size.">fragsize</a>;
<a name="l00367"></a>00367 } <a class="code" href="structpa__buffer__attr.html" title="Playback and record buffer metrics.">pa_buffer_attr</a>;
<a name="l00368"></a>00368 
<a name="l00370"></a>00370 <span class="keyword">enum</span> {
<a name="l00371"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bf5fc0472cdaf8915456b99b766e11221">00371</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bf5fc0472cdaf8915456b99b766e11221" title="No error.">PA_OK</a> = 0,                     
<a name="l00372"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bc923fcaba3b251ea5adc1faf08a99bba">00372</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bc923fcaba3b251ea5adc1faf08a99bba" title="Access failure.">PA_ERR_ACCESS</a>,                 
<a name="l00373"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bfb1b764dc73ac510f1dec289cb6cbe13">00373</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bfb1b764dc73ac510f1dec289cb6cbe13" title="Unknown command.">PA_ERR_COMMAND</a>,                
<a name="l00374"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b2be35f69f0fc35514769899dfbafb682">00374</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b2be35f69f0fc35514769899dfbafb682" title="Invalid argument.">PA_ERR_INVALID</a>,                
<a name="l00375"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bbc4a83acee545e2f38dcca046e23f9f8">00375</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bbc4a83acee545e2f38dcca046e23f9f8" title="Entity exists.">PA_ERR_EXIST</a>,                  
<a name="l00376"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bd08c0214e4e238a621e2e1199ab29458">00376</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bd08c0214e4e238a621e2e1199ab29458" title="No such entity.">PA_ERR_NOENTITY</a>,               
<a name="l00377"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b2d68d564cb83d923b4a274c793879912">00377</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b2d68d564cb83d923b4a274c793879912" title="Connection refused.">PA_ERR_CONNECTIONREFUSED</a>,      
<a name="l00378"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b3fbd0cf4b6f78efb191b26535212f85b">00378</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b3fbd0cf4b6f78efb191b26535212f85b" title="Protocol error.">PA_ERR_PROTOCOL</a>,               
<a name="l00379"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b48290af3d503d647b7aaf8e9e5525b43">00379</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b48290af3d503d647b7aaf8e9e5525b43" title="Timeout.">PA_ERR_TIMEOUT</a>,                
<a name="l00380"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55be85f28b7280955a2da5cf87555d5e077">00380</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55be85f28b7280955a2da5cf87555d5e077" title="No authorization key.">PA_ERR_AUTHKEY</a>,                
<a name="l00381"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bfc596233f84a42ffc098cfb8c36db3b0">00381</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bfc596233f84a42ffc098cfb8c36db3b0" title="Internal error.">PA_ERR_INTERNAL</a>,               
<a name="l00382"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bbbdc7ae20a46df00128ed63c84b238b3">00382</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bbbdc7ae20a46df00128ed63c84b238b3" title="Connection terminated.">PA_ERR_CONNECTIONTERMINATED</a>,   
<a name="l00383"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b2e85779d75b88b0a7ed354ddb44a1632">00383</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b2e85779d75b88b0a7ed354ddb44a1632" title="Entity killed.">PA_ERR_KILLED</a>,                 
<a name="l00384"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bb82e0c8dac752b88bd3a1b5b0d26205a">00384</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bb82e0c8dac752b88bd3a1b5b0d26205a" title="Invalid server.">PA_ERR_INVALIDSERVER</a>,          
<a name="l00385"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bab527c20cdfaccdde9739d59f61e8376">00385</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bab527c20cdfaccdde9739d59f61e8376" title="Module initialization failed.">PA_ERR_MODINITFAILED</a>,          
<a name="l00386"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b0fe7c99c57b59b842d4830c4fe3864c6">00386</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b0fe7c99c57b59b842d4830c4fe3864c6" title="Bad state.">PA_ERR_BADSTATE</a>,               
<a name="l00387"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b824dee509e78829143aa275e9e5b2ac8">00387</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b824dee509e78829143aa275e9e5b2ac8" title="No data.">PA_ERR_NODATA</a>,                 
<a name="l00388"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b190d1a7d049d9f9120cba44bcbcb5424">00388</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b190d1a7d049d9f9120cba44bcbcb5424" title="Incompatible protocol version.">PA_ERR_VERSION</a>,                
<a name="l00389"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b5e686a57253cd40aa6bcc95e4315b6fd">00389</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b5e686a57253cd40aa6bcc95e4315b6fd" title="Data too large.">PA_ERR_TOOLARGE</a>,               
<a name="l00390"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b188ffa56ff6b3e472a6f28f9a5f933c1">00390</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b188ffa56ff6b3e472a6f28f9a5f933c1" title="Operation not supported.">PA_ERR_NOTSUPPORTED</a>,           
<a name="l00391"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b7c51c44d1d2fd0eccf79f1d697bebbba">00391</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b7c51c44d1d2fd0eccf79f1d697bebbba" title="The error code was unknown to the client.">PA_ERR_UNKNOWN</a>,                
<a name="l00392"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bed5d4dc5cd6646cdb4573f3a5d27c061">00392</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bed5d4dc5cd6646cdb4573f3a5d27c061" title="Extension does not exist.">PA_ERR_NOEXTENSION</a>,            
<a name="l00393"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bce52b7489a663ffe115b43f7f5b5a158">00393</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55bce52b7489a663ffe115b43f7f5b5a158" title="Obsolete functionality.">PA_ERR_OBSOLETE</a>,               
<a name="l00394"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b973a6c75d49985d4d5bc067e64626a92">00394</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b973a6c75d49985d4d5bc067e64626a92" title="Missing implementation.">PA_ERR_NOTIMPLEMENTED</a>,         
<a name="l00395"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b7d04c9f451f02134ad31fc7a935da71c">00395</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b7d04c9f451f02134ad31fc7a935da71c" title="The caller forked without calling execve() and tried to reuse the context.">PA_ERR_FORKED</a>,                 
<a name="l00396"></a><a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b640110d5722955d83d3ad362517e46b7">00396</a>     <a class="code" href="def_8h.html#06fc87d81c62e9abb8790b6e5713c55b640110d5722955d83d3ad362517e46b7" title="Not really an error but the first invalid error code.">PA_ERR_MAX</a>                     
<a name="l00397"></a>00397 };
<a name="l00398"></a>00398 
<a name="l00400"></a>00400 <span class="preprocessor">#define PA_OK PA_OK</span>
<a name="l00401"></a>00401 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_ACCESS PA_ERR_ACCESS</span>
<a name="l00402"></a>00402 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_COMMAND PA_ERR_COMMAND</span>
<a name="l00403"></a>00403 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_INVALID PA_ERR_INVALID</span>
<a name="l00404"></a>00404 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_EXIST PA_ERR_EXIST</span>
<a name="l00405"></a>00405 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_NOENTITY PA_ERR_NOENTITY</span>
<a name="l00406"></a>00406 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_CONNECTIONREFUSED PA_ERR_CONNECTIONREFUSED</span>
<a name="l00407"></a>00407 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_PROTOCOL PA_ERR_PROTOCOL</span>
<a name="l00408"></a>00408 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_TIMEOUT PA_ERR_TIMEOUT</span>
<a name="l00409"></a>00409 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_AUTHKEY PA_ERR_AUTHKEY</span>
<a name="l00410"></a>00410 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_INTERNAL PA_ERR_INTERNAL</span>
<a name="l00411"></a>00411 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_CONNECTIONTERMINATED PA_ERR_CONNECTIONTERMINATED</span>
<a name="l00412"></a>00412 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_KILLED PA_ERR_KILLED</span>
<a name="l00413"></a>00413 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_INVALIDSERVER PA_ERR_INVALIDSERVER</span>
<a name="l00414"></a>00414 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_MODINITFAILED PA_ERR_MODINITFAILED</span>
<a name="l00415"></a>00415 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_BADSTATE PA_ERR_BADSTATE</span>
<a name="l00416"></a>00416 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_NODATA PA_ERR_NODATA</span>
<a name="l00417"></a>00417 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_VERSION PA_ERR_VERSION</span>
<a name="l00418"></a>00418 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_TOOLARGE PA_ERR_TOOLARGE</span>
<a name="l00419"></a>00419 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_NOTSUPPORTED PA_ERR_NOTSUPPORTED</span>
<a name="l00420"></a>00420 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_UNKNOWN PA_ERR_UNKNOWN</span>
<a name="l00421"></a>00421 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_NOEXTENSION PA_ERR_NOEXTENSION</span>
<a name="l00422"></a>00422 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_OBSOLETE PA_ERR_OBSOLETE</span>
<a name="l00423"></a>00423 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_NOTIMPLEMENTED PA_ERR_NOTIMPLEMENTED</span>
<a name="l00424"></a>00424 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_FORKED PA_ERR_FORKED</span>
<a name="l00425"></a>00425 <span class="preprocessor"></span><span class="preprocessor">#define PA_ERR_MAX PA_ERR_MAX</span>
<a name="l00426"></a>00426 <span class="preprocessor"></span>
<a name="l00429"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947">00429</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947" title="Subscription event mask, as used by pa_context_subscribe().">pa_subscription_mask</a> {
<a name="l00430"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf69470f804402d1a21172806c4653f877ad9e">00430</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf69470f804402d1a21172806c4653f877ad9e" title="No events.">PA_SUBSCRIPTION_MASK_NULL</a> = 0x0000U,
<a name="l00433"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947ec8dc8c2d352034d632a309e8b17695c">00433</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947ec8dc8c2d352034d632a309e8b17695c" title="Sink events.">PA_SUBSCRIPTION_MASK_SINK</a> = 0x0001U,
<a name="l00436"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947e57ee247ad3094be9dd29ec0862c741a">00436</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947e57ee247ad3094be9dd29ec0862c741a" title="Source events.">PA_SUBSCRIPTION_MASK_SOURCE</a> = 0x0002U,
<a name="l00439"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf694796265e726423993195ab2fbea7cf0439">00439</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf694796265e726423993195ab2fbea7cf0439" title="Sink input events.">PA_SUBSCRIPTION_MASK_SINK_INPUT</a> = 0x0004U,
<a name="l00442"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf694758d000429ee138ae6a328ba95c36da19">00442</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf694758d000429ee138ae6a328ba95c36da19" title="Source output events.">PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT</a> = 0x0008U,
<a name="l00445"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf69473d8796f69287b74efd0471977eb4b30c">00445</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf69473d8796f69287b74efd0471977eb4b30c" title="Module events.">PA_SUBSCRIPTION_MASK_MODULE</a> = 0x0010U,
<a name="l00448"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947bc7e288e30c60e5493c90ba106cf8f11">00448</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947bc7e288e30c60e5493c90ba106cf8f11" title="Client events.">PA_SUBSCRIPTION_MASK_CLIENT</a> = 0x0020U,
<a name="l00451"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947d5c6d1c2b25a2c3396710b110478f4f5">00451</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947d5c6d1c2b25a2c3396710b110478f4f5" title="Sample cache events.">PA_SUBSCRIPTION_MASK_SAMPLE_CACHE</a> = 0x0040U,
<a name="l00454"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf69476c452fe520e73f7362fb28f2304f3510">00454</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf69476c452fe520e73f7362fb28f2304f3510" title="Other global server changes.">PA_SUBSCRIPTION_MASK_SERVER</a> = 0x0080U,
<a name="l00458"></a>00458     PA_SUBSCRIPTION_MASK_AUTOLOAD = 0x0100U,
<a name="l00462"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947680e199f96d503bf25f456dfe5d95de3">00462</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947680e199f96d503bf25f456dfe5d95de3" title="Card events.">PA_SUBSCRIPTION_MASK_CARD</a> = 0x0200U,
<a name="l00465"></a><a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947bfce82a17f575eb040955e5738db4249">00465</a>     <a class="code" href="def_8h.html#d4e7f11f879e8c77ae5289145ecf6947bfce82a17f575eb040955e5738db4249" title="Catch all events.">PA_SUBSCRIPTION_MASK_ALL</a> = 0x02ffU
<a name="l00467"></a>00467 } <a class="code" href="def_8h.html#09d0e336675b2cb337d572c03e67eb93" title="Subscription event mask, as used by pa_context_subscribe().">pa_subscription_mask_t</a>;
<a name="l00468"></a>00468 
<a name="l00470"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3">00470</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3" title="Subscription event types, as used by pa_context_subscribe().">pa_subscription_event_type</a> {
<a name="l00471"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3a74f20e6f65d0693b7d94d52c5339e97">00471</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3a74f20e6f65d0693b7d94d52c5339e97" title="Event type: Sink.">PA_SUBSCRIPTION_EVENT_SINK</a> = 0x0000U,
<a name="l00474"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3c54e2e96492af96822b0a942c8524314">00474</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3c54e2e96492af96822b0a942c8524314" title="Event type: Source.">PA_SUBSCRIPTION_EVENT_SOURCE</a> = 0x0001U,
<a name="l00477"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3aba3797501fa4f1386fe9e738c35b494">00477</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3aba3797501fa4f1386fe9e738c35b494" title="Event type: Sink input.">PA_SUBSCRIPTION_EVENT_SINK_INPUT</a> = 0x0002U,
<a name="l00480"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a300f548642676a6e4d259f3063c6b5f91">00480</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a300f548642676a6e4d259f3063c6b5f91" title="Event type: Source output.">PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT</a> = 0x0003U,
<a name="l00483"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3dee5194b7811b8bf3c07cb0164c67c8e">00483</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3dee5194b7811b8bf3c07cb0164c67c8e" title="Event type: Module.">PA_SUBSCRIPTION_EVENT_MODULE</a> = 0x0004U,
<a name="l00486"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a30f8e8478bac34e0bac5f43fc843d0fa1">00486</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a30f8e8478bac34e0bac5f43fc843d0fa1" title="Event type: Client.">PA_SUBSCRIPTION_EVENT_CLIENT</a> = 0x0005U,
<a name="l00489"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3d55b6fa70a7b8e88508ceaff83bdc977">00489</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3d55b6fa70a7b8e88508ceaff83bdc977" title="Event type: Sample cache item.">PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE</a> = 0x0006U,
<a name="l00492"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3e839309e3256f5fa1ce3a1cfbf020037">00492</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3e839309e3256f5fa1ce3a1cfbf020037" title="Event type: Global server change, only occurring with PA_SUBSCRIPTION_EVENT_CHANGE...">PA_SUBSCRIPTION_EVENT_SERVER</a> = 0x0007U,
<a name="l00496"></a>00496     PA_SUBSCRIPTION_EVENT_AUTOLOAD = 0x0008U,
<a name="l00500"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a337713e10b0c7f74be5762d30c78a36b0">00500</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a337713e10b0c7f74be5762d30c78a36b0" title="Event type: Card.">PA_SUBSCRIPTION_EVENT_CARD</a> = 0x0009U,
<a name="l00503"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a355fdfc2a2ca13b0356e1389b522f38f7">00503</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a355fdfc2a2ca13b0356e1389b522f38f7" title="A mask to extract the event type from an event value.">PA_SUBSCRIPTION_EVENT_FACILITY_MASK</a> = 0x000FU,
<a name="l00506"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3f565d19a814abf3182b93a32537da82f">00506</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3f565d19a814abf3182b93a32537da82f" title="A new object was created.">PA_SUBSCRIPTION_EVENT_NEW</a> = 0x0000U,
<a name="l00509"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a33ec0f4379bb9b162ccccb21b3295c930">00509</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a33ec0f4379bb9b162ccccb21b3295c930" title="A property of the object was modified.">PA_SUBSCRIPTION_EVENT_CHANGE</a> = 0x0010U,
<a name="l00512"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3e99a4fb17ac376f2319b55cd89fd425f">00512</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3e99a4fb17ac376f2319b55cd89fd425f" title="An object was removed.">PA_SUBSCRIPTION_EVENT_REMOVE</a> = 0x0020U,
<a name="l00515"></a><a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3a79dc3715e76129204822efba5d49219">00515</a>     <a class="code" href="def_8h.html#6bedfa147a9565383f1f44642cfef6a3a79dc3715e76129204822efba5d49219" title="A mask to extract the event operation from an event value.">PA_SUBSCRIPTION_EVENT_TYPE_MASK</a> = 0x0030U
<a name="l00518"></a>00518 } <a class="code" href="def_8h.html#cbc7a15d7a9fe0722b02e2d739200035" title="Subscription event types, as used by pa_context_subscribe().">pa_subscription_event_type_t</a>;
<a name="l00519"></a>00519 
<a name="l00521"></a><a class="code" href="def_8h.html#2f8ff1ac366e70a1ee49ec8236662f49">00521</a> <span class="preprocessor">#define pa_subscription_match_flags(m, t) (!!((m) &amp; (1 &lt;&lt; ((t) &amp; PA_SUBSCRIPTION_EVENT_FACILITY_MASK))))</span>
<a name="l00522"></a>00522 <span class="preprocessor"></span>
<a name="l00524"></a>00524 <span class="preprocessor">#define PA_SUBSCRIPTION_MASK_NULL PA_SUBSCRIPTION_MASK_NULL</span>
<a name="l00525"></a>00525 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_SINK PA_SUBSCRIPTION_MASK_SINK</span>
<a name="l00526"></a>00526 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_SOURCE PA_SUBSCRIPTION_MASK_SOURCE</span>
<a name="l00527"></a>00527 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_SINK_INPUT PA_SUBSCRIPTION_MASK_SINK_INPUT</span>
<a name="l00528"></a>00528 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT</span>
<a name="l00529"></a>00529 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_MODULE PA_SUBSCRIPTION_MASK_MODULE</span>
<a name="l00530"></a>00530 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_CLIENT PA_SUBSCRIPTION_MASK_CLIENT</span>
<a name="l00531"></a>00531 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_SAMPLE_CACHE PA_SUBSCRIPTION_MASK_SAMPLE_CACHE</span>
<a name="l00532"></a>00532 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_SERVER PA_SUBSCRIPTION_MASK_SERVER</span>
<a name="l00533"></a>00533 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_AUTOLOAD PA_SUBSCRIPTION_MASK_AUTOLOAD</span>
<a name="l00534"></a>00534 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_CARD PA_SUBSCRIPTION_MASK_CARD</span>
<a name="l00535"></a>00535 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_MASK_ALL PA_SUBSCRIPTION_MASK_ALL</span>
<a name="l00536"></a>00536 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_SINK PA_SUBSCRIPTION_EVENT_SINK</span>
<a name="l00537"></a>00537 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_SOURCE PA_SUBSCRIPTION_EVENT_SOURCE</span>
<a name="l00538"></a>00538 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_SINK_INPUT PA_SUBSCRIPTION_EVENT_SINK_INPUT</span>
<a name="l00539"></a>00539 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT</span>
<a name="l00540"></a>00540 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_MODULE PA_SUBSCRIPTION_EVENT_MODULE</span>
<a name="l00541"></a>00541 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_CLIENT PA_SUBSCRIPTION_EVENT_CLIENT</span>
<a name="l00542"></a>00542 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE</span>
<a name="l00543"></a>00543 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_SERVER PA_SUBSCRIPTION_EVENT_SERVER</span>
<a name="l00544"></a>00544 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_AUTOLOAD PA_SUBSCRIPTION_EVENT_AUTOLOAD</span>
<a name="l00545"></a>00545 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_CARD PA_SUBSCRIPTION_EVENT_CARD</span>
<a name="l00546"></a>00546 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_FACILITY_MASK PA_SUBSCRIPTION_EVENT_FACILITY_MASK</span>
<a name="l00547"></a>00547 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_NEW PA_SUBSCRIPTION_EVENT_NEW</span>
<a name="l00548"></a>00548 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_CHANGE PA_SUBSCRIPTION_EVENT_CHANGE</span>
<a name="l00549"></a>00549 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_REMOVE PA_SUBSCRIPTION_EVENT_REMOVE</span>
<a name="l00550"></a>00550 <span class="preprocessor"></span><span class="preprocessor">#define PA_SUBSCRIPTION_EVENT_TYPE_MASK PA_SUBSCRIPTION_EVENT_TYPE_MASK</span>
<a name="l00551"></a>00551 <span class="preprocessor"></span>
<a name="l00571"></a><a class="code" href="structpa__timing__info.html">00571</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__timing__info.html" title="A structure for all kinds of timing information of a stream.">pa_timing_info</a> {
<a name="l00572"></a><a class="code" href="structpa__timing__info.html#1d7bfa57c2980cb34fd535ba700057ff">00572</a>     <span class="keyword">struct </span>timeval <a class="code" href="structpa__timing__info.html#1d7bfa57c2980cb34fd535ba700057ff" title="The time when this timing info structure was current.">timestamp</a>;
<a name="l00575"></a>00575     <span class="keywordtype">int</span> <a class="code" href="structpa__timing__info.html#b1b6c3d12cca0172e5d10374cb2f322c" title="Non-zero if the local and the remote machine have synchronized clocks.">synchronized_clocks</a>;
<a name="l00582"></a>00582     <a class="code" href="sample_8h.html#885df3b973773f0dccbbec6bc6777f89" title="Type for usec specifications (unsigned).">pa_usec_t</a> <a class="code" href="structpa__timing__info.html#1fa047dbabfc097c05ebc74f66a234c8" title="Time in usecs a sample takes to be played on the sink.">sink_usec</a>;
<a name="l00587"></a>00587     <a class="code" href="sample_8h.html#885df3b973773f0dccbbec6bc6777f89" title="Type for usec specifications (unsigned).">pa_usec_t</a> <a class="code" href="structpa__timing__info.html#d34351f6a2480aa73a1afa9f9596768c" title="Time in usecs a sample takes from being recorded to being delivered to the application...">source_usec</a>;
<a name="l00591"></a>00591     <a class="code" href="sample_8h.html#885df3b973773f0dccbbec6bc6777f89" title="Type for usec specifications (unsigned).">pa_usec_t</a> <a class="code" href="structpa__timing__info.html#c77f5e79645fd59640138d86e610d773" title="Estimated time in usecs a sample takes to be transferred to/from the daemon.">transport_usec</a>;
<a name="l00595"></a>00595     <span class="keywordtype">int</span> <a class="code" href="structpa__timing__info.html#a2b512f984e3d24e20159f542e80549a" title="Non-zero when the stream is currently not underrun and data is being passed on to...">playing</a>;
<a name="l00602"></a>00602     <span class="keywordtype">int</span> <a class="code" href="structpa__timing__info.html#28e63adc8b284fb2d2e90e302ba1e6e4" title="Non-zero if write_index is not up-to-date because a local write command that corrupted...">write_index_corrupt</a>;
<a name="l00609"></a>00609     int64_t <a class="code" href="structpa__timing__info.html#378893046ab19c58fdb50633c66c5d4a" title="Current write index into the playback buffer in bytes.">write_index</a>;
<a name="l00615"></a>00615     <span class="keywordtype">int</span> <a class="code" href="structpa__timing__info.html#b675235e605a24a7be4486beaf0c65d9" title="Non-zero if read_index is not up-to-date because a local pause or flush request that...">read_index_corrupt</a>;
<a name="l00620"></a>00620     int64_t <a class="code" href="structpa__timing__info.html#5e04baf968cc1d53a7795a58b2e4f788" title="Current read index into the playback buffer in bytes.">read_index</a>;
<a name="l00626"></a>00626     <a class="code" href="sample_8h.html#885df3b973773f0dccbbec6bc6777f89" title="Type for usec specifications (unsigned).">pa_usec_t</a> <a class="code" href="structpa__timing__info.html#b0289d7d18950165d8b81825cd03b9c8" title="The configured latency for the sink.">configured_sink_usec</a>;
<a name="l00629"></a>00629     <a class="code" href="sample_8h.html#885df3b973773f0dccbbec6bc6777f89" title="Type for usec specifications (unsigned).">pa_usec_t</a> <a class="code" href="structpa__timing__info.html#fa23d72067027b54b525ae547520a2df" title="The configured latency for the source.">configured_source_usec</a>;
<a name="l00632"></a>00632     int64_t <a class="code" href="structpa__timing__info.html#d2f26c8efa733d738dade0ed1b8123d3" title="Bytes that were handed to the sink since the last underrun happened, or since playback...">since_underrun</a>;
<a name="l00638"></a>00638 } <a class="code" href="structpa__timing__info.html" title="A structure for all kinds of timing information of a stream.">pa_timing_info</a>;
<a name="l00639"></a>00639 
<a name="l00647"></a><a class="code" href="structpa__spawn__api.html">00647</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__spawn__api.html" title="A structure for the spawn api.">pa_spawn_api</a> {
<a name="l00648"></a>00648     void (*<a class="code" href="structpa__spawn__api.html#009dfea821d3d41639fa07d57426a654" title="Is called just before the fork in the parent process.">prefork</a>)(void);
<a name="l00652"></a>00652     void (*<a class="code" href="structpa__spawn__api.html#54ede5d359932debf9c8ad6c70157765" title="Is called immediately after the fork in the parent process.">postfork</a>)(void);
<a name="l00656"></a>00656     void (*<a class="code" href="structpa__spawn__api.html#265fe372320341c1b83000bdc5ce7f68" title="Is called immediately after the fork in the child process.">atfork</a>)(void);
<a name="l00662"></a>00662 } <a class="code" href="structpa__spawn__api.html" title="A structure for the spawn api.">pa_spawn_api</a>;
<a name="l00663"></a>00663 
<a name="l00665"></a><a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3b">00665</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3b" title="Seek type for pa_stream_write().">pa_seek_mode</a> {
<a name="l00666"></a><a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3ba2e4cfb8fb37554e73855242729edf13">00666</a>     <a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3ba2e4cfb8fb37554e73855242729edf13" title="Seek relatively to the write index.">PA_SEEK_RELATIVE</a> = 0,
<a name="l00669"></a><a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3b1cef43711d6cef4c21fab3f781ea5eb1">00669</a>     <a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3b1cef43711d6cef4c21fab3f781ea5eb1" title="Seek relatively to the start of the buffer queue.">PA_SEEK_ABSOLUTE</a> = 1,
<a name="l00672"></a><a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3b97a4afa37b9941198483a6f38073ec8d">00672</a>     <a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3b97a4afa37b9941198483a6f38073ec8d" title="Seek relatively to the read index.">PA_SEEK_RELATIVE_ON_READ</a> = 2,
<a name="l00675"></a><a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3bd58827bce33341f758e9ebfdb363b8dc">00675</a>     <a class="code" href="def_8h.html#eb8e6973350d158e982985c1d19eef3bd58827bce33341f758e9ebfdb363b8dc" title="Seek relatively to the current end of the buffer queue.">PA_SEEK_RELATIVE_END</a> = 3
<a name="l00677"></a>00677 } <a class="code" href="def_8h.html#3bd011cdb61caf568b544715b1b89def" title="Seek type for pa_stream_write().">pa_seek_mode_t</a>;
<a name="l00678"></a>00678 
<a name="l00680"></a>00680 <span class="preprocessor">#define PA_SEEK_RELATIVE PA_SEEK_RELATIVE</span>
<a name="l00681"></a>00681 <span class="preprocessor"></span><span class="preprocessor">#define PA_SEEK_ABSOLUTE PA_SEEK_ABSOLUTE</span>
<a name="l00682"></a>00682 <span class="preprocessor"></span><span class="preprocessor">#define PA_SEEK_RELATIVE_ON_READ PA_SEEK_RELATIVE_ON_READ</span>
<a name="l00683"></a>00683 <span class="preprocessor"></span><span class="preprocessor">#define PA_SEEK_RELATIVE_END PA_SEEK_RELATIVE_END</span>
<a name="l00684"></a>00684 <span class="preprocessor"></span>
<a name="l00687"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0">00687</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0" title="Special sink flags.">pa_sink_flags</a> {
<a name="l00688"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0f27ef5d58899732fa239122e4ade5045">00688</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0f27ef5d58899732fa239122e4ade5045" title="Supports hardware volume control.">PA_SINK_HW_VOLUME_CTRL</a> = 0x0001U,
<a name="l00691"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc05d6e085651e952cf50e54e8d354ed4b5">00691</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc05d6e085651e952cf50e54e8d354ed4b5" title="Supports latency querying.">PA_SINK_LATENCY</a> = 0x0002U,
<a name="l00694"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0ea97dec9642cecd0bf9c1b8b51b1f8ae">00694</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0ea97dec9642cecd0bf9c1b8b51b1f8ae" title="Is a hardware sink of some kind, in contrast to &amp;quot;virtual&amp;quot;/software sinks...">PA_SINK_HARDWARE</a> = 0x0004U,
<a name="l00698"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0d65e400cb77e26c98fc04d0868cb4926">00698</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0d65e400cb77e26c98fc04d0868cb4926" title="Is a networked sink of some kind.">PA_SINK_NETWORK</a> = 0x0008U,
<a name="l00701"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0582cad073b19422cc1c6698a43207e33">00701</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0582cad073b19422cc1c6698a43207e33" title="Supports hardware mute control.">PA_SINK_HW_MUTE_CTRL</a> = 0x0010U,
<a name="l00704"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0817bd8d4690f17364b9259642642bbc3">00704</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc0817bd8d4690f17364b9259642642bbc3" title="Volume can be translated to dB with pa_sw_volume_to_dB().">PA_SINK_DECIBEL_VOLUME</a> = 0x0020U,
<a name="l00708"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc09a021b408c52fa69a1038521e903a7cc">00708</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc09a021b408c52fa69a1038521e903a7cc" title="This sink is in flat volume mode, i.e.">PA_SINK_FLAT_VOLUME</a> = 0x0040U,
<a name="l00712"></a><a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc096bc927c307edf8ca7a9858ece3c7241">00712</a>     <a class="code" href="def_8h.html#20e0a15bebf78a29893f3b73ef7dadc096bc927c307edf8ca7a9858ece3c7241" title="The latency can be adjusted dynamically depending on the needs of the connected streams...">PA_SINK_DYNAMIC_LATENCY</a> = 0x0080U
<a name="l00715"></a>00715 } <a class="code" href="def_8h.html#33360cff8c751ad1b8a557e074463a99" title="Special sink flags.">pa_sink_flags_t</a>;
<a name="l00716"></a>00716 
<a name="l00718"></a>00718 <span class="preprocessor">#define PA_SINK_HW_VOLUME_CTRL PA_SINK_HW_VOLUME_CTRL</span>
<a name="l00719"></a>00719 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_LATENCY PA_SINK_LATENCY</span>
<a name="l00720"></a>00720 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_HARDWARE PA_SINK_HARDWARE</span>
<a name="l00721"></a>00721 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_NETWORK PA_SINK_NETWORK</span>
<a name="l00722"></a>00722 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_HW_MUTE_CTRL PA_SINK_HW_MUTE_CTRL</span>
<a name="l00723"></a>00723 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_DECIBEL_VOLUME PA_SINK_DECIBEL_VOLUME</span>
<a name="l00724"></a>00724 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_FLAT_VOLUME PA_SINK_FLAT_VOLUME</span>
<a name="l00725"></a>00725 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_DYNAMIC_LATENCY PA_SINK_DYNAMIC_LATENCY</span>
<a name="l00726"></a>00726 <span class="preprocessor"></span>
<a name="l00729"></a><a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e">00729</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e" title="Sink state.">pa_sink_state</a> { <span class="comment">/* enum serialized in u8 */</span>
<a name="l00730"></a><a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233ecae6e0b8df40102b1410b7fcb20293d4">00730</a>     <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233ecae6e0b8df40102b1410b7fcb20293d4" title="This state is used when the server does not support sink state introspection.">PA_SINK_INVALID_STATE</a> = -1,
<a name="l00733"></a><a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e9e6c374f0d151d25cedd32cce27f03f0">00733</a>     <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e9e6c374f0d151d25cedd32cce27f03f0" title="Running, sink is playing and used by at least one non-corked sink-input.">PA_SINK_RUNNING</a> = 0,
<a name="l00736"></a><a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233ebf23df200b850bfc9d7258fc84dcdcc7">00736</a>     <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233ebf23df200b850bfc9d7258fc84dcdcc7" title="When idle, the sink is playing but there is no non-corked sink-input attached to...">PA_SINK_IDLE</a> = 1,
<a name="l00739"></a><a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e22b1491a325fd78821983b5f65448809">00739</a>     <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e22b1491a325fd78821983b5f65448809" title="When suspended, actual sink access can be closed, for instance.">PA_SINK_SUSPENDED</a> = 2,
<a name="l00743"></a>00743     <span class="comment">/* PRIVATE: Server-side values -- DO NOT USE THIS ON THE CLIENT</span>
<a name="l00744"></a>00744 <span class="comment">     * SIDE! These values are *not* considered part of the official PA</span>
<a name="l00745"></a>00745 <span class="comment">     * API/ABI. If you use them your application might break when PA</span>
<a name="l00746"></a>00746 <span class="comment">     * is upgraded. Also, please note that these values are not useful</span>
<a name="l00747"></a>00747 <span class="comment">     * on the client side anyway. */</span>
<a name="l00748"></a>00748 
<a name="l00749"></a>00749     PA_SINK_INIT = -2,
<a name="l00752"></a>00752     PA_SINK_UNLINKED = -3
<a name="l00756"></a>00756 } <a class="code" href="def_8h.html#f1ba5b1cd9a58a5a914231862779a88f" title="Sink state.">pa_sink_state_t</a>;
<a name="l00757"></a>00757 
<a name="l00759"></a>00759 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> PA_SINK_IS_OPENED(<a class="code" href="def_8h.html#f1ba5b1cd9a58a5a914231862779a88f" title="Sink state.">pa_sink_state_t</a> x) {
<a name="l00760"></a>00760     <span class="keywordflow">return</span> x == <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233e9e6c374f0d151d25cedd32cce27f03f0" title="Running, sink is playing and used by at least one non-corked sink-input.">PA_SINK_RUNNING</a> || x == <a class="code" href="def_8h.html#e4618f4ca1ed5b4044390f6421ac233ebf23df200b850bfc9d7258fc84dcdcc7" title="When idle, the sink is playing but there is no non-corked sink-input attached to...">PA_SINK_IDLE</a>;
<a name="l00761"></a>00761 }
<a name="l00762"></a>00762 
<a name="l00764"></a>00764 <span class="preprocessor">#define PA_SINK_INVALID_STATE PA_SINK_INVALID_STATE</span>
<a name="l00765"></a>00765 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_RUNNING PA_SINK_RUNNING</span>
<a name="l00766"></a>00766 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_IDLE PA_SINK_IDLE</span>
<a name="l00767"></a>00767 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_SUSPENDED PA_SINK_SUSPENDED</span>
<a name="l00768"></a>00768 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_INIT PA_SINK_INIT</span>
<a name="l00769"></a>00769 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_UNLINKED PA_SINK_UNLINKED</span>
<a name="l00770"></a>00770 <span class="preprocessor"></span><span class="preprocessor">#define PA_SINK_IS_OPENED PA_SINK_IS_OPENED</span>
<a name="l00771"></a>00771 <span class="preprocessor"></span>
<a name="l00774"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0">00774</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0" title="Special source flags.">pa_source_flags</a> {
<a name="l00775"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0c5016503186fa7d8434347317626ddba">00775</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0c5016503186fa7d8434347317626ddba" title="Supports hardware volume control.">PA_SOURCE_HW_VOLUME_CTRL</a> = 0x0001U,
<a name="l00778"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b077a557d0903d9f459392489946417ca8">00778</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b077a557d0903d9f459392489946417ca8" title="Supports latency querying.">PA_SOURCE_LATENCY</a> = 0x0002U,
<a name="l00781"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0570ae99fab9a1f2bf04be59712adb55b">00781</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0570ae99fab9a1f2bf04be59712adb55b" title="Is a hardware source of some kind, in contrast to &amp;quot;virtual&amp;quot;/software source...">PA_SOURCE_HARDWARE</a> = 0x0004U,
<a name="l00785"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b04849430905aa8983971092e4d169990a">00785</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b04849430905aa8983971092e4d169990a" title="Is a networked source of some kind.">PA_SOURCE_NETWORK</a> = 0x0008U,
<a name="l00788"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b02c8d91c2006f59e5ca3a2abfcff10a58">00788</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b02c8d91c2006f59e5ca3a2abfcff10a58" title="Supports hardware mute control.">PA_SOURCE_HW_MUTE_CTRL</a> = 0x0010U,
<a name="l00791"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0f94bebefa281436eabf2cfe2b273bb23">00791</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b0f94bebefa281436eabf2cfe2b273bb23" title="Volume can be translated to dB with pa_sw_volume_to_dB().">PA_SOURCE_DECIBEL_VOLUME</a> = 0x0020U,
<a name="l00795"></a><a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b004d7afd6b1077c4032107ba26d233ca1">00795</a>     <a class="code" href="def_8h.html#6102010fffc6e49f6d378263e7b474b004d7afd6b1077c4032107ba26d233ca1" title="The latency can be adjusted dynamically depending on the needs of the connected streams...">PA_SOURCE_DYNAMIC_LATENCY</a> = 0x0040U
<a name="l00798"></a>00798 } <a class="code" href="def_8h.html#1177496dc4c63e0cce094ed849a9ef8d" title="Special source flags.">pa_source_flags_t</a>;
<a name="l00799"></a>00799 
<a name="l00801"></a>00801 <span class="preprocessor">#define PA_SOURCE_HW_VOLUME_CTRL PA_SOURCE_HW_VOLUME_CTRL</span>
<a name="l00802"></a>00802 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_LATENCY PA_SOURCE_LATENCY</span>
<a name="l00803"></a>00803 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_HARDWARE PA_SOURCE_HARDWARE</span>
<a name="l00804"></a>00804 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_NETWORK PA_SOURCE_NETWORK</span>
<a name="l00805"></a>00805 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_HW_MUTE_CTRL PA_SOURCE_HW_MUTE_CTRL</span>
<a name="l00806"></a>00806 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_DECIBEL_VOLUME PA_SOURCE_DECIBEL_VOLUME</span>
<a name="l00807"></a>00807 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_DYNAMIC_LATENCY PA_SOURCE_DYNAMIC_LATENCY</span>
<a name="l00808"></a>00808 <span class="preprocessor"></span>
<a name="l00811"></a><a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a">00811</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a" title="Source state.">pa_source_state</a> {
<a name="l00812"></a><a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a089937a1c8303e9179061749d2a54f14">00812</a>     <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a089937a1c8303e9179061749d2a54f14" title="This state is used when the server does not support source state introspection.">PA_SOURCE_INVALID_STATE</a> = -1,
<a name="l00815"></a><a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a3826ae6685582017fb4a77116ca4022f">00815</a>     <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a3826ae6685582017fb4a77116ca4022f" title="Running, source is recording and used by at least one non-corked source-output.">PA_SOURCE_RUNNING</a> = 0,
<a name="l00818"></a><a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a6e0c0c64b885ae48318a515465273589">00818</a>     <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a6e0c0c64b885ae48318a515465273589" title="When idle, the source is still recording but there is no non-corked source-output...">PA_SOURCE_IDLE</a> = 1,
<a name="l00821"></a><a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a8071cae2e1b838299d716dd68b4093c7">00821</a>     <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a8071cae2e1b838299d716dd68b4093c7" title="When suspended, actual source access can be closed, for instance.">PA_SOURCE_SUSPENDED</a> = 2,
<a name="l00825"></a>00825     <span class="comment">/* PRIVATE: Server-side values -- DO NOT USE THIS ON THE CLIENT</span>
<a name="l00826"></a>00826 <span class="comment">     * SIDE! These values are *not* considered part of the official PA</span>
<a name="l00827"></a>00827 <span class="comment">     * API/ABI. If you use them your application might break when PA</span>
<a name="l00828"></a>00828 <span class="comment">     * is upgraded. Also, please note that these values are not useful</span>
<a name="l00829"></a>00829 <span class="comment">     * on the client side anyway. */</span>
<a name="l00830"></a>00830 
<a name="l00831"></a>00831     PA_SOURCE_INIT = -2,
<a name="l00834"></a>00834     PA_SOURCE_UNLINKED = -3
<a name="l00838"></a>00838 } <a class="code" href="def_8h.html#2be5558ab768f960e50c18e252c2f906" title="Source state.">pa_source_state_t</a>;
<a name="l00839"></a>00839 
<a name="l00841"></a>00841 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> PA_SOURCE_IS_OPENED(<a class="code" href="def_8h.html#2be5558ab768f960e50c18e252c2f906" title="Source state.">pa_source_state_t</a> x) {
<a name="l00842"></a>00842     <span class="keywordflow">return</span> x == <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a3826ae6685582017fb4a77116ca4022f" title="Running, source is recording and used by at least one non-corked source-output.">PA_SOURCE_RUNNING</a> || x == <a class="code" href="def_8h.html#b083f194b7a5ba7623efc31392c4029a6e0c0c64b885ae48318a515465273589" title="When idle, the source is still recording but there is no non-corked source-output...">PA_SOURCE_IDLE</a>;
<a name="l00843"></a>00843 }
<a name="l00844"></a>00844 
<a name="l00846"></a>00846 <span class="preprocessor">#define PA_SOURCE_INVALID_STATE PA_SOURCE_INVALID_STATE</span>
<a name="l00847"></a>00847 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_RUNNING PA_SOURCE_RUNNING</span>
<a name="l00848"></a>00848 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_IDLE PA_SOURCE_IDLE</span>
<a name="l00849"></a>00849 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_SUSPENDED PA_SOURCE_SUSPENDED</span>
<a name="l00850"></a>00850 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_INIT PA_SOURCE_INIT</span>
<a name="l00851"></a>00851 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_UNLINKED PA_SOURCE_UNLINKED</span>
<a name="l00852"></a>00852 <span class="preprocessor"></span><span class="preprocessor">#define PA_SOURCE_IS_OPENED PA_SOURCE_IS_OPENED</span>
<a name="l00853"></a>00853 <span class="preprocessor"></span>
<a name="l00856"></a><a class="code" href="def_8h.html#85c8c3063d8218304c041cb9f83ec431">00856</a> <span class="keyword">typedef</span> void (*<a class="code" href="def_8h.html#85c8c3063d8218304c041cb9f83ec431" title="A generic free() like callback prototype.">pa_free_cb_t</a>)(<span class="keywordtype">void</span> *p);
<a name="l00857"></a>00857 
<a name="l00861"></a><a class="code" href="def_8h.html#3956e517eba54376a3cecda994ba56a9">00861</a> <span class="preprocessor">#define PA_STREAM_EVENT_REQUEST_CORK "request-cork"</span>
<a name="l00862"></a>00862 <span class="preprocessor"></span>
<a name="l00866"></a><a class="code" href="def_8h.html#31db15ca191bf81a24bc00dbbaa8754a">00866</a> <span class="preprocessor">#define PA_STREAM_EVENT_REQUEST_UNCORK "request-uncork"</span>
<a name="l00867"></a>00867 <span class="preprocessor"></span>
<a name="l00868"></a>00868 PA_C_DECL_END
<a name="l00869"></a>00869 
<a name="l00870"></a>00870 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 2 04:18:19 2009 for PulseAudio by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>