package pulseaudio

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Error of int

An error occured.

val string_of_error : int -> string

Get the description of an error.

type sample_format =
  1. | Sample_format_s16le
  2. | Sample_format_s16be
  3. | Sample_format_float32le
  4. | Sample_format_float32be
type sample = {
  1. sample_format : sample_format;
  2. sample_rate : int;
  3. sample_chans : int;
}
type map
type dir =
  1. | Dir_nodirection
    (*

    Invalid direction.

    *)
  2. | Dir_playback
    (*

    Playback stream.

    *)
  3. | Dir_record
    (*

    Record stream.

    *)
  4. | Dir_upload
    (*

    Sample upload stream.

    *)

Direction of the stream.

type buffer_attr = {
  1. max_length : int;
    (*

    Maximum length of the buffer.

    *)
  2. target_length : int;
    (*

    Target length of the buffer (playback only).

    *)
  3. prebuffering : int;
    (*

    Pre-buffering (playback only).

    *)
  4. min_request : int;
    (*

    Minimum request (playback only).

    *)
  5. fragment_size : int;
    (*

    Fragment size (recording only).

    *)
}

Attributes of the buffer.

module Simple : sig ... end

Simple pulseaudio interface.

OCaml

Innovation. Community. Security.