Hi,
On Wed, Nov 19, 2008 at 1:11 PM, Gil Brandão <[EMAIL PROTECTED]> wrote:
> As far as I understood, liquidsoad track scheduler is synchronous,
> i.e. ,it waits for the current track/source to end before it starts
> the following. Now this is something I would to change: I would like
This time, I have to disagree with Romain. There is some synchrony at
some level, but the end-user picture is different, that's what matters
here. There are operator which switch to different sources in an
asynchronous way.
The extreme case is the mix() operator, fully controllable from
telnet, which allows you to select, from a list of children sources,
which ones to play -- and with which volume ratio in the mix.
Often, one simply needs a track insensitive switch (typically
fallback(track_sensitive=false)) which immediately switches to a
source when it becomes available. If that source is a queue, it
becomes available when you push a request to it, and the request is
successfully prepared.
The operator switch(), still with track_insensitive=false, allows more
complex behaviors and can be useful. For example, you can use it with
time predicates to switch immediately to a given child source at a
given time:
switch(track_sensitive=false,[
({ 10h-11h },a), # play a between 10:00 and 11:00
({ true },b) # otherwise b at any time
])
We have a wide battery of operators, there's certainly enough for your
needs. If I didn't spot it above, please describe what you had in mind
and we'll devise about possible solutions.
> To illustrate our case, I left a diagram here:
> http://web.ist.utl.pt/~ggb/tmp/bigpicture.png
Sorry, this link timeouts :(
Hope I helped,
--
David
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users