summaryrefslogtreecommitdiff
path: root/device_8h_source.html
blob: 6d6c2415f7051b78a73a2565214eabd8dc700351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PipeWire: device.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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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">PipeWire
   &#160;<span id="projectnumber">0.2.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('device_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">device.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="device_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="comment">/* PipeWire</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright © 2018 Wim Taymans</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"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * copy of this software and associated documentation files (the &quot;Software&quot;),</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * to deal in the Software without restriction, including without limitation</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * The above copyright notice and this permission notice (including the next</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * paragraph) shall be included in all copies or substantial portions of the</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DEALINGS IN THE SOFTWARE.</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">#ifndef PIPEWIRE_DEVICE_H</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define PIPEWIRE_DEVICE_H</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__device.html">pw_device</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &lt;spa/monitor/device.h&gt;</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="core_8h.html">pipewire/core.h</a>&gt;</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="global_8h.html">pipewire/global.h</a>&gt;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="properties_8h.html">pipewire/properties.h</a>&gt;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="resource_8h.html">pipewire/resource.h</a>&gt;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structpw__device__events.html">   53</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structpw__device__events.html">pw_device_events</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="device_8h.html#a347b597f50395ecbf0e168579c4062bd">   54</a></span>&#160;<span class="preprocessor">#define PW_VERSION_DEVICE_EVENTS        0</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structpw__device__events.html#adbe2ffa9bd2bcf75f82ce7cfd99ebb29">   55</a></span>&#160;        uint32_t <a class="code" href="structpw__device__events.html#adbe2ffa9bd2bcf75f82ce7cfd99ebb29">version</a>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structpw__device__events.html#aee9850d2f2fdd7c4200367a6ef22b59d">   58</a></span>&#160;        void (*<a class="code" href="structpw__device__events.html#aee9850d2f2fdd7c4200367a6ef22b59d">destroy</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structpw__device__events.html#a74b3ac12bc52558b17546d7fd4c587d4">   60</a></span>&#160;        void (*<a class="code" href="structpw__device__events.html#a74b3ac12bc52558b17546d7fd4c587d4">free</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structpw__device__events.html#a122c907745662e64355593f5cd60518e">   63</a></span>&#160;        void (*<a class="code" href="structpw__device__events.html#a122c907745662e64355593f5cd60518e">info_changed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__device__info.html">pw_device_info</a> *info);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;};</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__device.html">pw_device</a> *<a class="code" href="device_8h.html#a21a361c31aa98c9d22586c16f0a2e6c9">pw_device_new</a>(<span class="keyword">struct</span> <a class="code" href="classpw__core.html">pw_core</a> *core,</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;                                <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;                                <span class="keyword">struct</span> <a class="code" href="structpw__properties.html">pw_properties</a> *properties,</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                                <span class="keywordtype">size_t</span> user_data_size);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keywordtype">int</span> <a class="code" href="device_8h.html#a59f9ea4afdc498598a88db50aca08736">pw_device_register</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device,</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;                       <span class="keyword">struct</span> <a class="code" href="classpw__client.html">pw_client</a> *owner,</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;                       <span class="keyword">struct</span> <a class="code" href="classpw__global.html">pw_global</a> *parent,</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                       <span class="keyword">struct</span> <a class="code" href="structpw__properties.html">pw_properties</a> *properties);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keywordtype">void</span> <a class="code" href="device_8h.html#a3f8d111095ba4fee857b469727ef98ae">pw_device_destroy</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keywordtype">void</span> *<a class="code" href="device_8h.html#a55816a2a6d70b243c6bd453c2a9b8ed7">pw_device_get_user_data</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keywordtype">int</span> <a class="code" href="device_8h.html#aa05bf0f0225e026a8144a29f796dd047">pw_device_set_implementation</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device, <span class="keyword">struct</span> spa_device *spa_device);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">struct </span>spa_device *<a class="code" href="device_8h.html#a20aa2940a6cb2cb75edb589b6c8b1c26">pw_device_get_implementation</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__global.html">pw_global</a> *<a class="code" href="device_8h.html#a40ab838055972fef57a246c8b807b785">pw_device_get_global</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keywordtype">void</span> <a class="code" href="device_8h.html#ae67fafae0511fc68a59e9a4d9151228a">pw_device_add_listener</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device,</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;                            <span class="keyword">struct</span> spa_hook *listener,</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;                            <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structpw__device__events.html">pw_device_events</a> *events,</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                            <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="keywordtype">int</span> <a class="code" href="device_8h.html#a9baa5c60cf42f40b0cd72202fd7d8b38">pw_device_update_properties</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device, <span class="keyword">const</span> <span class="keyword">struct</span> spa_dict *dict);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__properties.html">pw_properties</a> *<a class="code" href="device_8h.html#a8cf6f6214ce3b66ff989a1ca293a7fea">pw_device_get_properties</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device);</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keywordtype">int</span> <a class="code" href="device_8h.html#aab7c989b904e05cd544c47d321650edb">pw_device_for_each_param</a>(<span class="keyword">struct</span> <a class="code" href="classpw__device.html">pw_device</a> *device,</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                             <span class="keywordtype">int</span> seq, uint32_t param_id,</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;                             uint32_t index, uint32_t max,</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                             <span class="keyword">const</span> <span class="keyword">struct</span> spa_pod *filter,</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                             <span class="keywordtype">int</span> (*callback) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keywordtype">int</span> seq,</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;                                              uint32_t <span class="keywordtype">id</span>, uint32_t index, uint32_t next,</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                                              <span class="keyword">struct</span> spa_pod *<a class="code" href="structparam.html">param</a>),</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;                             <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;}</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* PIPEWIRE_DEVICE_H */</span><span class="preprocessor"></span></div><div class="ttc" id="structpw__properties_html"><div class="ttname"><a href="structpw__properties.html">pw_properties</a></div><div class="ttdoc">A collection of key/value pairs.</div><div class="ttdef"><b>Definition:</b> properties.h:43</div></div>
