diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-04-11 14:55:33 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-04-11 14:59:27 +0200 |
commit | 1a86ac921e28ae259d3ec2125812fdf5e3b75f1f (patch) | |
tree | 905cc44b766552f36f91bc6e9a9940b43398b1d4 /applause.lua | |
parent | e9f20b8a1a3e58c8832bf4bc74afb1c7917fd07e (diff) | |
download | applause2-1a86ac921e28ae259d3ec2125812fdf5e3b75f1f.tar.gz |
stop garbage collector temporarily during play()
This improves the real-time properties of sample generation
since it avoids CPU spkikes.
On the other hand, this may not be ideal as playing a long streams could have
non-constant space requirements now.
A proper solution would probably involve calling the garbage collector incrementally
during the play() loop.
Diffstat (limited to 'applause.lua')
0 files changed, 0 insertions, 0 deletions