package frei0r

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Frei0rSource

Sourceexception Not_a_plugin
Sourceexception Failure
Sourceval version : unit -> int * int
Sourcetype plugin
Sourceval default_paths : string list
Sourceval load : string -> plugin
Sourcetype plugin_type =
  1. | Filter
  2. | Source
  3. | Mixer2
  4. | Mixer3
Sourceval string_of_plugin_type : plugin_type -> string
Sourcetype color_model =
  1. | BGRA8888
  2. | RGBA8888
  3. | Packed32
Sourceval string_of_color_model : color_model -> string
Sourcetype 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;
}
Sourceval info : plugin -> info
Sourcetype param_type =
  1. | Bool
  2. | Double
  3. | Color
  4. | Position
  5. | String
Sourceval string_of_param_type : param_type -> string
Sourcetype param_info = {
  1. param_name : string;
  2. param_type : param_type;
  3. param_explanation : string;
}
Sourceval param_info : plugin -> int -> param_info
Sourcetype t
Sourceval create : plugin -> int -> int -> t
Sourcetype color = float * float * float
Sourcetype position = float * float
Sourceval get_param_bool : t -> int -> bool
Sourceval get_param_float : t -> int -> float
Sourceval get_param_color : t -> int -> color
Sourceval get_param_position : t -> int -> position
Sourceval get_param_string : t -> int -> string
Sourceval set_param_bool : t -> int -> bool -> unit
Sourceval set_param_float : t -> int -> float -> unit
Sourceval set_param_color : t -> int -> color -> unit
Sourceval set_param_position : t -> int -> position -> unit
Sourceval set_param_string : t -> int -> string -> unit
Sourceval update0 : t -> float -> data -> unit
Sourceval update1 : t -> float -> data -> data -> unit
Sourceval update2 : t -> float -> data -> data -> data -> unit
Sourceval update3 : t -> float -> data -> data -> data -> data -> unit