sig
exception Failed
exception Not_implemented
exception Invalid_voaacenc_argument
exception Input_buffer_too_small
exception Output_buffer_too_small
exception Unknown of int
val string_of_exception : exn -> string option
type parameters = {
samplerate : int;
channels : int;
bitrate : int;
adts : bool;
}
type t
val create : Voaacenc.parameters -> Voaacenc.t
val recommended_minimum_input : Voaacenc.t -> int
val encode_string : Voaacenc.t -> string -> string * int
val encode_substring : Voaacenc.t -> string -> int -> int -> string * int
val encode_buffer : Voaacenc.t -> Buffer.t -> string
end