diff options
Diffstat (limited to 'build/doc/html/stream_8c.html')
-rw-r--r-- | build/doc/html/stream_8c.html | 1042 |
1 files changed, 1042 insertions, 0 deletions
diff --git a/build/doc/html/stream_8c.html b/build/doc/html/stream_8c.html new file mode 100644 index 00000000..97ae162d --- /dev/null +++ b/build/doc/html/stream_8c.html @@ -0,0 +1,1042 @@ +<!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: stream.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&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('stream_8c.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">stream.c File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><div class="dynheader"> +Include dependency graph for stream.c:</div> +<div class="dyncontent"> +<div class="center"><img src="stream_8c__incl.png" border="0" usemap="#stream_8c" alt=""/></div> +<map name="stream_8c" id="stream_8c"> +<area shape="rect" title=" " alt="" coords="1986,5,2065,32"/> +<area shape="rect" title=" " alt="" coords="222,453,290,480"/> +<area shape="rect" title=" " alt="" coords="1321,80,1388,107"/> +<area shape="rect" title=" " alt="" coords="1413,80,1481,107"/> +<area shape="rect" title=" " alt="" coords="1505,80,1607,107"/> +<area shape="rect" title=" " alt="" coords="1632,80,1696,107"/> +<area shape="rect" title=" " alt="" coords="1721,80,1855,107"/> +<area shape="rect" title=" " alt="" coords="1879,80,2022,107"/> +<area shape="rect" title=" " alt="" coords="2047,80,2156,107"/> +<area shape="rect" title=" " alt="" coords="2180,80,2305,107"/> +<area shape="rect" title=" " alt="" coords="2329,80,2484,107"/> +<area shape="rect" title=" " alt="" coords="2509,80,2627,107"/> +<area shape="rect" title=" " alt="" coords="2652,80,2807,107"/> +<area shape="rect" title=" " alt="" coords="2831,80,2980,107"/> +<area shape="rect" title=" " alt="" coords="3004,80,3145,107"/> +<area shape="rect" title=" " alt="" coords="3170,80,3299,107"/> +<area shape="rect" href="pipewire_8h.html" title=" " alt="" coords="1146,80,1297,107"/> +<area shape="rect" href="stream_8h.html" title=" " alt="" coords="106,155,246,181"/> +<area shape="rect" title=" " alt="" coords="3323,80,3463,107"/> +<area shape="rect" title=" " alt="" coords="908,155,1063,181"/> +<area shape="rect" href="client_8h.html" title=" " alt="" coords="1789,304,1920,331"/> +<area shape="rect" href="core_8h.html" title=" " alt="" coords="1580,379,1703,405"/> +<area shape="rect" href="introspect_8h.html" title=" " alt="" coords="1215,453,1374,480"/> +<area shape="rect" href="properties_8h.html" title=" " alt="" coords="1916,603,2076,629"/> +<area shape="rect" href="loop_8h.html" title=" " alt="" coords="2465,453,2588,480"/> +<area shape="rect" href="factory_8h.html" title=" " alt="" coords="1903,453,2041,480"/> +<area shape="rect" href="resource_8h.html" title=" " alt="" coords="1626,528,1777,555"/> +<area shape="rect" href="device_8h.html" title=" " alt="" coords="2082,304,2219,331"/> +<area shape="rect" href="interfaces_8h.html" title=" " alt="" coords="511,379,670,405"/> +<area shape="rect" href="proxy_8h.html" title=" " alt="" coords="366,453,495,480"/> +<area shape="rect" href="keys_8h.html" title=" " alt="" coords="1087,155,1212,181"/> +<area shape="rect" href="link_8h.html" title=" " alt="" coords="765,155,883,181"/> +<area shape="rect" href="port_8h.html" title=" " alt="" coords="1179,229,1299,256"/> +<area shape="rect" href="node_8h.html" title=" " alt="" coords="1283,304,1410,331"/> +<area shape="rect" href="log_8h.html" title=" " alt="" coords="1236,155,1351,181"/> +<area shape="rect" href="main-loop_8h.html" title=" " alt="" coords="2567,379,2727,405"/> +<area shape="rect" href="module_8h.html" title=" " alt="" coords="806,304,949,331"/> +<area shape="rect" href="remote_8h.html" title=" " alt="" coords="561,229,703,256"/> +<area shape="rect" href="thread-loop_8h.html" title=" " alt="" coords="2322,229,2491,256"/> +<area shape="rect" href="type_8h.html" title=" " alt="" coords="1375,155,1497,181"/> +<area shape="rect" href="utils_8h.html" title=" " alt="" coords="824,229,947,256"/> +<area shape="rect" title=" " alt="" coords="1522,155,1665,181"/> +<area shape="rect" title=" " alt="" coords="873,603,999,629"/> +<area shape="rect" href="global_8h.html" title=" " alt="" coords="1982,528,2117,555"/> +<area shape="rect" href="permission_8h.html" title=" " alt="" coords="1025,453,1191,480"/> +<area shape="rect" title=" " alt="" coords="1047,528,1169,555"/> +<area shape="rect" title=" " alt="" coords="428,528,577,555"/> +<area shape="rect" title=" " alt="" coords="2130,379,2289,405"/> +<area shape="rect" title=" " alt="" coords="672,453,747,480"/> +<area shape="rect" title=" " alt="" coords="5,229,147,256"/> +</map> +</div> +</div><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="structbuffer.html">buffer</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structqueue.html">queue</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structdata.html">data</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structparam.html">param</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structcontrol.html">control</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structprops.html">props</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structstream.html">stream</a></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:a47f2e62c0dbebc787052c165afcada0e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>   "stream"</td></tr> +<tr class="separator:a47f2e62c0dbebc787052c165afcada0e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7781bc9613ec655352585fb1bac2595d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a7781bc9613ec655352585fb1bac2595d">MAX_BUFFERS</a>   64</td></tr> +<tr class="separator:a7781bc9613ec655352585fb1bac2595d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a49bc4fcdc6924fbb895066dc4bda8559"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a49bc4fcdc6924fbb895066dc4bda8559">MIN_QUEUED</a>   1</td></tr> +<tr class="separator:a49bc4fcdc6924fbb895066dc4bda8559"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a41326ea19a5ae0815a63f0db0a114dfc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a41326ea19a5ae0815a63f0db0a114dfc">MASK_BUFFERS</a>   (<a class="el" href="stream_8c.html#a7781bc9613ec655352585fb1bac2595d">MAX_BUFFERS</a>-1)</td></tr> +<tr class="separator:a41326ea19a5ae0815a63f0db0a114dfc"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a40ad70cc6e2125af9340a4bc26a83764"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a40ad70cc6e2125af9340a4bc26a83764">MAX_PORTS</a>   1</td></tr> +<tr class="separator:a40ad70cc6e2125af9340a4bc26a83764"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1676b48e222d9bcf50fd21374ea121c2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a1676b48e222d9bcf50fd21374ea121c2">BUFFER_FLAG_MAPPED</a>   (1 << 0)</td></tr> +<tr class="separator:a1676b48e222d9bcf50fd21374ea121c2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a89bba79201856c41ea53bd01e65f6438"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a89bba79201856c41ea53bd01e65f6438">BUFFER_FLAG_QUEUED</a>   (1 << 1)</td></tr> +<tr class="separator:a89bba79201856c41ea53bd01e65f6438"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6d1f2082cdfaef2291295010e9a37bd4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a6d1f2082cdfaef2291295010e9a37bd4">PARAM_TYPE_INIT</a>   (1 << 0)</td></tr> +<tr class="separator:a6d1f2082cdfaef2291295010e9a37bd4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0895847d0efcea1c1ee54f5ef263f7aa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a0895847d0efcea1c1ee54f5ef263f7aa">PARAM_TYPE_OTHER</a>   (1 << 1)</td></tr> +<tr class="separator:a0895847d0efcea1c1ee54f5ef263f7aa"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a280bb11bef3a578f62af854fb71344de"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a280bb11bef3a578f62af854fb71344de">PARAM_TYPE_FORMAT</a>   (1 << 2)</td></tr> +<tr class="separator:a280bb11bef3a578f62af854fb71344de"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2c0c52208e7308ae9eecd726fe8d94b9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a2c0c52208e7308ae9eecd726fe8d94b9">DEFAULT_VOLUME</a>   1.0</td></tr> +<tr class="separator:a2c0c52208e7308ae9eecd726fe8d94b9"><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:a4b67742e1d3106776f4a701958bcbb7d"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a4b67742e1d3106776f4a701958bcbb7d">pw_stream_new</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, const char *name, struct <a class="el" href="structpw__properties.html">pw_properties</a> *<a class="el" href="structprops.html">props</a>)</td></tr> +<tr class="separator:a4b67742e1d3106776f4a701958bcbb7d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0aa398ef7b09697a0e48719b27112614"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614">pw_stream_new_simple</a> (struct <a class="el" href="structpw__loop.html">pw_loop</a> *loop, const char *name, struct <a class="el" href="structpw__properties.html">pw_properties</a> *<a class="el" href="structprops.html">props</a>, const struct <a class="el" href="structpw__stream__events.html">pw_stream_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr> +<tr class="separator:a0aa398ef7b09697a0e48719b27112614"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1f024c54b2e507824ea0f5441f5b2af4"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a1f024c54b2e507824ea0f5441f5b2af4">pw_stream_state_as_string</a> (enum <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82">pw_stream_state</a> state)</td></tr> +<tr class="separator:a1f024c54b2e507824ea0f5441f5b2af4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a272af3c2d61d7fb25dc2ab076dc044de"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a272af3c2d61d7fb25dc2ab076dc044de">pw_stream_destroy</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="separator:a272af3c2d61d7fb25dc2ab076dc044de"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:afeafcb95f3bc48b81410bf7848473a8f"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#afeafcb95f3bc48b81410bf7848473a8f">pw_stream_add_listener</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, struct spa_hook *listener, const struct <a class="el" href="structpw__stream__events.html">pw_stream_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr> +<tr class="separator:afeafcb95f3bc48b81410bf7848473a8f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2ab8d1619a5739153a3bff01e6c6788e"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT enum <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82">pw_stream_state</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a2ab8d1619a5739153a3bff01e6c6788e">pw_stream_get_state</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, const char **error)</td></tr> +<tr class="separator:a2ab8d1619a5739153a3bff01e6c6788e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a65b66a8987387a5894d8414e9573a880"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a65b66a8987387a5894d8414e9573a880">pw_stream_get_name</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="separator:a65b66a8987387a5894d8414e9573a880"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1ffbabb0a49127dc56c22e466c2903e7"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const struct <a class="el" href="structpw__properties.html">pw_properties</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a1ffbabb0a49127dc56c22e466c2903e7">pw_stream_get_properties</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="separator:a1ffbabb0a49127dc56c22e466c2903e7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0d2ad73d654de2bc11afe6847474afcb"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a0d2ad73d654de2bc11afe6847474afcb">pw_stream_update_properties</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, const struct spa_dict *dict)</td></tr> +<tr class="separator:a0d2ad73d654de2bc11afe6847474afcb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a4a02632b6084385da6d818d24d3e5e38"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__remote.html">pw_remote</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a4a02632b6084385da6d818d24d3e5e38">pw_stream_get_remote</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="separator:a4a02632b6084385da6d818d24d3e5e38"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aebbd77924da3cf1c98f8552178f42da6"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#aebbd77924da3cf1c98f8552178f42da6">pw_stream_connect</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, enum <a class="el" href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631d">pw_direction</a> direction, uint32_t target_id, enum <a class="el" href="stream_8h.html#a058907c2dffbb8fb5ede8a53d7604106">pw_stream_flags</a> flags, const struct spa_pod **params, uint32_t n_params)</td></tr> +<tr class="separator:aebbd77924da3cf1c98f8552178f42da6"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a664d10ae36c157ecca989fe0c562017b"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a664d10ae36c157ecca989fe0c562017b">pw_stream_get_node_id</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="separator:a664d10ae36c157ecca989fe0c562017b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a430884fd1ac91c74cb5574400a619216"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a430884fd1ac91c74cb5574400a619216">pw_stream_disconnect</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="separator:a430884fd1ac91c74cb5574400a619216"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a83f6080c16e2b813e263b2ba03fca38b"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a83f6080c16e2b813e263b2ba03fca38b">pw_stream_finish_format</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, int res, const struct spa_pod **params, uint32_t n_params)</td></tr> +<tr class="separator:a83f6080c16e2b813e263b2ba03fca38b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6e3b82eb317c5d37613715e46878a9a2"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a6e3b82eb317c5d37613715e46878a9a2">pw_stream_set_control</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, uint32_t id, float value,...)</td></tr> +<tr class="memdesc:a6e3b82eb317c5d37613715e46878a9a2"><td class="mdescLeft"> </td><td class="mdescRight">Set control values. <a href="#a6e3b82eb317c5d37613715e46878a9a2">More...</a><br /></td></tr> +<tr class="separator:a6e3b82eb317c5d37613715e46878a9a2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac9d87c5da34f1357637309ffdd1185cb"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const struct <a class="el" href="structpw__stream__control.html">pw_stream_control</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#ac9d87c5da34f1357637309ffdd1185cb">pw_stream_get_control</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, uint32_t id)</td></tr> +<tr class="memdesc:ac9d87c5da34f1357637309ffdd1185cb"><td class="mdescLeft"> </td><td class="mdescRight">Get control information. <a href="#ac9d87c5da34f1357637309ffdd1185cb">More...</a><br /></td></tr> +<tr class="separator:ac9d87c5da34f1357637309ffdd1185cb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad05e907fadaaa1cd21062cd0bb8701a1"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#ad05e907fadaaa1cd21062cd0bb8701a1">pw_stream_set_active</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, bool active)</td></tr> +<tr class="separator:ad05e907fadaaa1cd21062cd0bb8701a1"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae8a3753316267cd885e875ae7fbd3c91"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#ae8a3753316267cd885e875ae7fbd3c91">pw_stream_get_time</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, struct <a class="el" href="structpw__time.html">pw_time</a> *time)</td></tr> +<tr class="separator:ae8a3753316267cd885e875ae7fbd3c91"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a93f84e7cab1f289398e277aec50a63b8"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__buffer.html">pw_buffer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a93f84e7cab1f289398e277aec50a63b8">pw_stream_dequeue_buffer</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>)</td></tr> +<tr class="memdesc:a93f84e7cab1f289398e277aec50a63b8"><td class="mdescLeft"> </td><td class="mdescRight">Get a buffer that can be filled for playback streams or consumed for capture streams. <a href="#a93f84e7cab1f289398e277aec50a63b8">More...</a><br /></td></tr> +<tr class="separator:a93f84e7cab1f289398e277aec50a63b8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7d77dd629b7e3a8c6d28cccb93df21e4"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#a7d77dd629b7e3a8c6d28cccb93df21e4">pw_stream_queue_buffer</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, struct <a class="el" href="structpw__buffer.html">pw_buffer</a> *<a class="el" href="structbuffer.html">buffer</a>)</td></tr> +<tr class="memdesc:a7d77dd629b7e3a8c6d28cccb93df21e4"><td class="mdescLeft"> </td><td class="mdescRight">Submit a buffer for playback or recycle a buffer for capture. <a href="#a7d77dd629b7e3a8c6d28cccb93df21e4">More...</a><br /></td></tr> +<tr class="separator:a7d77dd629b7e3a8c6d28cccb93df21e4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad5e65901bc4e01fe66908de6eb983b74"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="stream_8c.html#ad5e65901bc4e01fe66908de6eb983b74">pw_stream_flush</a> (struct <a class="el" href="classpw__stream.html">pw_stream</a> *<a class="el" href="structstream.html">stream</a>, bool drain)</td></tr> +<tr class="memdesc:ad5e65901bc4e01fe66908de6eb983b74"><td class="mdescLeft"> </td><td class="mdescRight">Flush a stream. <a href="#ad5e65901bc4e01fe66908de6eb983b74">More...</a><br /></td></tr> +<tr class="separator:ad5e65901bc4e01fe66908de6eb983b74"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a id="a1676b48e222d9bcf50fd21374ea121c2"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1676b48e222d9bcf50fd21374ea121c2">◆ </a></span>BUFFER_FLAG_MAPPED</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define BUFFER_FLAG_MAPPED   (1 << 0)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a89bba79201856c41ea53bd01e65f6438"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a89bba79201856c41ea53bd01e65f6438">◆ </a></span>BUFFER_FLAG_QUEUED</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define BUFFER_FLAG_QUEUED   (1 << 1)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a2c0c52208e7308ae9eecd726fe8d94b9"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a2c0c52208e7308ae9eecd726fe8d94b9">◆ </a></span>DEFAULT_VOLUME</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define DEFAULT_VOLUME   1.0</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a41326ea19a5ae0815a63f0db0a114dfc"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a41326ea19a5ae0815a63f0db0a114dfc">◆ </a></span>MASK_BUFFERS</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define MASK_BUFFERS   (<a class="el" href="stream_8c.html#a7781bc9613ec655352585fb1bac2595d">MAX_BUFFERS</a>-1)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a7781bc9613ec655352585fb1bac2595d"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a7781bc9613ec655352585fb1bac2595d">◆ </a></span>MAX_BUFFERS</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define MAX_BUFFERS   64</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a40ad70cc6e2125af9340a4bc26a83764"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a40ad70cc6e2125af9340a4bc26a83764">◆ </a></span>MAX_PORTS</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define MAX_PORTS   1</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a49bc4fcdc6924fbb895066dc4bda8559"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a49bc4fcdc6924fbb895066dc4bda8559">◆ </a></span>MIN_QUEUED</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define MIN_QUEUED   1</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a47f2e62c0dbebc787052c165afcada0e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a47f2e62c0dbebc787052c165afcada0e">◆ </a></span>NAME</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define NAME   "stream"</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a280bb11bef3a578f62af854fb71344de"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a280bb11bef3a578f62af854fb71344de">◆ </a></span>PARAM_TYPE_FORMAT</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARAM_TYPE_FORMAT   (1 << 2)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a6d1f2082cdfaef2291295010e9a37bd4"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a6d1f2082cdfaef2291295010e9a37bd4">◆ </a></span>PARAM_TYPE_INIT</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARAM_TYPE_INIT   (1 << 0)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a0895847d0efcea1c1ee54f5ef263f7aa"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0895847d0efcea1c1ee54f5ef263f7aa">◆ </a></span>PARAM_TYPE_OTHER</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARAM_TYPE_OTHER   (1 << 1)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a id="afeafcb95f3bc48b81410bf7848473a8f"></a> +<h2 class="memtitle"><span class="permalink"><a href="#afeafcb95f3bc48b81410bf7848473a8f">◆ </a></span>pw_stream_add_listener()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT void pw_stream_add_listener </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</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__stream__events.html">pw_stream_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 class="reference">Referenced by <a class="el" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614">pw_stream_new_simple()</a>.</p> +<div class="dynheader"> +Here is the caller graph for this function:</div> +<div class="dyncontent"> +<div class="center"><img src="stream_8c_afeafcb95f3bc48b81410bf7848473a8f_icgraph.png" border="0" usemap="#stream_8c_afeafcb95f3bc48b81410bf7848473a8f_icgraph" alt=""/></div> +<map name="stream_8c_afeafcb95f3bc48b81410bf7848473a8f_icgraph" id="stream_8c_afeafcb95f3bc48b81410bf7848473a8f_icgraph"> +<area shape="rect" title=" " alt="" coords="232,5,413,32"/> +<area shape="rect" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614" title=" " alt="" coords="5,5,184,32"/> +</map> +</div> + +</div> +</div> +<a id="aebbd77924da3cf1c98f8552178f42da6"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aebbd77924da3cf1c98f8552178f42da6">◆ </a></span>pw_stream_connect()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_connect </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">enum <a class="el" href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631d">pw_direction</a> </td> + <td class="paramname"><em>direction</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>target_id</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">enum <a class="el" href="stream_8h.html#a058907c2dffbb8fb5ede8a53d7604106">pw_stream_flags</a> </td> + <td class="paramname"><em>flags</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const struct spa_pod ** </td> + <td class="paramname"><em>params</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>n_params</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="structstream.html#a386c312c7ee7ec6ad015165614514b6f">stream::direction</a>, <a class="el" href="structstream.html#a41be007c6de999aff0def3e6bb0e1652">stream::flags</a>, <a class="el" href="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631da056778b9306610d7070ea4c3cc260c53">PW_DIRECTION_INPUT</a>, and <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>.</p> + +</div> +</div> +<a id="a93f84e7cab1f289398e277aec50a63b8"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a93f84e7cab1f289398e277aec50a63b8">◆ </a></span>pw_stream_dequeue_buffer()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT struct <a class="el" href="structpw__buffer.html">pw_buffer</a>* pw_stream_dequeue_buffer </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get a buffer that can be filled for playback streams or consumed for capture streams. </p> + +</div> +</div> +<a id="a272af3c2d61d7fb25dc2ab076dc044de"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a272af3c2d61d7fb25dc2ab076dc044de">◆ </a></span>pw_stream_destroy()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT void pw_stream_destroy </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="stream_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__stream.html#aa727d7a41acb9d0ec574f93f01328d30">pw_stream::pw_stream_disconnect()</a>.</p> + +</div> +</div> +<a id="a430884fd1ac91c74cb5574400a619216"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a430884fd1ac91c74cb5574400a619216">◆ </a></span>pw_stream_disconnect()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_disconnect </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</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="classpw__proxy.html#a14ac10c78b59690235afab18ea1c906e">pw_proxy::pw_proxy_destroy()</a>.</p> + +</div> +</div> +<a id="a83f6080c16e2b813e263b2ba03fca38b"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a83f6080c16e2b813e263b2ba03fca38b">◆ </a></span>pw_stream_finish_format()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT void pw_stream_finish_format </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>res</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const struct spa_pod ** </td> + <td class="paramname"><em>params</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>n_params</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="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, and <a class="el" href="proxy_8h.html#a8c20dee0f29c7d8b10147920262ab1d5">pw_proxy_error()</a>.</p> + +</div> +</div> +<a id="ad5e65901bc4e01fe66908de6eb983b74"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ad5e65901bc4e01fe66908de6eb983b74">◆ </a></span>pw_stream_flush()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_flush </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>drain</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Flush a stream. </p> +<p>When <em>drain</em> is true, the drained callback will be called when all data is played or recorded </p> + +<p class="reference">References <a class="el" href="loop_8h.html#afff39c7f964a4b011c4fc589c6a6ec92">pw_loop_invoke</a>.</p> + +</div> +</div> +<a id="ac9d87c5da34f1357637309ffdd1185cb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ac9d87c5da34f1357637309ffdd1185cb">◆ </a></span>pw_stream_get_control()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT const struct <a class="el" href="structpw__stream__control.html">pw_stream_control</a>* pw_stream_get_control </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>id</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get control information. </p> + +</div> +</div> +<a id="a65b66a8987387a5894d8414e9573a880"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a65b66a8987387a5894d8414e9573a880">◆ </a></span>pw_stream_get_name()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT const char* pw_stream_get_name </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a664d10ae36c157ecca989fe0c562017b"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a664d10ae36c157ecca989fe0c562017b">◆ </a></span>pw_stream_get_node_id()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT uint32_t pw_stream_get_node_id </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a1ffbabb0a49127dc56c22e466c2903e7"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1ffbabb0a49127dc56c22e466c2903e7">◆ </a></span>pw_stream_get_properties()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT const struct <a class="el" href="structpw__properties.html">pw_properties</a>* pw_stream_get_properties </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a4a02632b6084385da6d818d24d3e5e38"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a4a02632b6084385da6d818d24d3e5e38">◆ </a></span>pw_stream_get_remote()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__remote.html">pw_remote</a>* pw_stream_get_remote </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a2ab8d1619a5739153a3bff01e6c6788e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a2ab8d1619a5739153a3bff01e6c6788e">◆ </a></span>pw_stream_get_state()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT enum <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82">pw_stream_state</a> pw_stream_get_state </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char ** </td> + <td class="paramname"><em>error</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="ae8a3753316267cd885e875ae7fbd3c91"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ae8a3753316267cd885e875ae7fbd3c91">◆ </a></span>pw_stream_get_time()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_get_time </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct <a class="el" href="structpw__time.html">pw_time</a> * </td> + <td class="paramname"><em>time</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__time.html#a1ea3fa77ce4221df0d5ac3ad8fd1f6c7">pw_time::delay</a>, <a class="el" href="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="structpw__time.html#ad817da21bea1591d70f837c251a73468">pw_time::now</a>, <a class="el" href="classpw__log.html#a0a957072ba799bbf2bdc77501ccd81d0">pw_log::pw_log_trace</a>, <a class="el" href="structpw__time.html#a91dafbb38397328f8705e2bb20b7625a">pw_time::queued</a>, <a class="el" href="structpw__time.html#a41d793c390eefc6aee165e16e0d7c898">pw_time::rate</a>, <a class="el" href="structpw__time.html#a99e3d7963e24fbf410afa03c73465328">pw_time::ticks</a>, and <a class="el" href="structstream.html#abc4bd0629266976bb016a722584ed09c">stream::time</a>.</p> + +</div> +</div> +<a id="a4b67742e1d3106776f4a701958bcbb7d"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a4b67742e1d3106776f4a701958bcbb7d">◆ </a></span>pw_stream_new()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__stream.html">pw_stream</a>* pw_stream_new </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> * </td> + <td class="paramname"><em>remote</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>props</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="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="keys_8h.html#a56fa277cca24072d0208f0ada2e8af02">PW_KEY_APP_NAME</a>, <a class="el" href="keys_8h.html#a21aeba14e1488c5133af73d8857f2c4b">PW_KEY_APP_PROCESS_BINARY</a>, <a class="el" href="keys_8h.html#ac8cc358cf31f66cde84ed87a9a2fb2e7">PW_KEY_MEDIA_NAME</a>, <a class="el" href="keys_8h.html#aaa6e55cb44dbfe8af1a9e8531abe6f09">PW_KEY_NODE_NAME</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</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="remote_8h.html#ad9e26cfa589784bec881c01b34a5444b">pw_remote_get_properties()</a>, and <a class="el" href="structimpl.html#a6eaec9ea671abe6434946657ac2f1bae">impl::this</a>.</p> + +</div> +</div> +<a id="a0aa398ef7b09697a0e48719b27112614"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0aa398ef7b09697a0e48719b27112614">◆ </a></span>pw_stream_new_simple()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__stream.html">pw_stream</a>* pw_stream_new_simple </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="structpw__loop.html">pw_loop</a> * </td> + <td class="paramname"><em>loop</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>props</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const struct <a class="el" href="structpw__stream__events.html">pw_stream_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"> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">loop</td><td>a <a class="el" href="structpw__loop.html">pw_loop</a> to use </td></tr> + <tr><td class="paramname">name</td><td>a stream name </td></tr> + <tr><td class="paramname">props</td><td>stream properties, ownership is taken </td></tr> + <tr><td class="paramname">events</td><td>stream events </td></tr> + <tr><td class="paramname">data</td><td>data passed to events </td></tr> + </table> + </dd> +</dl> + +<p class="reference">References <a class="el" href="classpw__core.html#a3fe8a902e97223d11c0e8e4640c16379">pw_core::pw_core_destroy()</a>, <a class="el" href="classpw__core.html#a149d054319a8cd3fb6206b233d2476cd">pw_core::pw_core_new()</a>, <a class="el" href="classpw__remote.html#ad5f598eb7abbac2d8538992f3f6c07f7">pw_remote::pw_remote_new()</a>, <a class="el" href="stream_8c.html#afeafcb95f3bc48b81410bf7848473a8f">pw_stream_add_listener()</a>, and <a class="el" href="classpw__stream.html#a6f1606e27cc3bd9c522b92c9469a6f2f">pw_stream::pw_stream_new()</a>.</p> + +</div> +</div> +<a id="a7d77dd629b7e3a8c6d28cccb93df21e4"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a7d77dd629b7e3a8c6d28cccb93df21e4">◆ </a></span>pw_stream_queue_buffer()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_queue_buffer </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct <a class="el" href="structpw__buffer.html">pw_buffer</a> * </td> + <td class="paramname"><em>buffer</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Submit a buffer for playback or recycle a buffer for capture. </p> + +<p class="reference">References <a class="el" href="structbuffer.html#aa44533c5c02fdb7e3a6a871e15cbc6ff">buffer::id</a>, <a class="el" href="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, and <a class="el" href="classpw__log.html#a0a957072ba799bbf2bdc77501ccd81d0">pw_log::pw_log_trace</a>.</p> + +</div> +</div> +<a id="ad05e907fadaaa1cd21062cd0bb8701a1"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ad05e907fadaaa1cd21062cd0bb8701a1">◆ </a></span>pw_stream_set_active()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_set_active </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>active</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="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, and <a class="el" href="node_8h.html#a2502272c5765d1f2dab5afd890c05f62">pw_node_set_active()</a>.</p> + +</div> +</div> +<a id="a6e3b82eb317c5d37613715e46878a9a2"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a6e3b82eb317c5d37613715e46878a9a2">◆ </a></span>pw_stream_set_control()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_set_control </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>id</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"><em>value</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Set control values. </p> + +<p class="reference">References <a class="el" href="stream_8c.html#a47f2e62c0dbebc787052c165afcada0e">NAME</a>, and <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>.</p> + +</div> +</div> +<a id="a1f024c54b2e507824ea0f5441f5b2af4"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1f024c54b2e507824ea0f5441f5b2af4">◆ </a></span>pw_stream_state_as_string()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT const char* pw_stream_state_as_string </td> + <td>(</td> + <td class="paramtype">enum <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82">pw_stream_state</a> </td> + <td class="paramname"><em>state</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="reference">References <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82a6d38d0ac9310b1822fcc98add8e4a8d2">PW_STREAM_STATE_CONFIGURE</a>, <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82a775f5777259aa54f7ad6d4c7cfa1779f">PW_STREAM_STATE_CONNECTING</a>, <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82aae3c1d061da27957fd3a9389b29ff89e">PW_STREAM_STATE_ERROR</a>, <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82a0537b5f9f722fb2faf7822cd09370825">PW_STREAM_STATE_PAUSED</a>, <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82acaf3c66b2d1446a3a5933498f52e5efc">PW_STREAM_STATE_READY</a>, <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82af3c3b39039810d40a7c9e1ae3c6c905d">PW_STREAM_STATE_STREAMING</a>, and <a class="el" href="stream_8h.html#a9ceaca6fc9acd9a1af080258d763fb82aae02f4af09cb65c931e95e1aa3bdd5f3">PW_STREAM_STATE_UNCONNECTED</a>.</p> + +</div> +</div> +<a id="a0d2ad73d654de2bc11afe6847474afcb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0d2ad73d654de2bc11afe6847474afcb">◆ </a></span>pw_stream_update_properties()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_stream_update_properties </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="classpw__stream.html">pw_stream</a> * </td> + <td class="paramname"><em>stream</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"> + +<p class="reference">References <a class="el" href="node_8h.html#a01db9fe936ffca5e133a4f7acb699ca1">pw_node_update_properties()</a>, and <a class="el" href="structpw__properties.html#a15a72cca30ebffc472fb46cfa8b22c43">pw_properties::pw_properties_update()</a>.</p> + +</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="stream_8c.html">stream.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> |