Module Shine


module Shine: sig .. end
OCaml bindings for the libshine.

type t 

type parameters = {
   samplerate : int;
   channels : int;
   bitrate : int;
}
exception Samples_per_frame
exception Invalid_bitrate
exception Invalid_samplerate
exception Invalid_channels
val samples_per_frame : int
val create : parameters -> t
val encode_buffer : t -> float array array -> string
val encode_s16le : t -> string -> int -> string
val flush : t -> string