sig
type t
val init : Speex.mode -> int -> Speex.Encoder.t
val get : Speex.Encoder.t -> Speex.control -> int
val set : Speex.Encoder.t -> Speex.control -> int -> unit
val encode_page :
Speex.Encoder.t -> Ogg.Stream.t -> (unit -> float array) -> Ogg.Page.t
val encode_page_stereo :
Speex.Encoder.t ->
Ogg.Stream.t -> (unit -> float array array) -> Ogg.Page.t
val encode_page_int :
Speex.Encoder.t -> Ogg.Stream.t -> (unit -> int array) -> Ogg.Page.t
val encode_page_int_stereo :
Speex.Encoder.t ->
Ogg.Stream.t -> (unit -> int array array) -> Ogg.Page.t
val eos : Speex.Encoder.t -> Ogg.Stream.t -> unit
end