Skip to main content
Version: 2.5.x (dev)

Uncategorized

icecast​

Icecast server implementation using input.harbor.dynamic This allows liquidsoap to act as an icecast-compatible server

Type:

unit

jack.server.capture​

Return the capture interface of the JACK server suitable to connect to any jack input operator.

Type:

(?server : string?) -> unit

Arguments:

  • server (of type string?, which defaults to null): JACK server to query. Uses default server if null.

Methods:

  • connect (of type ('a .{ on_wake_up : (synchronous : bool, (() -> unit)) -> unit, ports : () -> [jack_input_port] }) -> unit)
  • on_wake_up (of type (synchronous : bool, (() -> unit)) -> unit)
  • ports (of type () -> [jack_output_port])

jack.server.playback​

Return the playback interface of the JACK server suitable to connect to any jack output operator.

Type:

(?server : string?) -> unit

Arguments:

  • server (of type string?, which defaults to null): JACK server to query. Uses default server if null.

Methods:

  • connect (of type ('a .{ on_wake_up : (synchronous : bool, (() -> unit)) -> unit, ports : () -> [jack_output_port] }) -> unit)
  • on_wake_up (of type (synchronous : bool, (() -> unit)) -> unit)
  • ports (of type () -> [jack_input_port])

source.composition.default_on_select​

Default on_select for both file and live composition profiles. When ending is non-null (the ending source was preempted mid-track) and has only PCM audio content: if it has at most settings.source.composition.max_fade seconds remaining, sequences it with the starting source so it finishes naturally; otherwise fades it out for max_fade seconds. Any other content switches immediately: the body is typed for PCM audio, and the runtime type checks reject any source it builds from other content. When replay_metadata is true, replays the latest metadata on the starting source.

Type:

(
{
ending : source(audio='a, 'b)?,
replay_metadata : bool,
starting : source(audio='a, 'b)
}) -> source(audio='a, 'b)
where 'a is a track and a track of type: pcm, pcm_s16 or pcm_f32,
'b is an orderable type and a set of tracks to be muxed into a source

Arguments:

  • (unlabeled) (of type { ending : source(audio='a, 'b)?, replay_metadata : bool, starting : source(audio='a, 'b) } where 'a is a track and a track of type: pcm, pcm_s16 or pcm_f32, 'b is an orderable type and a set of tracks to be muxed into a source)