<!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="MIDI.html"> <link rel="next" href="Synth.html"> <link rel="Up" href="index.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 class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Audio" rel="Chapter" href="Audio.html"> <link title="Image" rel="Chapter" href="Image.html"> <link title="MIDI" rel="Chapter" href="MIDI.html"> <link title="Ringbuffer" rel="Chapter" href="Ringbuffer.html"> <link title="Synth" rel="Chapter" href="Synth.html"> <link title="Video" rel="Chapter" href="Video.html"><title>Ringbuffer</title> </head> <body> <div class="navbar"><a class="pre" href="MIDI.html" title="MIDI">Previous</a> <a class="up" href="index.html" title="Index">Up</a> <a class="post" href="Synth.html" title="Synth">Next</a> </div> <h1>Module <a href="type_Ringbuffer.html">Ringbuffer</a></h1> <pre><span class="keyword">module</span> Ringbuffer: <code class="code">sig</code> <a href="Ringbuffer.html">..</a> <code class="code">end</code></pre><div class="info module top"> Operations on ringbuffers.<br> </div> <hr width="100%"> <pre><span class="keyword">module type</span> <a href="Ringbuffer.Elt.html">Elt</a> = <code class="code">sig</code> <a href="Ringbuffer.Elt.html">..</a> <code class="code">end</code></pre><div class="info"> Signature for modules describing elements of ringbuffers (used by functors creating ringbuffers). </div> <pre><span class="keyword">module type</span> <a href="Ringbuffer.R.html">R</a> = <code class="code">sig</code> <a href="Ringbuffer.R.html">..</a> <code class="code">end</code></pre><div class="info"> Signature for ringbuffer modules. </div> <pre><span class="keyword">module</span> <a href="Ringbuffer.Make.html">Make</a>: <div class="sig_block"><code class="code">functor (</code><code class="code">E</code><code class="code"> : </code><code class="type"><a href="Ringbuffer.Elt.html">Elt</a></code><code class="code">) -> </code><code class="type"><a href="Ringbuffer.R.html">R</a></code><code class="type"> with type elt = E.t</code></div></pre><div class="info"> Create a ringbuffer. </div> <pre><span class="keyword">module</span> <a href="Ringbuffer.Make_ext.html">Make_ext</a>: <div class="sig_block"><code class="code">functor (</code><code class="code">E</code><code class="code"> : </code><code class="type"><a href="Ringbuffer.Elt.html">Elt</a></code><code class="code">) -> </code><code class="type"><a href="Ringbuffer.R.html">R</a></code><code class="type"> with type elt = E.t</code></div></pre><div class="info"> Create an extensible ringbuffer: the size of the ringbuffer is extended if write space is too small at some point. </div> </body></html>