package flac

  1. Overview
  2. Docs
On This Page
  1. Types
  2. Functions
Legend:
Library
Module
Module type
Parameter
Class
Class type

Encode to a local file

Convenience module to encode to a local native FLAC file.

Types

type file

Generic variant type for file encoder

type handle = {
  1. fd : Unix.file_descr;
  2. enc : file t;
  3. callbacks : file callbacks;
}

Handle for file encoder

Functions

val create_from_fd : ?comments:comments -> params -> Unix.file_descr -> handle

Create a file encoder writing data to a given Unix file descriptor. * * Note: this encoder requires seeking thus will only work on seekable * file descriptor.

val create : ?comments:comments -> params -> string -> handle

Create a file encoder writing data to the given file URI

OCaml

Innovation. Community. Security.