diff options
Diffstat (limited to 'build/doc/html/device_8h.html')
-rw-r--r-- | build/doc/html/device_8h.html | 545 |
1 files changed, 545 insertions, 0 deletions
diff --git a/build/doc/html/device_8h.html b/build/doc/html/device_8h.html new file mode 100644 index 00000000..5be2197c --- /dev/null +++ b/build/doc/html/device_8h.html @@ -0,0 +1,545 @@ +<!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 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&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('device_8h.html','');}); +/* @license-end */ +</script> +<div id="doc-content"> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#define-members">Macros</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">device.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><div class="dynheader"> +Include dependency graph for device.h:</div> +<div class="dyncontent"> +<div class="center"><img src="device_8h__incl.png" border="0" usemap="#device_8h" alt=""/></div> +<map name="device_8h" id="device_8h"> +<area shape="rect" title=" " alt="" coords="214,5,291,32"/> +<area shape="rect" title=" " alt="" coords="5,80,164,107"/> +<area shape="rect" href="core_8h.html" title=" " alt="" coords="581,80,703,107"/> +<area shape="rect" href="global_8h.html" title=" " alt="" coords="291,304,425,331"/> +<area shape="rect" href="properties_8h.html" title=" " alt="" coords="383,379,543,405"/> +<area shape="rect" href="resource_8h.html" title=" " alt="" coords="1080,304,1231,331"/> +<area shape="rect" title=" " alt="" coords="761,379,883,405"/> +<area shape="rect" title=" " alt="" coords="1093,379,1218,405"/> +<area shape="rect" href="client_8h.html" title=" " alt="" coords="837,229,967,256"/> +<area shape="rect" href="introspect_8h.html" title=" " alt="" coords="603,304,761,331"/> +<area shape="rect" href="loop_8h.html" title=" " alt="" coords="426,155,549,181"/> +<area shape="rect" href="factory_8h.html" title=" " alt="" coords="573,155,711,181"/> +<area shape="rect" href="permission_8h.html" title=" " alt="" coords="837,304,1004,331"/> +<area shape="rect" title=" " alt="" coords="405,453,522,480"/> +<area shape="rect" title=" " alt="" coords="587,379,737,405"/> +<area shape="rect" title=" " alt="" coords="467,229,609,256"/> +</map> +</div> +</div><div class="textblock"><div class="dynheader"> +This graph shows which files directly or indirectly include this file:</div> +<div class="dyncontent"> +<div class="center"><img src="device_8h__dep__incl.png" border="0" usemap="#device_8hdep" alt=""/></div> +<map name="device_8hdep" id="device_8hdep"> +<area shape="rect" title=" " alt="" coords="91,5,168,32"/> +<area shape="rect" href="pipewire_8h.html" title=" " alt="" coords="300,80,391,107"/> +<area shape="rect" href="core_8c.html" title=" " alt="" coords="5,155,67,181"/> +<area shape="rect" href="device_8c.html" title=" " alt="" coords="91,155,167,181"/> +<area shape="rect" href="introspect_8c.html" title=" " alt="" coords="192,155,291,181"/> +<area shape="rect" href="loop_8c.html" title=" " alt="" coords="315,155,376,181"/> +<area shape="rect" href="pipewire_8c.html" title=" " alt="" coords="401,155,490,181"/> +<area shape="rect" href="port_8c.html" title=" " alt="" coords="515,155,573,181"/> +<area shape="rect" href="remote_8c.html" title=" " alt="" coords="597,155,677,181"/> +<area shape="rect" href="stream_8c.html" title=" " alt="" coords="702,155,781,181"/> +</map> +</div> +</div> +<p><a href="device_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Data Structures</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__device__events.html">pw_device_events</a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Device events, listen to them with <a class="el" href="device_8c.html#a75fe053e54968fd1e0ed8ae5fa4dffd6">pw_device_add_listener</a>. <a href="structpw__device__events.html#details">More...</a><br /></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:a347b597f50395ecbf0e168579c4062bd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a347b597f50395ecbf0e168579c4062bd">PW_VERSION_DEVICE_EVENTS</a>   0</td></tr> +<tr class="separator:a347b597f50395ecbf0e168579c4062bd"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:a21a361c31aa98c9d22586c16f0a2e6c9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="classpw__device.html">pw_device</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a21a361c31aa98c9d22586c16f0a2e6c9">pw_device_new</a> (struct <a class="el" href="classpw__core.html">pw_core</a> *core, const char *name, struct <a class="el" href="structpw__properties.html">pw_properties</a> *properties, size_t user_data_size)</td></tr> +<tr class="separator:a21a361c31aa98c9d22586c16f0a2e6c9"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a59f9ea4afdc498598a88db50aca08736"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a59f9ea4afdc498598a88db50aca08736">pw_device_register</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device, struct <a class="el" href="classpw__client.html">pw_client</a> *owner, struct <a class="el" href="classpw__global.html">pw_global</a> *parent, struct <a class="el" href="structpw__properties.html">pw_properties</a> *properties)</td></tr> +<tr class="separator:a59f9ea4afdc498598a88db50aca08736"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3f8d111095ba4fee857b469727ef98ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a3f8d111095ba4fee857b469727ef98ae">pw_device_destroy</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device)</td></tr> +<tr class="separator:a3f8d111095ba4fee857b469727ef98ae"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a55816a2a6d70b243c6bd453c2a9b8ed7"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a55816a2a6d70b243c6bd453c2a9b8ed7">pw_device_get_user_data</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device)</td></tr> +<tr class="separator:a55816a2a6d70b243c6bd453c2a9b8ed7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa05bf0f0225e026a8144a29f796dd047"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#aa05bf0f0225e026a8144a29f796dd047">pw_device_set_implementation</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device, struct spa_device *spa_device)</td></tr> +<tr class="memdesc:aa05bf0f0225e026a8144a29f796dd047"><td class="mdescLeft"> </td><td class="mdescRight">Set the device implementation. <a href="#aa05bf0f0225e026a8144a29f796dd047">More...</a><br /></td></tr> +<tr class="separator:aa05bf0f0225e026a8144a29f796dd047"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a20aa2940a6cb2cb75edb589b6c8b1c26"><td class="memItemLeft" align="right" valign="top">struct spa_device * </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a20aa2940a6cb2cb75edb589b6c8b1c26">pw_device_get_implementation</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device)</td></tr> +<tr class="memdesc:a20aa2940a6cb2cb75edb589b6c8b1c26"><td class="mdescLeft"> </td><td class="mdescRight">Get the device implementation. <a href="#a20aa2940a6cb2cb75edb589b6c8b1c26">More...</a><br /></td></tr> +<tr class="separator:a20aa2940a6cb2cb75edb589b6c8b1c26"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a40ab838055972fef57a246c8b807b785"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="classpw__global.html">pw_global</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a40ab838055972fef57a246c8b807b785">pw_device_get_global</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device)</td></tr> +<tr class="memdesc:a40ab838055972fef57a246c8b807b785"><td class="mdescLeft"> </td><td class="mdescRight">Get the global of this device. <a href="#a40ab838055972fef57a246c8b807b785">More...</a><br /></td></tr> +<tr class="separator:a40ab838055972fef57a246c8b807b785"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae67fafae0511fc68a59e9a4d9151228a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#ae67fafae0511fc68a59e9a4d9151228a">pw_device_add_listener</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device, struct spa_hook *listener, const struct <a class="el" href="structpw__device__events.html">pw_device_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr> +<tr class="memdesc:ae67fafae0511fc68a59e9a4d9151228a"><td class="mdescLeft"> </td><td class="mdescRight">Add an event listener. <a href="#ae67fafae0511fc68a59e9a4d9151228a">More...</a><br /></td></tr> +<tr class="separator:ae67fafae0511fc68a59e9a4d9151228a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9baa5c60cf42f40b0cd72202fd7d8b38"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a9baa5c60cf42f40b0cd72202fd7d8b38">pw_device_update_properties</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device, const struct spa_dict *dict)</td></tr> +<tr class="separator:a9baa5c60cf42f40b0cd72202fd7d8b38"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8cf6f6214ce3b66ff989a1ca293a7fea"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structpw__properties.html">pw_properties</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#a8cf6f6214ce3b66ff989a1ca293a7fea">pw_device_get_properties</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device)</td></tr> +<tr class="separator:a8cf6f6214ce3b66ff989a1ca293a7fea"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aab7c989b904e05cd544c47d321650edb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="device_8h.html#aab7c989b904e05cd544c47d321650edb">pw_device_for_each_param</a> (struct <a class="el" href="classpw__device.html">pw_device</a> *device, int seq, uint32_t param_id, uint32_t index, uint32_t max, const struct spa_pod *filter, int(*callback)(void *<a class="el" href="structdata.html">data</a>, int seq, uint32_t id, uint32_t index, uint32_t next, struct spa_pod *<a class="el" href="structparam.html">param</a>), void *<a class="el" href="structdata.html">data</a>)</td></tr> +<tr class="separator:aab7c989b904e05cd544c47d321650edb"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a id="a347b597f50395ecbf0e168579c4062bd"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a347b597f50395ecbf0e168579c4062bd">◆ </a></span>PW_VERSION_DEVICE_EVENTS</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PW_VERSION_DEVICE_EVENTS   0</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a id="ae67fafae0511fc68a59e9a4d9151228a"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ae67fafae0511fc68a59e9a4d9151228a">◆ </a></span>pw_device_add_listener()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void pw_device_add_listener </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct spa_hook * </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__device__events.html">pw_device_events</a> * </td> + <td class="paramname"><em>events</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void * </td> + <td class="paramname"><em>data</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Add an event listener. </p> + +</div> +</div> +<a id="a3f8d111095ba4fee857b469727ef98ae"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a3f8d111095ba4fee857b469727ef98ae">◆ </a></span>pw_device_destroy()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void pw_device_destroy </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="structnode__data.html#ab9e591c989244c8029a263abcb1aa521">node_data::link</a>, <a class="el" href="device_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="structnode__data.html#a53d2dde4ab1c2793ad44094568a56607">node_data::node</a>, <a class="el" href="classpw__global.html#a57e86d7712b658ee7d2e0f73cfcb9db5">pw_global::pw_global_destroy()</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="classpw__node.html#a797514cde71af23b5a27744d951ca83a">pw_node::pw_node_destroy()</a>, and <a class="el" href="structpw__properties.html#a6473c3fdc688733f1db2e8d645ba94f4">pw_properties::pw_properties_free()</a>.</p> + +<p class="reference">Referenced by <a class="el" href="classpw__core.html#a3fe8a902e97223d11c0e8e4640c16379">pw_core::pw_core_destroy()</a>.</p> +<div class="dynheader"> +Here is the caller graph for this function:</div> +<div class="dyncontent"> +<div class="center"><img src="device_8h_a3f8d111095ba4fee857b469727ef98ae_icgraph.png" border="0" usemap="#device_8h_a3f8d111095ba4fee857b469727ef98ae_icgraph" alt=""/></div> +<map name="device_8h_a3f8d111095ba4fee857b469727ef98ae_icgraph" id="device_8h_a3f8d111095ba4fee857b469727ef98ae_icgraph"> +<area shape="rect" title=" " alt="" coords="475,5,621,32"/> +<area shape="rect" href="classpw__core.html#a3fe8a902e97223d11c0e8e4640c16379" title="Destroy a core object." alt="" coords="232,5,427,32"/> +<area shape="rect" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614" title=" " alt="" coords="5,5,184,32"/> +</map> +</div> + +</div> +</div> +<a id="aab7c989b904e05cd544c47d321650edb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aab7c989b904e05cd544c47d321650edb">◆ </a></span>pw_device_for_each_param()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int pw_device_for_each_param </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>seq</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>param_id</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>index</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>max</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const struct spa_pod * </td> + <td class="paramname"><em>filter</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int(*)(void *<a class="el" href="structdata.html">data</a>, int seq, uint32_t id, uint32_t index, uint32_t next, struct spa_pod *<a class="el" href="structparam.html">param</a>) </td> + <td class="paramname"><em>callback</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void * </td> + <td class="paramname"><em>data</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="structresult__device__params__data.html#a485ab9bc6d5dbaf4285876053b8f1902">result_device_params_data::callback</a>, and <a class="el" href="structresult__device__params__data.html#af601dbb7d11417aae89f45c1749ced54">result_device_params_data::data</a>.</p> + +</div> +</div> +<a id="a40ab838055972fef57a246c8b807b785"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a40ab838055972fef57a246c8b807b785">◆ </a></span>pw_device_get_global()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct <a class="el" href="classpw__global.html">pw_global</a>* pw_device_get_global </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the global of this device. </p> + +</div> +</div> +<a id="a20aa2940a6cb2cb75edb589b6c8b1c26"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a20aa2940a6cb2cb75edb589b6c8b1c26">◆ </a></span>pw_device_get_implementation()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct spa_device* pw_device_get_implementation </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the device implementation. </p> + +</div> +</div> +<a id="a8cf6f6214ce3b66ff989a1ca293a7fea"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a8cf6f6214ce3b66ff989a1ca293a7fea">◆ </a></span>pw_device_get_properties()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const struct <a class="el" href="structpw__properties.html">pw_properties</a>* pw_device_get_properties </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a55816a2a6d70b243c6bd453c2a9b8ed7"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a55816a2a6d70b243c6bd453c2a9b8ed7">◆ </a></span>pw_device_get_user_data()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void* pw_device_get_user_data </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a21a361c31aa98c9d22586c16f0a2e6c9"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a21a361c31aa98c9d22586c16f0a2e6c9">◆ </a></span>pw_device_new()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct <a class="el" href="classpw__device.html">pw_device</a>* pw_device_new </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__core.html">pw_core</a> * </td> + <td class="paramname"><em>core</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>name</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct <a class="el" href="structpw__properties.html">pw_properties</a> * </td> + <td class="paramname"><em>properties</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>user_data_size</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="structpw__properties.html#a70aa5816bde60f5511f2308971794881">pw_properties::dict</a>, <a class="el" href="device_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structpw__properties.html#a6473c3fdc688733f1db2e8d645ba94f4">pw_properties::pw_properties_free()</a>, <a class="el" href="structpw__properties.html#aea9bdd771760e44ca7d77b5113297610">pw_properties::pw_properties_new()</a>, and <a class="el" href="structimpl.html#a6eaec9ea671abe6434946657ac2f1bae">impl::this</a>.</p> + +</div> +</div> +<a id="a59f9ea4afdc498598a88db50aca08736"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a59f9ea4afdc498598a88db50aca08736">◆ </a></span>pw_device_register()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int pw_device_register </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> * </td> + <td class="paramname"><em>owner</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct <a class="el" href="classpw__global.html">pw_global</a> * </td> + <td class="paramname"><em>parent</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct <a class="el" href="structpw__properties.html">pw_properties</a> * </td> + <td class="paramname"><em>properties</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="classpw__global.html#a70cf2ad61f1f9b7c1cb40a1ea6e73ce5">pw_global::pw_global_new()</a>, <a class="el" href="keys_8h.html#a3815f163f7283a2d979daf59acb204e2">PW_KEY_DEVICE_NAME</a>, <a class="el" href="keys_8h.html#aed255c860a65813289cb4c4620243da6">PW_KEY_MEDIA_CLASS</a>, <a class="el" href="structpw__properties.html#aef040055887634f636bb26594091c31c">pw_properties::pw_properties_get()</a>, <a class="el" href="structpw__properties.html#aea9bdd771760e44ca7d77b5113297610">pw_properties::pw_properties_new()</a>, <a class="el" href="structpw__properties.html#a30bb01472ad7feccd59e8b589e2896ee">pw_properties::pw_properties_set()</a>, <a class="el" href="type_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba86ea242f36a533c30c5c912640f17f56">PW_TYPE_INTERFACE_Device</a>, and <a class="el" href="interfaces_8h.html#aac886b23546521a8e673ecd5a5ac5ba2">PW_VERSION_DEVICE_PROXY</a>.</p> + +</div> +</div> +<a id="aa05bf0f0225e026a8144a29f796dd047"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa05bf0f0225e026a8144a29f796dd047">◆ </a></span>pw_device_set_implementation()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int pw_device_set_implementation </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct spa_device * </td> + <td class="paramname"><em>spa_device</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Set the device implementation. </p> + +<p class="reference">References <a class="el" href="device_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, and <a class="el" href="classpw__log.html#a995a5e0ef414e9246fbf2ad56b0ce281">pw_log::pw_log_error</a>.</p> + +</div> +</div> +<a id="a9baa5c60cf42f40b0cd72202fd7d8b38"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9baa5c60cf42f40b0cd72202fd7d8b38">◆ </a></span>pw_device_update_properties()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int pw_device_update_properties </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__device.html">pw_device</a> * </td> + <td class="paramname"><em>device</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const struct spa_dict * </td> + <td class="paramname"><em>dict</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</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="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> |