/usr/lib/ocaml/frei0r/frei0r.mli is in libfrei0r-ocaml-dev 0.1.0-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | 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 =
| Filter
| Source
| Mixer2
| Mixer3
val string_of_plugin_type : plugin_type -> string
type color_model =
| BGRA8888
| RGBA8888
| Packed32
val string_of_color_model : color_model -> string
type info =
{
name : string;
author : string;
plugin_type : plugin_type;
color_model : color_model;
frei0r_version : int;
major_version : int;
minor_version : int;
num_params : int;
explanation : string;
}
val info : plugin -> info
type param_type =
| Bool
| Double
| Color
| Position
| String
val string_of_param_type : param_type -> string
type param_info =
{
param_name : string;
param_type : param_type;
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, Bigarray.int8_unsigned_elt, Bigarray.c_layout) 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
|