shine

Fixed-point MP3 encoder
IN THIS PACKAGE
Module Shine
type t
type parameters = {
samplerate : int;
channels : int;
bitrate : int;
}
exception Invalid_buffer_size
exception Invalid_configuration

Raised when samplerate and/or bitrate * is invalid.

exception Invalid_channels
val create : parameters -> t
val samples_per_pass : t -> int
val encode_buffer : t -> float array array -> string
val encode_s16le : t -> string -> int -> string
val flush : t -> string