package speex

  1. Overview
  2. Docs
type t = {
  1. id : string;
  2. version : string;
  3. version_id : int;
  4. header_size : int;
  5. rate : int;
  6. mode : mode;
  7. mode_bitstream_version : int;
  8. nb_channels : int;
  9. bitrate : int;
  10. frame_size : int;
  11. vbr : bool;
  12. frames_per_packet : int;
  13. extra_headers : int;
}
val header_string_length : int
val header_version_length : int
val init : ?frames_per_packet:int -> ?mode:mode -> ?vbr:bool -> nb_channels:int -> rate:int -> unit -> t
val encode_header_packetout : t -> (string * string) list -> Ogg.Stream.packet * Ogg.Stream.packet
val encode_header : t -> (string * string) list -> Ogg.Stream.stream -> unit
val header_of_packet : Ogg.Stream.packet -> t
val comments_of_packet : Ogg.Stream.packet -> string * (string * string) list
OCaml

Innovation. Community. Security.