<!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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>PulseAudio: ext-device-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="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">PulseAudio  <span id="projectnumber">10.0.0-1.1.mga6</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('ext-device-restore_8h_source.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">ext-device-restore.h</div> </div> </div><!--header--> <div class="contents"> <a href="ext-device-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> <span class="preprocessor">#ifndef foopulseextdevicerestorehfoo</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define foopulseextdevicerestorehfoo</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/***</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> This file is part of PulseAudio.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> Copyright 2008 Lennart Poettering</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> Copyright 2011 Colin Guthrie</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> PulseAudio is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> it under the terms of the GNU Lesser General Public License as published</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> by the Free Software Foundation; either version 2.1 of the License,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> or (at your option) any later version.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> PulseAudio is distributed in the hope that it will be useful, but</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> General Public License for more details.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> You should have received a copy of the GNU Lesser General Public License</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">***/</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="context_8h.html">pulse/context.h</a>></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="format_8h.html">pulse/format.h</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="version_8h.html">pulse/version.h</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> PA_C_DECL_BEGIN</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structpa__ext__device__restore__info.html"> 37</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__ext__device__restore__info.html">pa_ext_device_restore_info</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structpa__ext__device__restore__info.html#a00ba19a8469b1401b51878d6309de44c"> 38</a></span>  <a class="code" href="def_8h.html#a66f683de1e98548311665aa43c3680d4">pa_device_type_t</a> <a class="code" href="structpa__ext__device__restore__info.html#a00ba19a8469b1401b51878d6309de44c">type</a>; </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structpa__ext__device__restore__info.html#a3aa4740b8e0a084322f66f30bf42dc53"> 39</a></span>  uint32_t <a class="code" href="structpa__ext__device__restore__info.html#a3aa4740b8e0a084322f66f30bf42dc53">index</a>; </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structpa__ext__device__restore__info.html#a93c45851a2cac04391a283f7bc47f478"> 40</a></span>  uint8_t <a class="code" href="structpa__ext__device__restore__info.html#a93c45851a2cac04391a283f7bc47f478">n_formats</a>; </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structpa__ext__device__restore__info.html#a2a06b4972d1d92ecae89812bfeeb164c"> 41</a></span>  <a class="code" href="structpa__format__info.html">pa_format_info</a> **<a class="code" href="structpa__ext__device__restore__info.html#a2a06b4972d1d92ecae89812bfeeb164c">formats</a>; </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> } <a class="code" href="ext-device-restore_8h.html#ae4a3b13a6229f8530c6204839760057c">pa_ext_device_restore_info</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="ext-device-restore_8h.html#ade6d57c20d2f64fb0f2113bf2bdc89e3"> 45</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="ext-device-restore_8h.html#ade6d57c20d2f64fb0f2113bf2bdc89e3">pa_ext_device_restore_test_cb_t</a>)(</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  uint32_t version,</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-restore_8h.html#adc10b268ac5633327f6c940cb530582e">pa_ext_device_restore_test</a>(</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="ext-device-restore_8h.html#ade6d57c20d2f64fb0f2113bf2bdc89e3">pa_ext_device_restore_test_cb_t</a> cb,</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-restore_8h.html#ac6ad89f729b41655290585d740942b70">pa_ext_device_restore_subscribe</a>(</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">int</span> enable,</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="ext-device-restore_8h.html#ab289dcbdd36b57f17c3c77e3ce9bcc90"> 64</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="ext-device-restore_8h.html#ab289dcbdd36b57f17c3c77e3ce9bcc90">pa_ext_device_restore_subscribe_cb_t</a>)(</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="def_8h.html#a66f683de1e98548311665aa43c3680d4">pa_device_type_t</a> <a class="code" href="structpa__ext__device__restore__info.html#a00ba19a8469b1401b51878d6309de44c">type</a>,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  uint32_t idx,</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keywordtype">void</span> <a class="code" href="ext-device-restore_8h.html#a96e7f24c7536d61954435ce35b12c67b">pa_ext_device_restore_set_subscribe_cb</a>(</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="ext-device-restore_8h.html#ab289dcbdd36b57f17c3c77e3ce9bcc90">pa_ext_device_restore_subscribe_cb_t</a> cb,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="ext-device-restore_8h.html#a658d71fbd201c4bcd1b8df6ee53fb21b"> 78</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="ext-device-restore_8h.html#a658d71fbd201c4bcd1b8df6ee53fb21b">pa_ext_device_restore_read_device_formats_cb_t</a>)(</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">const</span> <a class="code" href="structpa__ext__device__restore__info.html">pa_ext_device_restore_info</a> *info,</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">int</span> eol,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-restore_8h.html#a0a24bda00e0f198ff14061a394c8f488">pa_ext_device_restore_read_formats_all</a>(</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="ext-device-restore_8h.html#a658d71fbd201c4bcd1b8df6ee53fb21b">pa_ext_device_restore_read_device_formats_cb_t</a> cb,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-restore_8h.html#ac1d0791d3d60e9e1b585f923051183fd">pa_ext_device_restore_read_formats</a>(</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="def_8h.html#a66f683de1e98548311665aa43c3680d4">pa_device_type_t</a> <a class="code" href="structpa__ext__device__restore__info.html#a00ba19a8469b1401b51878d6309de44c">type</a>,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  uint32_t idx,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="ext-device-restore_8h.html#a658d71fbd201c4bcd1b8df6ee53fb21b">pa_ext_device_restore_read_device_formats_cb_t</a> cb,</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-restore_8h.html#a47e9a7c0c0d2030dded1fc0e096c2e89">pa_ext_device_restore_save_formats</a>(</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="def_8h.html#a66f683de1e98548311665aa43c3680d4">pa_device_type_t</a> <a class="code" href="structpa__ext__device__restore__info.html#a00ba19a8469b1401b51878d6309de44c">type</a>,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  uint32_t idx,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  uint8_t <a class="code" href="structpa__ext__device__restore__info.html#a93c45851a2cac04391a283f7bc47f478">n_formats</a>,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="structpa__format__info.html">pa_format_info</a> **<a class="code" href="structpa__ext__device__restore__info.html#a2a06b4972d1d92ecae89812bfeeb164c">formats</a>,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> PA_C_DECL_END</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="context_8h_html_aff56e9b3dd442a88227da084bb5c380a"><div class="ttname"><a href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a></div><div class="ttdeci">struct pa_context pa_context</div><div class="ttdoc">An opaque connection context to a daemon. </div><div class="ttdef"><b>Definition:</b> context.h:154</div></div> <div class="ttc" id="ext-device-restore_8h_html_a47e9a7c0c0d2030dded1fc0e096c2e89"><div class="ttname"><a href="ext-device-restore_8h.html#a47e9a7c0c0d2030dded1fc0e096c2e89">pa_ext_device_restore_save_formats</a></div><div class="ttdeci">pa_operation * pa_ext_device_restore_save_formats(pa_context *c, pa_device_type_t type, uint32_t idx, uint8_t n_formats, pa_format_info **formats, pa_context_success_cb_t cb, void *userdata)</div><div class="ttdoc">Read an entry from the device database. </div></div> <div class="ttc" id="context_8h_html"><div class="ttname"><a href="context_8h.html">context.h</a></div><div class="ttdoc">Connection contexts for asynchronous communication with a server. </div></div> <div class="ttc" id="structpa__ext__device__restore__info_html_a00ba19a8469b1401b51878d6309de44c"><div class="ttname"><a href="structpa__ext__device__restore__info.html#a00ba19a8469b1401b51878d6309de44c">pa_ext_device_restore_info::type</a></div><div class="ttdeci">pa_device_type_t type</div><div class="ttdoc">Device type sink or source? </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:38</div></div> <div class="ttc" id="operation_8h_html_a5614a07f2e7a129e4cb16596ed452a0c"><div class="ttname"><a href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a></div><div class="ttdeci">struct pa_operation pa_operation</div><div class="ttdoc">An asynchronous operation object. </div><div class="ttdef"><b>Definition:</b> operation.h:33</div></div> <div class="ttc" id="context_8h_html_a086b985c499c50efc628c267e8923fb1"><div class="ttname"><a href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a></div><div class="ttdeci">void(* pa_context_success_cb_t)(pa_context *c, int success, void *userdata)</div><div class="ttdoc">A generic callback for operation completion. </div><div class="ttdef"><b>Definition:</b> context.h:160</div></div> <div class="ttc" id="format_8h_html"><div class="ttname"><a href="format_8h.html">format.h</a></div><div class="ttdoc">Utility functions for handling a stream or sink format. </div></div> <div class="ttc" id="ext-device-restore_8h_html_ac6ad89f729b41655290585d740942b70"><div class="ttname"><a href="ext-device-restore_8h.html#ac6ad89f729b41655290585d740942b70">pa_ext_device_restore_subscribe</a></div><div class="ttdeci">pa_operation * pa_ext_device_restore_subscribe(pa_context *c, int enable, pa_context_success_cb_t cb, void *userdata)</div><div class="ttdoc">Subscribe to changes in the device database. </div></div> <div class="ttc" id="ext-device-restore_8h_html_ac1d0791d3d60e9e1b585f923051183fd"><div class="ttname"><a href="ext-device-restore_8h.html#ac1d0791d3d60e9e1b585f923051183fd">pa_ext_device_restore_read_formats</a></div><div class="ttdeci">pa_operation * pa_ext_device_restore_read_formats(pa_context *c, pa_device_type_t type, uint32_t idx, pa_ext_device_restore_read_device_formats_cb_t cb, void *userdata)</div><div class="ttdoc">Read an entry from the device database. </div></div> <div class="ttc" id="ext-device-restore_8h_html_ade6d57c20d2f64fb0f2113bf2bdc89e3"><div class="ttname"><a href="ext-device-restore_8h.html#ade6d57c20d2f64fb0f2113bf2bdc89e3">pa_ext_device_restore_test_cb_t</a></div><div class="ttdeci">void(* pa_ext_device_restore_test_cb_t)(pa_context *c, uint32_t version, void *userdata)</div><div class="ttdoc">Callback prototype for pa_ext_device_restore_test(). </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:45</div></div> <div class="ttc" id="ext-device-restore_8h_html_a96e7f24c7536d61954435ce35b12c67b"><div class="ttname"><a href="ext-device-restore_8h.html#a96e7f24c7536d61954435ce35b12c67b">pa_ext_device_restore_set_subscribe_cb</a></div><div class="ttdeci">void pa_ext_device_restore_set_subscribe_cb(pa_context *c, pa_ext_device_restore_subscribe_cb_t cb, void *userdata)</div><div class="ttdoc">Set the subscription callback that is called when pa_ext_device_restore_subscribe() was called...</div></div> <div class="ttc" id="structpa__ext__device__restore__info_html"><div class="ttname"><a href="structpa__ext__device__restore__info.html">pa_ext_device_restore_info</a></div><div class="ttdoc">Stores information about one device in the device database that is maintained by module-device-manage...</div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:37</div></div> <div class="ttc" id="structpa__ext__device__restore__info_html_a3aa4740b8e0a084322f66f30bf42dc53"><div class="ttname"><a href="structpa__ext__device__restore__info.html#a3aa4740b8e0a084322f66f30bf42dc53">pa_ext_device_restore_info::index</a></div><div class="ttdeci">uint32_t index</div><div class="ttdoc">The device index. </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:39</div></div> <div class="ttc" id="ext-device-restore_8h_html_ab289dcbdd36b57f17c3c77e3ce9bcc90"><div class="ttname"><a href="ext-device-restore_8h.html#ab289dcbdd36b57f17c3c77e3ce9bcc90">pa_ext_device_restore_subscribe_cb_t</a></div><div class="ttdeci">void(* pa_ext_device_restore_subscribe_cb_t)(pa_context *c, pa_device_type_t type, uint32_t idx, void *userdata)</div><div class="ttdoc">Callback prototype for pa_ext_device_restore_set_subscribe_cb(). </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:64</div></div> <div class="ttc" id="structpa__ext__device__restore__info_html_a2a06b4972d1d92ecae89812bfeeb164c"><div class="ttname"><a href="structpa__ext__device__restore__info.html#a2a06b4972d1d92ecae89812bfeeb164c">pa_ext_device_restore_info::formats</a></div><div class="ttdeci">pa_format_info ** formats</div><div class="ttdoc">An array of formats (may be NULL if n_formats == 0) </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:41</div></div> <div class="ttc" id="version_8h_html"><div class="ttname"><a href="version_8h.html">version.h</a></div><div class="ttdoc">Define header version. </div></div> <div class="ttc" id="ext-device-restore_8h_html_ae4a3b13a6229f8530c6204839760057c"><div class="ttname"><a href="ext-device-restore_8h.html#ae4a3b13a6229f8530c6204839760057c">pa_ext_device_restore_info</a></div><div class="ttdeci">struct pa_ext_device_restore_info pa_ext_device_restore_info</div><div class="ttdoc">Stores information about one device in the device database that is maintained by module-device-manage...</div></div> <div class="ttc" id="structpa__ext__device__restore__info_html_a93c45851a2cac04391a283f7bc47f478"><div class="ttname"><a href="structpa__ext__device__restore__info.html#a93c45851a2cac04391a283f7bc47f478">pa_ext_device_restore_info::n_formats</a></div><div class="ttdeci">uint8_t n_formats</div><div class="ttdoc">How many formats do we have? </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:40</div></div> <div class="ttc" id="ext-device-restore_8h_html_adc10b268ac5633327f6c940cb530582e"><div class="ttname"><a href="ext-device-restore_8h.html#adc10b268ac5633327f6c940cb530582e">pa_ext_device_restore_test</a></div><div class="ttdeci">pa_operation * pa_ext_device_restore_test(pa_context *c, pa_ext_device_restore_test_cb_t cb, void *userdata)</div><div class="ttdoc">Test if this extension module is available in the server. </div></div> <div class="ttc" id="ext-device-restore_8h_html_a0a24bda00e0f198ff14061a394c8f488"><div class="ttname"><a href="ext-device-restore_8h.html#a0a24bda00e0f198ff14061a394c8f488">pa_ext_device_restore_read_formats_all</a></div><div class="ttdeci">pa_operation * pa_ext_device_restore_read_formats_all(pa_context *c, pa_ext_device_restore_read_device_formats_cb_t cb, void *userdata)</div><div class="ttdoc">Read the formats for all present devices from the device database. </div></div> <div class="ttc" id="structpa__format__info_html"><div class="ttname"><a href="structpa__format__info.html">pa_format_info</a></div><div class="ttdoc">Represents the format of data provided in a stream or processed by a sink. </div><div class="ttdef"><b>Definition:</b> format.h:85</div></div> <div class="ttc" id="def_8h_html_a66f683de1e98548311665aa43c3680d4"><div class="ttname"><a href="def_8h.html#a66f683de1e98548311665aa43c3680d4">pa_device_type_t</a></div><div class="ttdeci">enum pa_device_type pa_device_type_t</div><div class="ttdoc">The type of device we are dealing with. </div></div> <div class="ttc" id="ext-device-restore_8h_html_a658d71fbd201c4bcd1b8df6ee53fb21b"><div class="ttname"><a href="ext-device-restore_8h.html#a658d71fbd201c4bcd1b8df6ee53fb21b">pa_ext_device_restore_read_device_formats_cb_t</a></div><div class="ttdeci">void(* pa_ext_device_restore_read_device_formats_cb_t)(pa_context *c, const pa_ext_device_restore_info *info, int eol, void *userdata)</div><div class="ttdoc">Callback prototype for pa_ext_device_restore_read_formats(). </div><div class="ttdef"><b>Definition:</b> ext-device-restore.h:78</div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_ec5b0a79aff2db41fe5d1b9326f09c28.html">pulse</a></li><li class="navelem"><a class="el" href="ext-device-restore_8h.html">ext-device-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.13 </li> </ul> </div> </body> </html>