Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > c6a4530fb2a89779c232c42c21f3bfa2 > files > 73

pulseaudio-libs-devel-2.1-7.fc18.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>PulseAudio: ext-stream-restore.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="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</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 style="padding-left: 0.5em;">
   <div id="projectname">PulseAudio
   &#160;<span id="projectnumber">2.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </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">
$(document).ready(function(){initNavTree('ext-stream-restore_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">ext-stream-restore.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ext-stream-restore_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 foopulseextstreamrestorehfoo</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define foopulseextstreamrestorehfoo</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></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 2008 Lennart Poettering</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">  PulseAudio is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</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="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">  by the Free Software Foundation; either version 2.1 of the License,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">  or (at your option) any later version.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">  PulseAudio is distributed in the hope that it will be useful, but</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">  WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">  General Public License for more details.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</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="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">  along with PulseAudio; if not, write to the Free Software</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">  USA.</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="context_8h.html" title="Connection contexts for asynchronous communication with a server.">pulse/context.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="version_8h.html" title="Define header version.">pulse/version.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="volume_8h.html" title="Constants and routines for volume handling.">pulse/volume.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" title="Constants and routines for channel mapping handling.">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="l00036"></a><span class="lineno">   36</span>&#160;PA_C_DECL_BEGIN</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="structpa__ext__stream__restore__info.html">   40</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__ext__stream__restore__info.html" title="Stores information about one entry in the stream database that is maintained by module-stream-restore...">pa_ext_stream_restore_info</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="structpa__ext__stream__restore__info.html#ac63ef1427cc1e701d9b48015290107d4">   41</a></span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpa__ext__stream__restore__info.html#ac63ef1427cc1e701d9b48015290107d4" title="Identifier string of the stream.">name</a>;            </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="structpa__ext__stream__restore__info.html#a6cc81e09087838b188903ea4b2387abb">   42</a></span>&#160;    <a class="code" href="structpa__channel__map.html" title="A channel map which can be used to attach labels to specific channels of a stream.">pa_channel_map</a> <a class="code" href="structpa__ext__stream__restore__info.html#a6cc81e09087838b188903ea4b2387abb" title="The channel map for the volume field, if applicable.">channel_map</a>;  </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="structpa__ext__stream__restore__info.html#ac4347e3ef8aba48ecc3a58f178e0802b">   43</a></span>&#160;    <a class="code" href="structpa__cvolume.html" title="A structure encapsulating a per-channel volume.">pa_cvolume</a> <a class="code" href="structpa__ext__stream__restore__info.html#ac4347e3ef8aba48ecc3a58f178e0802b" title="The volume of the stream when it was seen last, if applicable and saved.">volume</a>;           </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="structpa__ext__stream__restore__info.html#ac05ad3aa1a0b557f38781c7503c6f6c9">   44</a></span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpa__ext__stream__restore__info.html#ac05ad3aa1a0b557f38781c7503c6f6c9" title="The sink/source of the stream when it was last seen, if applicable and saved.">device</a>;          </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="structpa__ext__stream__restore__info.html#a130e90ee7751ef01724e9b6426b76da7">   45</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structpa__ext__stream__restore__info.html#a130e90ee7751ef01724e9b6426b76da7" title="The boolean mute state of the stream when it was last seen, if applicable and saved.">mute</a>;                    </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;} <a class="code" href="ext-stream-restore_8h.html#a4d43e5183d8c32e7ef3c7e9a93d55825" title="Stores information about one entry in the stream database that is maintained by module-stream-restore...">pa_ext_stream_restore_info</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="ext-stream-restore_8h.html#a8f7f37ee7ba6c363141f75dec793beb7">   49</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="ext-stream-restore_8h.html#a8f7f37ee7ba6c363141f75dec793beb7" title="Callback prototype for pa_ext_stream_restore_test().">pa_ext_stream_restore_test_cb_t</a>)(</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        uint32_t version,</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c" title="An asynchronous operation object.">pa_operation</a> *<a class="code" href="ext-stream-restore_8h.html#a89d7350f477c53928f4121e6ac6cb897" title="Test if this extension module is available in the server.">pa_ext_stream_restore_test</a>(</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <a class="code" href="ext-stream-restore_8h.html#a8f7f37ee7ba6c363141f75dec793beb7" title="Callback prototype for pa_ext_stream_restore_test().">pa_ext_stream_restore_test_cb_t</a> cb,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="ext-stream-restore_8h.html#a4a25bef02874538acb98e1c1729d60eb">   61</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="ext-stream-restore_8h.html#a4a25bef02874538acb98e1c1729d60eb" title="Callback prototype for pa_ext_stream_restore_read().">pa_ext_stream_restore_read_cb_t</a>)(</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keyword">const</span> <a class="code" href="structpa__ext__stream__restore__info.html" title="Stores information about one entry in the stream database that is maintained by module-stream-restore...">pa_ext_stream_restore_info</a> *info,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keywordtype">int</span> eol,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c" title="An asynchronous operation object.">pa_operation</a> *<a class="code" href="ext-stream-restore_8h.html#a3e83c1723e241f9e308be4097e1d3973" title="Read all entries from the stream database.">pa_ext_stream_restore_read</a>(</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <a class="code" href="ext-stream-restore_8h.html#a4a25bef02874538acb98e1c1729d60eb" title="Callback prototype for pa_ext_stream_restore_read().">pa_ext_stream_restore_read_cb_t</a> cb,</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c" title="An asynchronous operation object.">pa_operation</a> *<a class="code" href="ext-stream-restore_8h.html#a8f8e9e4c630294aff45a38bf1a417831" title="Store entries in the stream database.">pa_ext_stream_restore_write</a>(</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <a class="code" href="proplist_8h.html#a4b73cd513add16a26378a7941a9f1fd9" title="Update mode enum for pa_proplist_update().">pa_update_mode_t</a> mode,</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keyword">const</span> <a class="code" href="structpa__ext__stream__restore__info.html" title="Stores information about one entry in the stream database that is maintained by module-stream-restore...">pa_ext_stream_restore_info</a> data[],</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="keywordtype">unsigned</span> n,</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordtype">int</span> apply_immediately,</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <a class="code" href="context_8h.html#a010aff61766ac2d9585d78a164c0fc9a" title="A generic callback for operation completion.">pa_context_success_cb_t</a> cb,</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c" title="An asynchronous operation object.">pa_operation</a> *<a class="code" href="ext-stream-restore_8h.html#a68ce13da0f217d144813ae0f87505365" title="Delete entries from the stream database.">pa_ext_stream_restore_delete</a>(</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> s[],</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <a class="code" href="context_8h.html#a010aff61766ac2d9585d78a164c0fc9a" title="A generic callback for operation completion.">pa_context_success_cb_t</a> cb,</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c" title="An asynchronous operation object.">pa_operation</a> *<a class="code" href="ext-stream-restore_8h.html#ac383f6a26d3776658dd60bcf262edcf3" title="Subscribe to changes in the stream database.">pa_ext_stream_restore_subscribe</a>(</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keywordtype">int</span> enable,</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <a class="code" href="context_8h.html#a010aff61766ac2d9585d78a164c0fc9a" title="A generic callback for operation completion.">pa_context_success_cb_t</a> cb,</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="keywordtype">void</span> *userdata);</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="code" href="ext-stream-restore_8h.html#a6ec8bdc7e4aebfdde7727c7d053382fb">   98</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="ext-stream-restore_8h.html#a6ec8bdc7e4aebfdde7727c7d053382fb" title="Callback prototype for pa_ext_stream_restore_set_subscribe_cb().">pa_ext_stream_restore_subscribe_cb_t</a>)(</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ext-stream-restore_8h.html#a415cbef4cbfc37b62def1ff47d70d7b2" title="Set the subscription callback that is called when pa_ext_stream_restore_subscribe() was called...">pa_ext_stream_restore_set_subscribe_cb</a>(</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a" title="An opaque connection context to a daemon.">pa_context</a> *c,</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <a class="code" href="ext-stream-restore_8h.html#a6ec8bdc7e4aebfdde7727c7d053382fb" title="Callback prototype for pa_ext_stream_restore_set_subscribe_cb().">pa_ext_stream_restore_subscribe_cb_t</a> cb,</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;PA_C_DECL_END</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">#endif</span></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="ext-stream-restore_8h.html">ext-stream-restore.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3 </li>
  </ul>
</div>
</body>
</html>