package alsa

  1. Overview
  2. Docs
Bindings for the ALSA library which provides functions for using soundcards

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=abe2eed424387f316e09d90886c3dde1
sha512=2ea42175e97dd8bc1db2f0f890c3f969493c71ba231ffd254501975ffa027aea037e29d2ecbeebcba4d161b2a50e02ba91d968449f2b3c9b6c4fe7c2adb78b35

doc/alsa/Alsa/index.html

Module AlsaSource

* Interface with the alsa drivers. * *

  • author Samuel Mimram
Sourceval get_version : unit -> string

Get the ALSA sound library version in ASCII format.

Sourceexception Buffer_xrun

A buffer underrun / overrun occured.

Sourceexception Bad_state

PCM is not in the right state.

Sourceexception Suspended

A suspend event occurred (stream is suspended and waiting for an application * recovery).

Sourceexception IO_error

Input/output error.

Sourceexception Device_busy

Device or resource was busy.

Sourceexception Invalid_argument

Function was called with an invalid argument.

Sourceexception Device_removed

This error can happen when device is physically * removed (for example some hotplug devices like USB * or PCMCIA, CardBus or ExpressCard can be removed on the fly).

Sourceexception Interrupted
Sourceexception Unknown_error of int
Sourcetype direction =
  1. | Dir_down
  2. | Dir_eq
  3. | Dir_up
Sourceval string_of_error : exn -> string

Get an error message corresponding to an error. * Raise the given exception if it is not known.

Sourceval no_stderr_report : unit -> unit

Do not report errors on stderr.

Sourcemodule Pcm : sig ... end
Sourcemodule Sequencer : sig ... end
OCaml

Innovation. Community. Security.