package shine

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

Module ShineSource

OCaml bindings for the libshine.

Sourcetype t
Sourcetype parameters = {
  1. samplerate : int;
  2. channels : int;
  3. bitrate : int;
}
Sourceexception Invalid_buffer_size
Sourceexception Invalid_configuration

Raised when samplerate and/or bitrate * is invalid.

Sourceexception Invalid_channels
Sourceval create : parameters -> t
Sourceval samples_per_pass : t -> int
Sourceval encode_buffer : t -> float array array -> string
Sourceval encode_s16le : t -> string -> int -> string
Sourceval flush : t -> string
OCaml

Innovation. Community. Security.