package flac

  1. Overview
  2. Docs
type 'a t
type write = string -> unit
type 'a callbacks
type generic
type params = {
  1. channels : int;
  2. bits_per_sample : int;
  3. sample_rate : int;
  4. compression_level : int option;
  5. total_samples : int64 option;
}
type comments = (string * string) list
exception Invalid_data
val get_callbacks : ?seek:(int64 -> unit) -> ?tell:(unit -> int64) -> write -> generic callbacks
val create : ?comments:comments -> params -> 'a callbacks -> 'a t
val process : 'a t -> 'a callbacks -> float array array -> unit
val finish : 'a t -> 'a callbacks -> unit
val from_s16le : string -> int -> float array array
module File : sig ... end
OCaml

Innovation. Community. Security.