aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applause.lua')
-rw-r--r--applause.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/applause.lua b/applause.lua
index 5fe77e4..dd1d78f 100644
--- a/applause.lua
+++ b/applause.lua
@@ -400,6 +400,11 @@ function Stream:play()
-- Perform garbage collection cycle and turn it off
-- temporarily. This improves the realtime properties
-- of the sample generation loop below.
+ -- FIXME: Since stopping the garbage collector here
+ -- (in the Lua/C code this did not happen!?), memory
+ -- consumption increases constantly. Perhaps it is a
+ -- good idea to tweak garbage collection during the
+ -- generator loop.
collectgarbage("collect")
collectgarbage("stop")