module Shine:sig
..end
OCaml bindings for the libshine.
type
t
type
parameters = {
|
samplerate : |
|
channels : |
|
bitrate : |
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