Module Source


module Source: sig .. end
The liveness type of a source indicates whether or not it can fail to broadcast. A Infallible source never fails; it is always ready.

type clock_variable 

type source_t =
| Fallible
| Infallible
The liveness type of a source indicates whether or not it can fail to broadcast. A Infallible source never fails; it is always ready.
class virtual source : ?name:string -> Frame.content_kind -> object .. end
The source use is to send music frames through the get method.
class virtual active_source : ?name:string -> Frame.content_kind -> object .. end
class virtual operator : ?name:string -> Frame.content_kind -> source list -> object .. end
class virtual active_operator : ?name:string -> Frame.content_kind -> source list -> object .. end
Entry-point sources, which need to actively perform some task.
val has_outputs : unit -> bool
val iterate_new_outputs : (active_source -> unit) -> unit

Clocks

Tick identifiers are useful (cf. #get_tick) but we don't need much more than the guarantee that the next tick is different from the current one. Booleans should be OK, in any case an overflow on int is not a problem.
class type clock = object .. end
exception Clock_conflict of string * string
exception Clock_loop of string * string
module Clock_variables: sig .. end