Module Opus.Decoder

type control = [
| generic_control
| `Set_gain of int
| `Get_gain of int Stdlib.ref
]
type t
val check_packet : Ogg.Stream.packet -> bool
val create : ?samplerate:int -> Ogg.Stream.packet -> Ogg.Stream.packet -> t

Create a decoder with given samplerate an number of channels.

val comments : t -> string * (string * string) list
val channels : t -> int
val apply_control : control -> t -> unit
val decode_float : ?decode_fec:bool -> t -> Ogg.Stream.stream -> float array array -> int -> int -> int