package pulseaudio

  1. Overview
  2. Docs
Bindings to Pulseaudio client library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.1.5.tar.gz
md5=007d7ad74bab49c36644b13e651c2680
sha512=c281e1c480df3ddb2409a38b5d80aa2ef35688397d738c8a2e77b6debaa360a6e7670f443483a89afe6d8085ff18344983d2bf6d159e2b8a03f2485a064cf75f

doc/pulseaudio/Pulseaudio/index.html

Module PulseaudioSource

Sourceexception Error of int

An error occured.

Sourceval string_of_error : int -> string

Get the description of an error.

Sourcetype sample_format =
  1. | Sample_format_s16le
  2. | Sample_format_s16be
  3. | Sample_format_float32le
  4. | Sample_format_float32be
Sourcetype sample = {
  1. sample_format : sample_format;
  2. sample_rate : int;
  3. sample_chans : int;
}
Sourcetype map
Sourcetype 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.

Sourcetype 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.

Sourcemodule Simple : sig ... end

Simple pulseaudio interface.

OCaml

Innovation. Community. Security.