Hi Alexander,

On Mon, Jul 5, 2010 at 2:17 AM, Alexander Schmidt <[email protected]> wrote:
> Do you think that sometimes you will "upgrade" the fallback function and
> introduce individual track sensitiveness?

I don't have plans to change fallback, but I'm open to suggestions
such as this one, as long as they don't make the current simple use
harder, and they seem to address a real need in a nice way. In
general, my feeling is that fallback and track_sensitive won't change:
only power users will want something more flexible, and they should be
able to use source.dynamic() which allows to rewrite in script all
switching operators (random, rotate, fallback, switch) --
source.dynamic() is still experimental and some missing script
language features make it too hard to use for now but this should be
fixed by version 1.0.

> like: fallback(track_sensitive=[true,false], [src1,src2])

I guess the idea here would be to say that src1 tracks should not be
interrupted, but src2 tracks should. With only two sources it's the
same as saying track_sensitive=true with the current operator, since
nothing can interrupt src1 anyway (the story would be different with a
switch, though). With three operators, for example:
  fallback(track_sensitive=[true,true,false],[src1,src2,src3])
That would say that src3 should be interrupted asap by 1 or 2, but 1
should not interrupt 2 in the middle of a track. This can be useful,
but there is no need to change fallback for that, simply write:
  
fallback(track_sensitive=false,[fallback(track_sensitive=true,[src1,src2]),src3])

Please tell me if this solves your problem, or if I misunderstood the
feature that you proposed. Again, with switch() one might want more
flexible things regarding track_insensitive, and even more regarding
transition functions, but I don't see a good new change of those
operators so my best option so far is source.dynamic().

Cheers,
-- 
David

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to