speex

Bindings to libspeex
IN THIS PACKAGE
Module Speex . Decoder
type t

Opaque type for the speex decoder.

val init : mode -> t

Initiate a new decoder.

val get : t -> control -> int

Get a setting.

val set : t -> control -> int -> unit

Set a setting.

val decode : t -> Ogg.Stream.stream -> float array list

Decode data.

val decode_stereo : t -> Ogg.Stream.stream -> float array array list

Decode stereo data.

val decode_feed : t -> Ogg.Stream.stream -> ( float array -> unit ) -> unit

Decode data, passing them to the given feed.

val decode_feed_stereo : t -> Ogg.Stream.stream -> ( float array array -> unit ) -> unit

Decode stereo data, passing them to the given feed.

val decode_int : t -> Ogg.Stream.stream -> int array list

Same as decode but with integers.

val decode_int_stereo : t -> Ogg.Stream.stream -> int array array list

Same as decode_stereo but with integers.

val decode_int_feed : t -> Ogg.Stream.stream -> ( int array -> unit ) -> unit

Same as decode_feed but with integers.

val decode_int_feed_stereo : t -> Ogg.Stream.stream -> ( int array array -> unit ) -> unit

Same as decode_feed_stereo but with integers.