class virtual source :The?name:string -> Frame.content_kind ->object..end
source use is to send music frames through the get method.method id : stringmethod set_id : ?definitive:bool -> string -> unit
stype is the liveness type, telling whether a scheduler is
fallible or not, i.e. get will never fail.
It is defined by each operator based on its sources' types.
method virtual stype : source_tval mutable ns_kind : stringmethod register_command : descr:string -> ?usage:string -> string -> (string -> string) -> unitmethod on_shutdown : (unit -> unit) -> unitmethod clock : clock_variablemethod private set_clock : unitmethod get_ready : ?dynamic:bool -> source list -> unitmethod private wake_up : source list -> unitmethod leave : ?dynamic:bool -> source -> unitget_ready : the operator no longer needs the source.method private sleep : unitmethod kind : Frame.content_kindmethod virtual remaining : intmethod seek : int -> intmethod virtual is_ready : boolis_ready tells you if get can be called.method get : Frame.t -> unitget buf asks the source to fill the buffer buf if possible.
The get call is partial when the buffer is not completely filled.
get should never be called with a full buffer,
and without checking that the source is ready.method private virtual get_frame : Frame.t -> unitmethod virtual abort_track : unitmethod is_output : boolmethod after_output : unitmethod advance : unitmethod private create_request : ?metadata:(string * string) list ->
?persistent:bool -> ?indicators:Request.indicator list -> string -> Request.tmethod private log : Dtools.Log.t