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>speexdec: GStreamer Good 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 Good Plugins 1.0 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-good Elements"> 9<link rel="prev" href="gst-plugins-good-plugins-spectrum.html" title="spectrum"> 10<link rel="next" href="gst-plugins-good-plugins-speexenc.html" title="speexenc"> 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">|</span> 18 <a href="#gst-plugins-good-plugins-speexdec.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-good-plugins-speexdec.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 20 <a href="#gst-plugins-good-plugins-speexdec.properties" class="shortcut">Properties</a></span> 21</td> 22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 23<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="gst-plugins-good-plugins-spectrum.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="gst-plugins-good-plugins-speexenc.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 26</tr></table> 27<div class="refentry"> 28<a name="gst-plugins-good-plugins-speexdec"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-speexdec.top_of_page"></a>speexdec</span></h2> 32<p>speexdec</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<div class="refsect1"> 37<a name="gst-plugins-good-plugins-speexdec.properties"></a><h2>Properties</h2> 38<div class="informaltable"><table class="informaltable" border="0"> 39<colgroup> 40<col width="150px" class="properties_type"> 41<col width="300px" class="properties_name"> 42<col width="200px" class="properties_flags"> 43</colgroup> 44<tbody><tr> 45<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 46<td class="property_name"><a class="link" href="gst-plugins-good-plugins-speexdec.html#GstSpeexDec--enh" title="The “enh” property">enh</a></td> 47<td class="property_flags">Read / Write</td> 48</tr></tbody> 49</table></div> 50</div> 51<a name="GstSpeexDec"></a><div class="refsect1"> 52<a name="gst-plugins-good-plugins-speexdec.other"></a><h2>Types and Values</h2> 53<div class="informaltable"><table class="informaltable" width="100%" border="0"> 54<colgroup> 55<col width="150px" class="name"> 56<col class="description"> 57</colgroup> 58<tbody><tr> 59<td class="datatype_keyword">struct</td> 60<td class="function_name"><a class="link" href="gst-plugins-good-plugins-speexdec.html#GstSpeexDec-struct" title="struct GstSpeexDec">GstSpeexDec</a></td> 61</tr></tbody> 62</table></div> 63</div> 64<div class="refsect1"> 65<a name="gst-plugins-good-plugins-speexdec.object-hierarchy"></a><h2>Object Hierarchy</h2> 66<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 67 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 68 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 69 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a> 70 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/GstAudioDecoder.html#GstAudioDecoder-struct">GstAudioDecoder</a> 71 <span class="lineart">╰──</span> GstSpeexDec 72</pre> 73</div> 74<div class="refsect1"> 75<a name="gst-plugins-good-plugins-speexdec.description"></a><h2>Description</h2> 76<p>This element decodes a Speex stream to raw integer audio.</p> 77<a class="ulink" href="http://www.speex.org/" target="_top">Speex</a> is a royalty-free 78<p>audio codec maintained by the <a class="ulink" href="http://www.xiph.org/" target="_top">Xiph.org 79Foundation</a>.</p> 80<div class="refsect2"> 81<a name="id-1.2.250.7.5"></a><h3>Example pipelines</h3> 82<div class="informalexample"> 83 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 84 <tbody> 85 <tr> 86 <td class="listing_lines" align="right"><pre>1</pre></td> 87 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> <span class="gtkdoc opt">-</span>v filesrc location<span class="gtkdoc opt">=</span>speex<span class="gtkdoc opt">.</span>ogg <span class="gtkdoc opt">!</span> oggdemux <span class="gtkdoc opt">!</span> speexdec <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> audioresample <span class="gtkdoc opt">!</span> alsasink</pre></td> 88 </tr> 89 </tbody> 90 </table> 91</div> 92 Decode an Ogg/Speex file. To create an Ogg/Speex file refer to the 93documentation of speexenc. 94</div> 95<div class="refsynopsisdiv"> 96<h2>Synopsis</h2> 97<div class="refsect2"> 98<a name="id-1.2.250.7.6.1"></a><h3>Element Information</h3> 99<div class="variablelist"><table border="0" class="variablelist"> 100<colgroup> 101<col align="left" valign="top"> 102<col> 103</colgroup> 104<tbody> 105<tr> 106<td><p><span class="term">plugin</span></p></td> 107<td> 108 <a class="link" href="gst-plugins-good-plugins-plugin-speex.html#plugin-speex">speex</a> 109 </td> 110</tr> 111<tr> 112<td><p><span class="term">author</span></p></td> 113<td>Wim Taymans <wim@fluendo.com></td> 114</tr> 115<tr> 116<td><p><span class="term">class</span></p></td> 117<td>Codec/Decoder/Audio</td> 118</tr> 119</tbody> 120</table></div> 121</div> 122<hr> 123<div class="refsect2"> 124<a name="id-1.2.250.7.6.2"></a><h3>Element Pads</h3> 125<div class="variablelist"><table border="0" class="variablelist"> 126<colgroup> 127<col align="left" valign="top"> 128<col> 129</colgroup> 130<tbody> 131<tr> 132<td><p><span class="term">name</span></p></td> 133<td>sink</td> 134</tr> 135<tr> 136<td><p><span class="term">direction</span></p></td> 137<td>sink</td> 138</tr> 139<tr> 140<td><p><span class="term">presence</span></p></td> 141<td>always</td> 142</tr> 143<tr> 144<td><p><span class="term">details</span></p></td> 145<td>audio/x-speex</td> 146</tr> 147</tbody> 148</table></div> 149<div class="variablelist"><table border="0" class="variablelist"> 150<colgroup> 151<col align="left" valign="top"> 152<col> 153</colgroup> 154<tbody> 155<tr> 156<td><p><span class="term">name</span></p></td> 157<td>src</td> 158</tr> 159<tr> 160<td><p><span class="term">direction</span></p></td> 161<td>source</td> 162</tr> 163<tr> 164<td><p><span class="term">presence</span></p></td> 165<td>always</td> 166</tr> 167<tr> 168<td><p><span class="term">details</span></p></td> 169<td>audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)[ 6000, 48000 ], channels=(int)[ 1, 2 ]</td> 170</tr> 171</tbody> 172</table></div> 173</div> 174</div> 175</div> 176<div class="refsect1"> 177<a name="gst-plugins-good-plugins-speexdec.functions_details"></a><h2>Functions</h2> 178<p></p> 179</div> 180<div class="refsect1"> 181<a name="gst-plugins-good-plugins-speexdec.other_details"></a><h2>Types and Values</h2> 182<div class="refsect2"> 183<a name="GstSpeexDec-struct"></a><h3>struct GstSpeexDec</h3> 184<pre class="programlisting">struct GstSpeexDec;</pre> 185</div> 186</div> 187<div class="refsect1"> 188<a name="gst-plugins-good-plugins-speexdec.property-details"></a><h2>Property Details</h2> 189<div class="refsect2"> 190<a name="GstSpeexDec--enh"></a><h3>The <code class="literal">“enh”</code> property</h3> 191<pre class="programlisting"> “enh” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 192<p>Enable perceptual enhancement.</p> 193<p>Flags: Read / Write</p> 194<p>Default value: TRUE</p> 195</div> 196</div> 197<div class="refsect1"> 198<a name="gst-plugins-good-plugins-speexdec.see-also"></a><h2>See Also</h2> 199<p>speexenc, oggdemux</p> 200</div> 201</div> 202<div class="footer"> 203<hr>Generated by GTK-Doc V1.28</div> 204</body> 205</html>