<div class="ttc" id="structpw__device__events_html_a122c907745662e64355593f5cd60518e"><div class="ttname"><a href="structpw__device__events.html#a122c907745662e64355593f5cd60518e">pw_device_events::info_changed</a></div><div class="ttdeci">void(* info_changed)(void *data, const struct pw_device_info *info)</div><div class="ttdoc">the device info changed</div><div class="ttdef"><b>Definition:</b> device.h:63</div></div>
<div class="ttc" id="structpw__device__events_html_adbe2ffa9bd2bcf75f82ce7cfd99ebb29"><div class="ttname"><a href="structpw__device__events.html#adbe2ffa9bd2bcf75f82ce7cfd99ebb29">pw_device_events::version</a></div><div class="ttdeci">uint32_t version</div><div class="ttdef"><b>Definition:</b> device.h:55</div></div>
<div class="ttc" id="device_8h_html_ae67fafae0511fc68a59e9a4d9151228a"><div class="ttname"><a href="device_8h.html#ae67fafae0511fc68a59e9a4d9151228a">pw_device_add_listener</a></div><div class="ttdeci">void pw_device_add_listener(struct pw_device *device, struct spa_hook *listener, const struct pw_device_events *events, void *data)</div><div class="ttdoc">Add an event listener.</div><div class="ttdef"><b>Definition:</b> device.c:616</div></div>
<div class="ttc" id="device_8h_html_a21a361c31aa98c9d22586c16f0a2e6c9"><div class="ttname"><a href="device_8h.html#a21a361c31aa98c9d22586c16f0a2e6c9">pw_device_new</a></div><div class="ttdeci">struct pw_device * pw_device_new(struct pw_core *core, const char *name, struct pw_properties *properties, size_t user_data_size)</div><div class="ttdef"><b>Definition:</b> device.c:77</div></div>
<div class="ttc" id="device_8h_html_a55816a2a6d70b243c6bd453c2a9b8ed7"><div class="ttname"><a href="device_8h.html#a55816a2a6d70b243c6bd453c2a9b8ed7">pw_device_get_user_data</a></div><div class="ttdeci">void * pw_device_get_user_data(struct pw_device *device)</div><div class="ttdef"><b>Definition:</b> device.c:604</div></div>
<div class="ttc" id="core_8h_html"><div class="ttname"><a href="core_8h.html">core.h</a></div></div>
<div class="ttc" id="classpw__core_html"><div class="ttname"><a href="classpw__core.html">pw_core</a></div><div class="ttdoc">the core PipeWire object</div></div>
<div class="ttc" id="global_8h_html"><div class="ttname"><a href="global_8h.html">global.h</a></div></div>
<div class="ttc" id="device_8h_html_a59f9ea4afdc498598a88db50aca08736"><div class="ttname"><a href="device_8h.html#a59f9ea4afdc498598a88db50aca08736">pw_device_register</a></div><div class="ttdeci">int pw_device_register(struct pw_device *device, struct pw_client *owner, struct pw_global *parent, struct pw_properties *properties)</div><div class="ttdef"><b>Definition:</b> device.c:356</div></div>
<div class="ttc" id="structpw__device__info_html"><div class="ttname"><a href="structpw__device__info.html">pw_device_info</a></div><div class="ttdoc">The device information.</div><div class="ttdef"><b>Definition:</b> introspect.h:129</div></div>
<div class="ttc" id="device_8h_html_a3f8d111095ba4fee857b469727ef98ae"><div class="ttname"><a href="device_8h.html#a3f8d111095ba4fee857b469727ef98ae">pw_device_destroy</a></div><div class="ttdeci">void pw_device_destroy(struct pw_device *device)</div><div class="ttdef"><b>Definition:</b> device.c:128</div></div>
<div class="ttc" id="device_8h_html_aab7c989b904e05cd544c47d321650edb"><div class="ttname"><a href="device_8h.html#aab7c989b904e05cd544c47d321650edb">pw_device_for_each_param</a></div><div class="ttdeci">int pw_device_for_each_param(struct pw_device *device, int seq, uint32_t param_id, uint32_t index, uint32_t max, const struct spa_pod *filter, int(*callback)(void *data, int seq, uint32_t id, uint32_t index, uint32_t next, struct spa_pod *param), void *data)</div><div class="ttdef"><b>Definition:</b> device.c:191</div></div>
<div class="ttc" id="structpw__device__events_html_aee9850d2f2fdd7c4200367a6ef22b59d"><div class="ttname"><a href="structpw__device__events.html#aee9850d2f2fdd7c4200367a6ef22b59d">pw_device_events::destroy</a></div><div class="ttdeci">void(* destroy)(void *data)</div><div class="ttdoc">the device is destroyed</div><div class="ttdef"><b>Definition:</b> device.h:58</div></div>
<div class="ttc" id="resource_8h_html"><div class="ttname"><a href="resource_8h.html">resource.h</a></div></div>
<div class="ttc" id="device_8h_html_a20aa2940a6cb2cb75edb589b6c8b1c26"><div class="ttname"><a href="device_8h.html#a20aa2940a6cb2cb75edb589b6c8b1c26">pw_device_get_implementation</a></div><div class="ttdeci">struct spa_device * pw_device_get_implementation(struct pw_device *device)</div><div class="ttdoc">Get the device implementation.</div><div class="ttdef"><b>Definition:</b> device.c:584</div></div>
<div class="ttc" id="classpw__client_html"><div class="ttname"><a href="classpw__client.html">pw_client</a></div><div class="ttdoc">PipeWire client object class.</div></div>
<div class="ttc" id="classpw__device_html"><div class="ttname"><a href="classpw__device.html">pw_device</a></div><div class="ttdoc">PipeWire device interface.</div></div>
<div class="ttc" id="structparam_html"><div class="ttname"><a href="structparam.html">param</a></div><div class="ttdef"><b>Definition:</b> stream.c:75</div></div>
<div class="ttc" id="device_8h_html_aa05bf0f0225e026a8144a29f796dd047"><div class="ttname"><a href="device_8h.html#aa05bf0f0225e026a8144a29f796dd047">pw_device_set_implementation</a></div><div class="ttdeci">int pw_device_set_implementation(struct pw_device *device, struct spa_device *spa_device)</div><div class="ttdoc">Set the device implementation.</div><div class="ttdef"><b>Definition:</b> device.c:567</div></div>
<div class="ttc" id="properties_8h_html"><div class="ttname"><a href="properties_8h.html">properties.h</a></div></div>
<div class="ttc" id="device_8h_html_a8cf6f6214ce3b66ff989a1ca293a7fea"><div class="ttname"><a href="device_8h.html#a8cf6f6214ce3b66ff989a1ca293a7fea">pw_device_get_properties</a></div><div class="ttdeci">const struct pw_properties * pw_device_get_properties(struct pw_device *device)</div><div class="ttdef"><b>Definition:</b> device.c:590</div></div>
<div class="ttc" id="classpw__global_html"><div class="ttname"><a href="classpw__global.html">pw_global</a></div><div class="ttdoc">A global object visible to remote clients.</div></div>
<div class="ttc" id="device_8h_html_a9baa5c60cf42f40b0cd72202fd7d8b38"><div class="ttname"><a href="device_8h.html#a9baa5c60cf42f40b0cd72202fd7d8b38">pw_device_update_properties</a></div><div class="ttdeci">int pw_device_update_properties(struct pw_device *device, const struct spa_dict *dict)</div><div class="ttdef"><b>Definition:</b> device.c:596</div></div>
<div class="ttc" id="structpw__device__events_html"><div class="ttname"><a href="structpw__device__events.html">pw_device_events</a></div><div class="ttdoc">Device events, listen to them with pw_device_add_listener.</div><div class="ttdef"><b>Definition:</b> device.h:53</div></div>
<div class="ttc" id="structpw__device__events_html_a74b3ac12bc52558b17546d7fd4c587d4"><div class="ttname"><a href="structpw__device__events.html#a74b3ac12bc52558b17546d7fd4c587d4">pw_device_events::free</a></div><div class="ttdeci">void(* free)(void *data)</div><div class="ttdoc">the device is freed</div><div class="ttdef"><b>Definition:</b> device.h:60</div></div>
<div class="ttc" id="structdata_html"><div class="ttname"><a href="structdata.html">data</a></div><div class="ttdef"><b>Definition:</b> stream.c:69</div></div>
<div class="ttc" id="device_8h_html_a40ab838055972fef57a246c8b807b785"><div class="ttname"><a href="device_8h.html#a40ab838055972fef57a246c8b807b785">pw_device_get_global</a></div><div class="ttdeci">struct pw_global * pw_device_get_global(struct pw_device *device)</div><div class="ttdoc">Get the global of this device.</div><div class="ttdef"><b>Definition:</b> device.c:610</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_7129a66c92fe7beef816c2ac906ef0b3.html">pipewire</a></li><li class="navelem"><a class="el" href="device_8h.html">device.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.15 </li>
  </ul>
</div>
</body>
</html>