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
|
<!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: pw_device_proxy_methods Struct 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&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
 <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&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&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpw__device__proxy__methods.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">pw_device_proxy_methods Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Device methods.
<a href="structpw__device__proxy__methods.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:afd142c4bd61f8f833c6abaadff439eec"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__device__proxy__methods.html#afd142c4bd61f8f833c6abaadff439eec">version</a></td></tr>
<tr class="separator:afd142c4bd61f8f833c6abaadff439eec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7fd45a182106cd69cdcb09ead5ba468d"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__device__proxy__methods.html#a7fd45a182106cd69cdcb09ead5ba468d">add_listener</a> )(void *object, struct spa_hook *listener, const struct <a class="el" href="structpw__device__proxy__events.html">pw_device_proxy_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="separator:a7fd45a182106cd69cdcb09ead5ba468d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6f1c70b90a100097b651ab405a3568f"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__device__proxy__methods.html#aa6f1c70b90a100097b651ab405a3568f">enum_params</a> )(void *object, int seq, uint32_t id, uint32_t start, uint32_t num, const struct spa_pod *filter)</td></tr>
<tr class="memdesc:aa6f1c70b90a100097b651ab405a3568f"><td class="mdescLeft"> </td><td class="mdescRight">Enumerate device parameters. <a href="#aa6f1c70b90a100097b651ab405a3568f">More...</a><br /></td></tr>
<tr class="separator:aa6f1c70b90a100097b651ab405a3568f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acdcc41d1b923a40432cf9970b8d95b88"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__device__proxy__methods.html#acdcc41d1b923a40432cf9970b8d95b88">set_param</a> )(void *object, uint32_t id, uint32_t flags, const struct spa_pod *<a class="el" href="structparam.html">param</a>)</td></tr>
<tr class="memdesc:acdcc41d1b923a40432cf9970b8d95b88"><td class="mdescLeft"> </td><td class="mdescRight">Set a parameter on the device. <a href="#acdcc41d1b923a40432cf9970b8d95b88">More...</a><br /></td></tr>
<tr class="separator:acdcc41d1b923a40432cf9970b8d95b88"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Device methods. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a7fd45a182106cd69cdcb09ead5ba468d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fd45a182106cd69cdcb09ead5ba468d">◆ </a></span>add_listener</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* pw_device_proxy_methods::add_listener) (void *object, struct spa_hook *listener, const struct <a class="el" href="structpw__device__proxy__events.html">pw_device_proxy_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa6f1c70b90a100097b651ab405a3568f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6f1c70b90a100097b651ab405a3568f">◆ </a></span>enum_params</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* pw_device_proxy_methods::enum_params) (void *object, int seq, uint32_t id, uint32_t start, uint32_t num, const struct spa_pod *filter)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumerate device parameters. </p>
<p>Start enumeration of device parameters. For each param, a param event will be emited.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">seq</td><td>a sequence number to place in the reply </td></tr>
<tr><td class="paramname">id</td><td>the parameter id to enum or SPA_ID_INVALID for all </td></tr>
<tr><td class="paramname">start</td><td>the start index or 0 for the first param </td></tr>
<tr><td class="paramname">num</td><td>the maximum number of params to retrieve </td></tr>
<tr><td class="paramname">filter</td><td>a param filter or NULL </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="acdcc41d1b923a40432cf9970b8d95b88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdcc41d1b923a40432cf9970b8d95b88">◆ </a></span>set_param</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* pw_device_proxy_methods::set_param) (void *object, uint32_t id, uint32_t flags, const struct spa_pod *<a class="el" href="structparam.html">param</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Set a parameter on the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>the parameter id to set </td></tr>
<tr><td class="paramname">flags</td><td>extra parameter flags </td></tr>
<tr><td class="paramname">param</td><td>the parameter to set </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="afd142c4bd61f8f833c6abaadff439eec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd142c4bd61f8f833c6abaadff439eec">◆ </a></span>version</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t pw_device_proxy_methods::version</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="interfaces_8h_source.html">interfaces.h</a></li>
</ul>
</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="structpw__device__proxy__methods.html">pw_device_proxy_methods</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>
|