Revision: 7520
http://svn.sourceforge.net/supercollider/?rev=7520&view=revAuthor: cruxxial
Date: 2008-04-19 16:00:43 -0700 (Sat, 19 Apr 2008)
Log Message:
-----------
cleanup commented out code
make Synth.play({ }) boot the server automatically
Modified Paths:
--------------
trunk/build/SCClassLibrary/backwards_compatibility/extMethods.sc
Modified: trunk/build/SCClassLibrary/backwards_compatibility/extMethods.sc
===================================================================
--- trunk/build/SCClassLibrary/backwards_compatibility/extMethods.sc 2008-04-19 15:24:54 UTC (rev 7519)
+++ trunk/build/SCClassLibrary/backwards_compatibility/extMethods.sc 2008-04-19 23:00:43 UTC (rev 7520)
@@ -27,17 +27,10 @@
*stop {
RootNode.new.freeAll;
}
- //*isPlaying {
- //server is running
- // at least one thing playing
- // deepDo is gone
- //RootNode.new.head.deepDo({ arg child;
- // if(child.isPlaying,{ ^true })
- //});
- //^false
- //}
*play { arg func;
- ^func.play;
+ Server.default.doWhenBooted({
+ func.play;
+ })
}
play {
//if not already playing, play
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
sc-dev@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-dev