package frei0r

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Not_a_plugin
exception Failure
val version : unit -> int * int
type plugin
val default_paths : string list
val load : string -> plugin
type plugin_type =
  1. | Filter
  2. | Source
  3. | Mixer2
  4. | Mixer3
val string_of_plugin_type : plugin_type -> string
type color_model =
  1. | BGRA8888
  2. | RGBA8888
  3. | Packed32
val string_of_color_model : color_model -> string
type info = {
  1. name : string;
  2. author : string;
  3. plugin_type : plugin_type;
  4. color_model : color_model;
  5. frei0r_version : int;
  6. major_version : int;
  7. minor_version : int;
  8. num_params : int;
  9. explanation : string;
}
val info : plugin -> info
type param_type =
  1. | Bool
  2. | Double
  3. | Color
  4. | Position
  5. | String
val string_of_param_type : param_type -> string
type param_info = {
  1. param_name : string;
  2. param_type : param_type;
  3. param_explanation : string;
}
val param_info : plugin -> int -> param_info
type t
val create : plugin -> int -> int -> t
type color = float * float * float
type position = float * float
val get_param_bool : t -> int -> bool
val get_param_float : t -> int -> float
val get_param_color : t -> int -> color
val get_param_position : t -> int -> position
val get_param_string : t -> int -> string
val set_param_bool : t -> int -> bool -> unit
val set_param_float : t -> int -> float -> unit
val set_param_color : t -> int -> color -> unit
val set_param_position : t -> int -> position -> unit
val set_param_string : t -> int -> string -> unit
type data = (int, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.t
val update0 : t -> float -> data -> unit
val update1 : t -> float -> data -> data -> unit
val update2 : t -> float -> data -> data -> data -> unit
val update3 : t -> float -> data -> data -> data -> data -> unit