• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>webrtcechoprobe: GStreamer Bad Plugins 1.0 Plugins Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9<link rel="prev" href="gst-plugins-bad-plugins-webrtcdsp.html" title="webrtcdsp">
10<link rel="next" href="gst-plugins-bad-plugins-webvttenc.html" title="webvttenc">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-plugins-bad-plugins-webrtcechoprobe.description" class="shortcut">Description</a></span>
19</td>
20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22<td><a accesskey="p" href="gst-plugins-bad-plugins-webrtcdsp.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23<td><a accesskey="n" href="gst-plugins-bad-plugins-webvttenc.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24</tr></table>
25<div class="refentry">
26<a name="gst-plugins-bad-plugins-webrtcechoprobe"></a><div class="titlepage"></div>
27<div class="refnamediv"><table width="100%"><tr>
28<td valign="top">
29<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-webrtcechoprobe.top_of_page"></a>webrtcechoprobe</span></h2>
30<p>webrtcechoprobe</p>
31</td>
32<td class="gallery_image" valign="top" align="right"></td>
33</tr></table></div>
34<div class="refsect1">
35<a name="gst-plugins-bad-plugins-webrtcechoprobe.other"></a><h2>Types and Values</h2>
36<div class="informaltable"><table class="informaltable" width="100%" border="0">
37<colgroup>
38<col width="150px" class="name">
39<col class="description">
40</colgroup>
41<tbody><tr>
42<td class="datatype_keyword">struct</td>
43<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-webrtcechoprobe.html#GstWebrtcEchoProbe" title="struct GstWebrtcEchoProbe">GstWebrtcEchoProbe</a></td>
44</tr></tbody>
45</table></div>
46</div>
47<div class="refsect1">
48<a name="gst-plugins-bad-plugins-webrtcechoprobe.description"></a><h2>Description</h2>
49<p>This echo probe is to be used with the webrtcdsp element. See <a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html" title="webrtcdsp"><span class="type">gst-plugins-bad-plugins-webrtcdsp</span></a>
50documentation for more details.</p>
51<div class="refsynopsisdiv">
52<h2>Synopsis</h2>
53<div class="refsect2">
54<a name="id-1.2.255.4.3.1"></a><h3>Element Information</h3>
55<div class="variablelist"><table border="0" class="variablelist">
56<colgroup>
57<col align="left" valign="top">
58<col>
59</colgroup>
60<tbody>
61<tr>
62<td><p><span class="term">plugin</span></p></td>
63<td>
64            <a class="link" href="gst-plugins-bad-plugins-plugin-webrtcdsp.html#plugin-webrtcdsp">webrtcdsp</a>
65          </td>
66</tr>
67<tr>
68<td><p><span class="term">author</span></p></td>
69<td>Nicolas Dufresne &lt;nicolas.dufrsesne@collabora.com&gt;</td>
70</tr>
71<tr>
72<td><p><span class="term">class</span></p></td>
73<td>Generic/Audio</td>
74</tr>
75</tbody>
76</table></div>
77</div>
78<hr>
79<div class="refsect2">
80<a name="id-1.2.255.4.3.2"></a><h3>Element Pads</h3>
81<div class="variablelist"><table border="0" class="variablelist">
82<colgroup>
83<col align="left" valign="top">
84<col>
85</colgroup>
86<tbody>
87<tr>
88<td><p><span class="term">name</span></p></td>
89<td>sink</td>
90</tr>
91<tr>
92<td><p><span class="term">direction</span></p></td>
93<td>sink</td>
94</tr>
95<tr>
96<td><p><span class="term">presence</span></p></td>
97<td>always</td>
98</tr>
99<tr>
100<td><p><span class="term">details</span></p></td>
101<td>audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 48000, 32000, 16000, 8000 }, channels=(int)[ 1, 2147483647 ]</td>
102</tr>
103</tbody>
104</table></div>
105<div class="variablelist"><table border="0" class="variablelist">
106<colgroup>
107<col align="left" valign="top">
108<col>
109</colgroup>
110<tbody>
111<tr>
112<td><p><span class="term">name</span></p></td>
113<td>src</td>
114</tr>
115<tr>
116<td><p><span class="term">direction</span></p></td>
117<td>source</td>
118</tr>
119<tr>
120<td><p><span class="term">presence</span></p></td>
121<td>always</td>
122</tr>
123<tr>
124<td><p><span class="term">details</span></p></td>
125<td>audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 48000, 32000, 16000, 8000 }, channels=(int)[ 1, 2147483647 ]</td>
126</tr>
127</tbody>
128</table></div>
129</div>
130</div>
131</div>
132<div class="refsect1">
133<a name="gst-plugins-bad-plugins-webrtcechoprobe.functions_details"></a><h2>Functions</h2>
134<p></p>
135</div>
136<div class="refsect1">
137<a name="gst-plugins-bad-plugins-webrtcechoprobe.other_details"></a><h2>Types and Values</h2>
138<div class="refsect2">
139<a name="GstWebrtcEchoProbe"></a><h3>struct GstWebrtcEchoProbe</h3>
140<pre class="programlisting">struct GstWebrtcEchoProbe {
141  GstAudioFilter parent;
142
143  /* This lock is required as the DSP may need to lock itself using it's
144   * object lock and also lock the probe. The natural order for the DSP is
145   * to lock the DSP and then the echo probe. If we where using the probe
146   * object lock, we'd be racing with GstBin which will lock sink to src,
147   * and may accidently reverse the order. */
148  GMutex lock;
149
150  /* Protected by the lock */
151  GstAudioInfo info;
152  guint period_size;
153  guint period_samples;
154  GstClockTime latency;
155  gint delay;
156  gboolean interleaved;
157
158  GstSegment segment;
159  GstAdapter *adapter;
160  GstPlanarAudioAdapter *padapter;
161
162  /* Private */
163  gboolean acquired;
164};
165</pre>
166<p>The adder object structure.</p>
167</div>
168</div>
169</div>
170<div class="footer">
171<hr>Generated by GTK-Doc V1.28</div>
172</body>
173</html>