Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5323e3ea178dae3362d012fc2350b4d8 > files > 9

ocaml-alsa-devel-0.1.3-2mdv2010.0.i586.rpm

<!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="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 modules" rel=Appendix href="index_modules.html">
<link title="Alsa" rel="Chapter" href="Alsa.html"><title>Alsa</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="index.html">Up</a>
&nbsp;</div>
<center><h1>Module <a href="type_Alsa.html">Alsa</a></h1></center>
<br>
<pre><span class="keyword">module</span> Alsa: <code class="code">sig</code> <a href="Alsa.html">..</a> <code class="code">end</code></pre> Interface with the alsa drivers.
<p>

<br>
<b>Author(s):</b> Samuel Mimram<br>
<hr width="100%">
<pre><span class="keyword">val</span> <a name="VALget_version"></a>get_version : <code class="type">unit -> string</code></pre><div class="info">
Get the ALSA sound library version in ASCII format.<br>
</div>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONBuffer_xrun"></a>Buffer_xrun</pre>
<div class="info">
A buffer underrun / overrun occured.
<p>
PCM is not in the right state.<br>
</div>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONBad_state"></a>Bad_state</pre>
<div class="info">
A suspend event occurred (stream is suspended and waiting for an application
 recovery).<br>
</div>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONSuspended"></a>Suspended</pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONIO_error"></a>IO_error</pre>
<div class="info">
Input/output error.
<p>
Device or resource was busy.<br>
</div>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONDevice_busy"></a>Device_busy</pre>
<div class="info">
Function was called with an invalid argument.<br>
</div>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONInvalid_argument"></a>Invalid_argument</pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONBroken_pipe"></a>Broken_pipe</pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONUnknown_error"></a>Unknown_error <span class="keyword">of</span> <code class="type">int</code></pre>
<br><code><span class="keyword">type</span> <a name="TYPEdirection"></a><code class="type"></code>direction = </code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Dir_down</span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Dir_eq</span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Dir_up</span></code></td>

</tr></table>


<pre><span class="keyword">val</span> <a name="VALstring_of_error"></a>string_of_error : <code class="type">int -> string</code></pre><div class="info">
Get an error message corresponding to an error number (given by an
 <code class="code">Unknown_error</code> exception).<br>
</div>
<pre><span class="keyword">val</span> <a name="VALno_stderr_report"></a>no_stderr_report : <code class="type">unit -> unit</code></pre><div class="info">
Do not report errors on stderr.<br>
</div>
<pre><span class="keyword">module</span> <a href="Alsa.Pcm.html">Pcm</a>: <code class="code">sig</code> <a href="Alsa.Pcm.html">..</a> <code class="code">end</code></pre></body></html>