package speex

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Speex.DecoderSource

Sourcetype t

Opaque type for the speex decoder.

Sourceval init : mode -> t

Initiate a new decoder.

Sourceval get : t -> control -> int

Get a setting.

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

Set a setting.

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

Decode data.

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

Decode stereo data.

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

Decode data, passing them to the given feed.

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

Decode stereo data, passing them to the given feed.

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

Same as decode but with integers.

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

Same as decode_stereo but with integers.

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

Same as decode_feed but with integers.

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

Same as decode_feed_stereo but with integers.

OCaml

Innovation. Community. Security.