Changeset 7146

Show
Ignore:
Timestamp:
02/09/10 00:11:06 (7 months ago)
Author:
dbaelde
Message:

New operator: source.dynamic() which is a sort of dynamically updatable
source. It should of course be used with care, but should allow to do
a number of cool tricks:

  • Reimplement fallback(), switch(), random(), etc. as scripts
  • Customize them to have different transitions based not only on the target source, but also on the initial one.
  • Support "before" which really relies on specific use cases: I got it working fine for transitions on input.http/harbor().

Currently the update function takes a list, this is a hack until we get
a proper option type: [] is None, [x] is Some x.

Location:
trunk/liquidsoap/src
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/liquidsoap/src/Makefile

    r7142 r7146  
    8080        operators/setvol.ml operators/normalize.ml operators/echo.ml \ 
    8181        operators/append.ml operators/pan.ml operators/ms_stereo.ml \ 
     82        operators/dyn_op.ml \ 
    8283        $(if $(W_SOUNDTOUCH),operators/soundtouch_op.ml) \ 
    8384        $(if $(W_SOUNDTOUCH),operators/st_bpm.ml) \