<!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-manager.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-manager_8h_source.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">ext-device-manager.h</div> </div> </div><!--header--> <div class="contents"> <a href="ext-device-manager_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 foopulseextdevicemanagerhfoo</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define foopulseextdevicemanagerhfoo</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 2009 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 <pulse/cdecl.h></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="context_8h.html">pulse/context.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="l00035"></a><span class="lineno"> 35</span> <span class="comment">/* Don't extend this struct! It will break binary compatibility, because</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> * pa_ext_device_manager_info.role_priorities points to an array of structs</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> * instead of an array of pointers to structs. */</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__role__priority__info.html"> 38</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__ext__device__manager__role__priority__info.html">pa_ext_device_manager_role_priority_info</a> {</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__role__priority__info.html#ad9034f4bca071b5bbc0a3d2727ac1382"> 39</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpa__ext__device__manager__role__priority__info.html#ad9034f4bca071b5bbc0a3d2727ac1382">role</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__role__priority__info.html#af55e7e1533d2231b23663fc919f662cf"> 40</a></span>  uint32_t <a class="code" href="structpa__ext__device__manager__role__priority__info.html#af55e7e1533d2231b23663fc919f662cf">priority</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> } <a class="code" href="ext-device-manager_8h.html#a4d6bf029b463ec0eb111352a96d48e31">pa_ext_device_manager_role_priority_info</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html"> 45</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structpa__ext__device__manager__info.html">pa_ext_device_manager_info</a> {</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html#a88b6dc77a6b12f54db712783cb08b3a4"> 46</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpa__ext__device__manager__info.html#a88b6dc77a6b12f54db712783cb08b3a4">name</a>; </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html#a5d3755ff27f75b3797468b6fa8330b4d"> 47</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpa__ext__device__manager__info.html#a5d3755ff27f75b3797468b6fa8330b4d">description</a>; </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html#aa102aa1dc2553582bc609b5496024588"> 48</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpa__ext__device__manager__info.html#aa102aa1dc2553582bc609b5496024588">icon</a>; </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html#a3600185b704ad71e3412180acabb488e"> 49</a></span>  uint32_t <a class="code" href="structpa__ext__device__manager__info.html#a3600185b704ad71e3412180acabb488e">index</a>; </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html#ac0d23e7d14e9c0c6a7c41919e1c69d7f"> 50</a></span>  uint32_t <a class="code" href="structpa__ext__device__manager__info.html#ac0d23e7d14e9c0c6a7c41919e1c69d7f">n_role_priorities</a>; </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structpa__ext__device__manager__info.html#a4553e709c95c49e50599c37f4684d511"> 51</a></span>  <a class="code" href="structpa__ext__device__manager__role__priority__info.html">pa_ext_device_manager_role_priority_info</a> *<a class="code" href="structpa__ext__device__manager__info.html#a4553e709c95c49e50599c37f4684d511">role_priorities</a>; </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> } <a class="code" href="ext-device-manager_8h.html#abb4ba9b9bd51a1a6052460f8f6f5a356">pa_ext_device_manager_info</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="ext-device-manager_8h.html#a531a479f5108b93f3493d34e6b8ef242"> 55</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="ext-device-manager_8h.html#a531a479f5108b93f3493d34e6b8ef242">pa_ext_device_manager_test_cb_t</a>)(</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  uint32_t version,</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#a4aa110a4d59177fc138afc23c9997765">pa_ext_device_manager_test</a>(</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="ext-device-manager_8h.html#a531a479f5108b93f3493d34e6b8ef242">pa_ext_device_manager_test_cb_t</a> cb,</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="ext-device-manager_8h.html#a1b471e733473d203b7a550213b9ae319"> 67</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="ext-device-manager_8h.html#a1b471e733473d203b7a550213b9ae319">pa_ext_device_manager_read_cb_t</a>)(</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <a class="code" href="structpa__ext__device__manager__info.html">pa_ext_device_manager_info</a> *info,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">int</span> eol,</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#a6643f5113d710060426c9868dd41fc42">pa_ext_device_manager_read</a>(</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="ext-device-manager_8h.html#a1b471e733473d203b7a550213b9ae319">pa_ext_device_manager_read_cb_t</a> cb,</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#ad394343ff73b7c6f50045c52e5e6501d">pa_ext_device_manager_set_device_description</a>(</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* device,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* description,</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#ae9b58472d6f459d74e6ce9f59aef58f2">pa_ext_device_manager_delete</a>(</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> s[],</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#aaa7b9c0bf2a2bcd112fd4b7b1b1b8bb8">pa_ext_device_manager_enable_role_device_priority_routing</a>(</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">int</span> enable,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#ad47670cb7b0deeda6414ce89dc819307">pa_ext_device_manager_reorder_devices_for_role</a>(</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structpa__ext__device__manager__role__priority__info.html#ad9034f4bca071b5bbc0a3d2727ac1382">role</a>,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>** devices,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <a class="code" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *<a class="code" href="ext-device-manager_8h.html#abf45996a0a9963f1658fbb6021b699dc">pa_ext_device_manager_subscribe</a>(</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">int</span> enable,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb,</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="ext-device-manager_8h.html#ad8defb156eb2ef84a7a8ae0536e653b6"> 117</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="ext-device-manager_8h.html#ad8defb156eb2ef84a7a8ae0536e653b6">pa_ext_device_manager_subscribe_cb_t</a>)(</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="keywordtype">void</span> <a class="code" href="ext-device-manager_8h.html#a4f187ffe9cf45e345a85c223efb2212c">pa_ext_device_manager_set_subscribe_cb</a>(</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="ext-device-manager_8h.html#ad8defb156eb2ef84a7a8ae0536e653b6">pa_ext_device_manager_subscribe_cb_t</a> cb,</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> PA_C_DECL_END</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="ext-device-manager_8h_html_ad394343ff73b7c6f50045c52e5e6501d"><div class="ttname"><a href="ext-device-manager_8h.html#ad394343ff73b7c6f50045c52e5e6501d">pa_ext_device_manager_set_device_description</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_set_device_description(pa_context *c, const char *device, const char *description, pa_context_success_cb_t cb, void *userdata)</div><div class="ttdoc">Sets the description for a device. </div></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="structpa__ext__device__manager__info_html_a3600185b704ad71e3412180acabb488e"><div class="ttname"><a href="structpa__ext__device__manager__info.html#a3600185b704ad71e3412180acabb488e">pa_ext_device_manager_info::index</a></div><div class="ttdeci">uint32_t index</div><div class="ttdoc">The device index if it is currently available or PA_INVALID_INDEX. </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:49</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="ext-device-manager_8h_html_abb4ba9b9bd51a1a6052460f8f6f5a356"><div class="ttname"><a href="ext-device-manager_8h.html#abb4ba9b9bd51a1a6052460f8f6f5a356">pa_ext_device_manager_info</a></div><div class="ttdeci">struct pa_ext_device_manager_info pa_ext_device_manager_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="ext-device-manager_8h_html_a4aa110a4d59177fc138afc23c9997765"><div class="ttname"><a href="ext-device-manager_8h.html#a4aa110a4d59177fc138afc23c9997765">pa_ext_device_manager_test</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_test(pa_context *c, pa_ext_device_manager_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="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="structpa__ext__device__manager__info_html_a5d3755ff27f75b3797468b6fa8330b4d"><div class="ttname"><a href="structpa__ext__device__manager__info.html#a5d3755ff27f75b3797468b6fa8330b4d">pa_ext_device_manager_info::description</a></div><div class="ttdeci">const char * description</div><div class="ttdoc">The description of the device when it was last seen, if applicable and saved. </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:47</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="ext-device-manager_8h_html_abf45996a0a9963f1658fbb6021b699dc"><div class="ttname"><a href="ext-device-manager_8h.html#abf45996a0a9963f1658fbb6021b699dc">pa_ext_device_manager_subscribe</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_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-manager_8h_html_aaa7b9c0bf2a2bcd112fd4b7b1b1b8bb8"><div class="ttname"><a href="ext-device-manager_8h.html#aaa7b9c0bf2a2bcd112fd4b7b1b1b8bb8">pa_ext_device_manager_enable_role_device_priority_routing</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_enable_role_device_priority_routing(pa_context *c, int enable, pa_context_success_cb_t cb, void *userdata)</div><div class="ttdoc">Enable the role-based device-priority routing mode. </div></div> <div class="ttc" id="ext-device-manager_8h_html_a6643f5113d710060426c9868dd41fc42"><div class="ttname"><a href="ext-device-manager_8h.html#a6643f5113d710060426c9868dd41fc42">pa_ext_device_manager_read</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_read(pa_context *c, pa_ext_device_manager_read_cb_t cb, void *userdata)</div><div class="ttdoc">Read all entries from the device database. </div></div> <div class="ttc" id="ext-device-manager_8h_html_ae9b58472d6f459d74e6ce9f59aef58f2"><div class="ttname"><a href="ext-device-manager_8h.html#ae9b58472d6f459d74e6ce9f59aef58f2">pa_ext_device_manager_delete</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_delete(pa_context *c, const char *const s[], pa_context_success_cb_t cb, void *userdata)</div><div class="ttdoc">Delete entries from the device database. </div></div> <div class="ttc" id="structpa__ext__device__manager__info_html_aa102aa1dc2553582bc609b5496024588"><div class="ttname"><a href="structpa__ext__device__manager__info.html#aa102aa1dc2553582bc609b5496024588">pa_ext_device_manager_info::icon</a></div><div class="ttdeci">const char * icon</div><div class="ttdoc">The icon given to the device. </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:48</div></div> <div class="ttc" id="ext-device-manager_8h_html_a4d6bf029b463ec0eb111352a96d48e31"><div class="ttname"><a href="ext-device-manager_8h.html#a4d6bf029b463ec0eb111352a96d48e31">pa_ext_device_manager_role_priority_info</a></div><div class="ttdeci">struct pa_ext_device_manager_role_priority_info pa_ext_device_manager_role_priority_info</div></div> <div class="ttc" id="structpa__ext__device__manager__info_html"><div class="ttname"><a href="structpa__ext__device__manager__info.html">pa_ext_device_manager_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-manager.h:45</div></div> <div class="ttc" id="structpa__ext__device__manager__role__priority__info_html_ad9034f4bca071b5bbc0a3d2727ac1382"><div class="ttname"><a href="structpa__ext__device__manager__role__priority__info.html#ad9034f4bca071b5bbc0a3d2727ac1382">pa_ext_device_manager_role_priority_info::role</a></div><div class="ttdeci">const char * role</div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:39</div></div> <div class="ttc" id="structpa__ext__device__manager__role__priority__info_html"><div class="ttname"><a href="structpa__ext__device__manager__role__priority__info.html">pa_ext_device_manager_role_priority_info</a></div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:38</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="structpa__ext__device__manager__info_html_ac0d23e7d14e9c0c6a7c41919e1c69d7f"><div class="ttname"><a href="structpa__ext__device__manager__info.html#ac0d23e7d14e9c0c6a7c41919e1c69d7f">pa_ext_device_manager_info::n_role_priorities</a></div><div class="ttdeci">uint32_t n_role_priorities</div><div class="ttdoc">How many role priorities do we have? </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:50</div></div> <div class="ttc" id="structpa__ext__device__manager__role__priority__info_html_af55e7e1533d2231b23663fc919f662cf"><div class="ttname"><a href="structpa__ext__device__manager__role__priority__info.html#af55e7e1533d2231b23663fc919f662cf">pa_ext_device_manager_role_priority_info::priority</a></div><div class="ttdeci">uint32_t priority</div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:40</div></div> <div class="ttc" id="ext-device-manager_8h_html_a1b471e733473d203b7a550213b9ae319"><div class="ttname"><a href="ext-device-manager_8h.html#a1b471e733473d203b7a550213b9ae319">pa_ext_device_manager_read_cb_t</a></div><div class="ttdeci">void(* pa_ext_device_manager_read_cb_t)(pa_context *c, const pa_ext_device_manager_info *info, int eol, void *userdata)</div><div class="ttdoc">Callback prototype for pa_ext_device_manager_read(). </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:67</div></div> <div class="ttc" id="structpa__ext__device__manager__info_html_a4553e709c95c49e50599c37f4684d511"><div class="ttname"><a href="structpa__ext__device__manager__info.html#a4553e709c95c49e50599c37f4684d511">pa_ext_device_manager_info::role_priorities</a></div><div class="ttdeci">pa_ext_device_manager_role_priority_info * role_priorities</div><div class="ttdoc">An array of role priority structures or NULL. </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:51</div></div> <div class="ttc" id="ext-device-manager_8h_html_a531a479f5108b93f3493d34e6b8ef242"><div class="ttname"><a href="ext-device-manager_8h.html#a531a479f5108b93f3493d34e6b8ef242">pa_ext_device_manager_test_cb_t</a></div><div class="ttdeci">void(* pa_ext_device_manager_test_cb_t)(pa_context *c, uint32_t version, void *userdata)</div><div class="ttdoc">Callback prototype for pa_ext_device_manager_test(). </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:55</div></div> <div class="ttc" id="ext-device-manager_8h_html_ad8defb156eb2ef84a7a8ae0536e653b6"><div class="ttname"><a href="ext-device-manager_8h.html#ad8defb156eb2ef84a7a8ae0536e653b6">pa_ext_device_manager_subscribe_cb_t</a></div><div class="ttdeci">void(* pa_ext_device_manager_subscribe_cb_t)(pa_context *c, void *userdata)</div><div class="ttdoc">Callback prototype for pa_ext_device_manager_set_subscribe_cb(). </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:117</div></div> <div class="ttc" id="ext-device-manager_8h_html_a4f187ffe9cf45e345a85c223efb2212c"><div class="ttname"><a href="ext-device-manager_8h.html#a4f187ffe9cf45e345a85c223efb2212c">pa_ext_device_manager_set_subscribe_cb</a></div><div class="ttdeci">void pa_ext_device_manager_set_subscribe_cb(pa_context *c, pa_ext_device_manager_subscribe_cb_t cb, void *userdata)</div><div class="ttdoc">Set the subscription callback that is called when pa_ext_device_manager_subscribe() was called...</div></div> <div class="ttc" id="ext-device-manager_8h_html_ad47670cb7b0deeda6414ce89dc819307"><div class="ttname"><a href="ext-device-manager_8h.html#ad47670cb7b0deeda6414ce89dc819307">pa_ext_device_manager_reorder_devices_for_role</a></div><div class="ttdeci">pa_operation * pa_ext_device_manager_reorder_devices_for_role(pa_context *c, const char *role, const char **devices, pa_context_success_cb_t cb, void *userdata)</div><div class="ttdoc">Prefer a given device in the priority list. </div></div> <div class="ttc" id="structpa__ext__device__manager__info_html_a88b6dc77a6b12f54db712783cb08b3a4"><div class="ttname"><a href="structpa__ext__device__manager__info.html#a88b6dc77a6b12f54db712783cb08b3a4">pa_ext_device_manager_info::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Identifier string of the device. </div><div class="ttdef"><b>Definition:</b> ext-device-manager.h:46</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-manager_8h.html">ext-device-manager.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>