<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Speex.Encoder.html"> <link rel="next" href="Speex.Wrapper.html"> <link rel="Up" href="Speex.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Speex" rel="Chapter" href="Speex.html"><title>Speex.Decoder</title> </head> <body> <div class="navbar"><a href="Speex.Encoder.html">Previous</a> <a href="Speex.html">Up</a> <a href="Speex.Wrapper.html">Next</a> </div> <center><h1>Module <a href="type_Speex.Decoder.html">Speex.Decoder</a></h1></center> <br> <pre><span class="keyword">module</span> Decoder: <code class="code">sig</code> <a href="Speex.Decoder.html">..</a> <code class="code">end</code></pre><hr width="100%"> <pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre> <div class="info"> Opaque type for the speex decoder.<br> </div> <pre><span class="keyword">val</span> <a name="VALinit"></a>init : <code class="type"><a href="Speex.html#TYPEmode">Speex.mode</a> -> <a href="Speex.Decoder.html#TYPEt">t</a></code></pre><div class="info"> Initiate a new decoder.<br> </div> <pre><span class="keyword">val</span> <a name="VALget"></a>get : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> <a href="Speex.html#TYPEcontrol">Speex.control</a> -> int</code></pre><div class="info"> Get a setting.<br> </div> <pre><span class="keyword">val</span> <a name="VALset"></a>set : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> <a href="Speex.html#TYPEcontrol">Speex.control</a> -> int -> unit</code></pre><div class="info"> Set a setting.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode"></a>decode : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> float array list</code></pre><div class="info"> Decode data.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_stereo"></a>decode_stereo : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> float array array list</code></pre><div class="info"> Decode stereo data.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_feed"></a>decode_feed : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> (float array -> unit) -> unit</code></pre><div class="info"> Decode data, passing them to the given feed.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_feed_stereo"></a>decode_feed_stereo : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> (float array array -> unit) -> unit</code></pre><div class="info"> Decode stereo data, passing them to the given feed.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_int"></a>decode_int : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> int array list</code></pre><div class="info"> Same as <code class="code">decode</code> but with integers.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_int_stereo"></a>decode_int_stereo : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> int array array list</code></pre><div class="info"> Same as <code class="code">decode_stereo</code> but with integers.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_int_feed"></a>decode_int_feed : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> (int array -> unit) -> unit</code></pre><div class="info"> Same as <code class="code">decode_feed</code> but with integers.<br> </div> <pre><span class="keyword">val</span> <a name="VALdecode_int_feed_stereo"></a>decode_int_feed_stereo : <code class="type"><a href="Speex.Decoder.html#TYPEt">t</a> -> Ogg.Stream.t -> (int array array -> unit) -> unit</code></pre><div class="info"> Same as <code class="code">decode_feed_stereo</code> but with integers.<br> </div> </body></html>