#256: Tap operator
-------------------------+--------------------------------------------------
  Reporter:  danderson   |       Owner:  admin
      Type:  Feature     |      Status:  new  
  Priority:  1           |   Milestone:       
 Component:  Liquidsoap  |     Version:       
Resolution:              |    Keywords:       
       Mac:  1           |       Linux:  1    
    Netbsd:  1           |       Other:  1    
   Freebsd:  1           |  
-------------------------+--------------------------------------------------
Comment (by mrpingouin):

 You can achieve that using the mix() operator. It mixes several sources,
 you can interactively turn it on/off. I'm not sure how it behaves when it
 has no enabled input: Is it unavailable, or does it stream silence? I'm
 also not sure how it behaves wrt to tracks: does it preserve track limits.

 I suggest that you try it and tell us what doesn't fit your needs. Then
 we'll see if we adapt mix() or do something new.

 (Speaking of design, I'm never sure if I like the current monolithic
 mix(), or if I would prefer to break it into simpler pieces. The same
 holds for all outputs and several other operators. When I'm unsure, I
 choose the statu quo.)

 If you like hacks you can also build you tap using a switch with a
 predicate that checks a mutable variable (interactive.string) and install
 server commands for changing that string. That would probably be fully
 satisfying, right? If you like that solution, close the ticket and feel
 free to define tap() in the utils.liq.

 There is definitely more than one way to do it..

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/256#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to