ensure that Lua DSP scripts are configured (even with 0 channels)
[ardour.git] / libs / ardour / ardour / luaproc.h
index e5c6d157353d2e200f1301047352baea5ba81b8c..d0d919b6c36d9e46108b96ac7446df136b2de310 100644 (file)
     675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+/* print runtime and garbage-collection timing statistics */
 //#define WITH_LUAPROC_STATS
-//#define USE_TLSF
+
+/* memory allocation system, default: ReallocPool */
+//#define USE_TLSF // use TLSF instead of ReallocPool
+//#define USE_MALLOC // or plain OS provided realloc (no mlock) -- if USE_TLSF isn't defined
 
 #ifndef __ardour_luaproc_h__
 #define __ardour_luaproc_h__
@@ -169,6 +173,8 @@ private:
        ChanCount _configured_in;
        ChanCount _configured_out;
 
+       bool      _configured;
+
        ChanCount _selected_in;
        ChanCount _selected_out;