package alsa

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.