Hi, On Tue, Nov 12, 2013 at 10:13 PM, okay_awright <[email protected]> wrote: > When you say "crossing operators" do you mean functions that need at > least two sources to operate like fallback() etc or more like add() and > the like?
I meant cross(), smart_cross() and what's derived from them. These are special because they combine part of a stream with another part of the same stream. In order to do this without creating weird side effects for other operators, they require exclusive control over the flow of time of the source, which is done by creating a special clock just for the crossing operator. > Do I need to watch out for other potential tricky commands and corner cases? All operator creating clocks might affect your experiment. Apart from crossing, soundcard I/O come to mind. > I also use once or twice some output.dummy in order to get hold of a > reference I would later use, if I recycle that reference (I replace its > associated value by another output.something(source)) does that old > reference and its corresponding clock get garbage collected or a do I > absolutely need to issue a source.shutdown() on top of it beforehand? Many outputs, such as output.dummy, output.icecast, etc. do not require a special clock and will thus be attached to the default clock. So they should not lead to an ever increasing number of clocks. However, if you create dummy outputs dynamically, you probably also want to pay attention to shutting them down so they can be garbage collected. Good luck minimizing the issue! David ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
