module Descriptor:sig
..end
type
t
val descriptor : Ladspa.Plugin.t -> int -> t
n
-th descriptor of a plugin.val descriptors : Ladspa.Plugin.t -> t array
val unique_id : t -> int
val label : t -> string
val name : t -> string
val maker : t -> string
val copyright : t -> string option
val port_count : t -> int
val port_name : t -> int -> string
n
-th port.val port_is_input : t -> int -> bool
n
-th port an input?val port_is_output : t -> int -> bool
n
-th port an output?val port_is_audio : t -> int -> bool
n
-th port an audio port?val port_is_control : t -> int -> bool
n
-th port a control port?val port_is_integer : t -> int -> bool
val port_is_boolean : t -> int -> bool
val port_is_logarithmic : t -> int -> bool
val port_get_default : t -> ?samplerate:int -> int -> float option
val port_get_min : t -> ?samplerate:int -> int -> float option
val port_get_max : t -> ?samplerate:int -> int -> float option
type
instance
val instantiate : t -> int -> int -> instance
instantiate descr freq len
instantiates the descriptor descr
with a
sampling frequency freq
indicating that len
samples should be
processed at each run.val set_samples : instance -> int -> unit
run
.val connect_audio_port : instance -> int -> float array -> int -> unit
connect_audio_port inst p buf ofs
connects the audio port p
of
instance inst
to the buffer buf
starting at position ofs
.val connect_control_port_in : instance -> int -> float -> unit
val connect_control_port_out : instance -> int -> float Pervasives.ref -> unit
val activate : instance -> unit
val deactivate : instance -> unit
exception Input_port_not_connected of int
val run : instance -> unit
val pre_run : instance -> unit
Internal function used by the DSSI binding.
val post_run : instance -> unit
val post_run_adding : instance -> unit