summaryrefslogtreecommitdiff
path: root/build/doc/html/data-loop_8c.html
blob: c9fb4cce45e6af963ac414d8e1700f537e9ccb88 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!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: data-loop.c File Reference</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('data-loop_8c.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">data-loop.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for data-loop.c:</div>
<div class="dyncontent">
<div class="center"><img src="data-loop_8c__incl.png" border="0" usemap="#data-loop_8c" alt=""/></div>
<map name="data-loop_8c" id="data-loop_8c">
<area shape="rect"  title=" " alt="" coords="285,5,380,32"/>
<area shape="rect"  title=" " alt="" coords="5,80,89,107"/>
<area shape="rect"  title=" " alt="" coords="113,80,181,107"/>
<area shape="rect"  title=" " alt="" coords="205,80,321,107"/>
<area shape="rect"  href="log_8h.html" title=" " alt="" coords="346,80,461,107"/>
<area shape="rect"  href="data-loop_8h.html" title=" " alt="" coords="485,80,641,107"/>
<area shape="rect"  title=" " alt="" coords="665,80,805,107"/>
<area shape="rect"  title=" " alt="" coords="265,155,400,181"/>
<area shape="rect"  title=" " alt="" coords="425,155,550,181"/>
<area shape="rect"  href="loop_8h.html" title=" " alt="" coords="574,155,697,181"/>
<area shape="rect"  href="properties_8h.html" title=" " alt="" coords="654,229,814,256"/>
<area shape="rect"  title=" " alt="" coords="487,229,629,256"/>
<area shape="rect"  title=" " alt="" coords="675,304,793,331"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a31fb97e55669c3673f4912ff08fc25f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data-loop_8c.html#a31fb97e55669c3673f4912ff08fc25f5">pw_data_loop_add_listener</a> (struct <a class="el" href="classpw__data__loop.html">pw_data_loop</a> *loop, struct spa_hook *listener, const struct <a class="el" href="structpw__data__loop__events.html">pw_data_loop_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="memdesc:a31fb97e55669c3673f4912ff08fc25f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an event listener to loop.  <a href="#a31fb97e55669c3673f4912ff08fc25f5">More...</a><br /></td></tr>
<tr class="separator:a31fb97e55669c3673f4912ff08fc25f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6761f26b6c77a8f5ada552077f3fbd2c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__loop.html">pw_loop</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data-loop_8c.html#a6761f26b6c77a8f5ada552077f3fbd2c">pw_data_loop_get_loop</a> (struct <a class="el" href="classpw__data__loop.html">pw_data_loop</a> *loop)</td></tr>
<tr class="memdesc:a6761f26b6c77a8f5ada552077f3fbd2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the loop implementation of this data loop.  <a href="#a6761f26b6c77a8f5ada552077f3fbd2c">More...</a><br /></td></tr>
<tr class="separator:a6761f26b6c77a8f5ada552077f3fbd2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a31fb97e55669c3673f4912ff08fc25f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31fb97e55669c3673f4912ff08fc25f5">&#9670;&nbsp;</a></span>pw_data_loop_add_listener()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pw_data_loop_add_listener </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__data__loop.html">pw_data_loop</a> *&#160;</td>
          <td class="paramname"><em>loop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct spa_hook *&#160;</td>
          <td class="paramname"><em>listener</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpw__data__loop__events.html">pw_data_loop_events</a> *&#160;</td>
          <td class="paramname"><em>events</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add an event listener to loop. </p>

</div>
</div>
<a id="a6761f26b6c77a8f5ada552077f3fbd2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6761f26b6c77a8f5ada552077f3fbd2c">&#9670;&nbsp;</a></span>pw_data_loop_get_loop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpw__loop.html">pw_loop</a>* pw_data_loop_get_loop </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__data__loop.html">pw_data_loop</a> *&#160;</td>
          <td class="paramname"><em>loop</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the loop implementation of this data loop. </p>

<p class="reference">References <a class="el" href="structpw__loop.html#a4624741580712c167c17bd9242be003f">pw_loop::loop</a>.</p>

<p class="reference">Referenced by <a class="el" href="classpw__core.html#a149d054319a8cd3fb6206b233d2476cd">pw_core::pw_core_new()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="data-loop_8c_a6761f26b6c77a8f5ada552077f3fbd2c_icgraph.png" border="0" usemap="#data-loop_8c_a6761f26b6c77a8f5ada552077f3fbd2c_icgraph" alt=""/></div>
<map name="data-loop_8c_a6761f26b6c77a8f5ada552077f3fbd2c_icgraph" id="data-loop_8c_a6761f26b6c77a8f5ada552077f3fbd2c_icgraph">
<area shape="rect"  title="Get the loop implementation of this data loop." alt="" coords="452,5,627,32"/>
<area shape="rect"  href="classpw__core.html#a149d054319a8cd3fb6206b233d2476cd" title="Create a new core object." alt="" coords="232,5,404,32"/>
<area shape="rect"  href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614" title=" " alt="" coords="5,5,184,32"/>
</map>
</div>

</div>
</div>
</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="data-loop_8c.html">data-loop.c</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>