Wrapper.DecoderHigh level wrapper to easily decode speex files.
val open_sync : Ogg.Sync.t -> tOpen the passed Ogg.Sync as a new speex stream.
val open_file : string -> t * Unix.file_descrOpen the passed file name as a new speex stream.
val serial : t -> nativeintGet the serial of the stream currently being decoded. * This value may change if the stream contains sequentialized ogg streams.
val comments : t -> (string * string) listGet current comments.
val decode : t -> float array listDecode audio data.
val decode_stereo : t -> float array array listDecode stereo audio data.
val decode_feed : t -> (float array -> unit) -> unitDecode audio data, passing it to a feed.
val decode_feed_stereo : t -> (float array array -> unit) -> unitSame as decode_feed but with stereo data.
val decode_int : t -> int array listSame as decode but with integers.
val decode_int_stereo : t -> int array array listSame as decode_stereo but with integers.
val decode_int_feed : t -> (int array -> unit) -> unitSame as decode_feed but with integers.
val decode_int_feed_stereo : t -> (int array array -> unit) -> unitSame as decode_int_feed_stereo but with integers.