diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-05 23:38:04 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-05 23:39:23 +0300 |
commit | 89f29a537c48fd3b8b6549b2e32aa07790d40412 (patch) | |
tree | 45ae603453b9b09e782a034de3d63a7e8aefbe2a | |
parent | 05dab37fe1559d0bcbe089ea519ca0118ef25d13 (diff) | |
download | applause2-89f29a537c48fd3b8b6549b2e32aa07790d40412.tar.gz |
sampleCache should be global so that the other Lua modules can access it directly as well
-rw-r--r-- | applause.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applause.lua b/applause.lua index e80f6c0..20bce20 100644 --- a/applause.lua +++ b/applause.lua @@ -91,7 +91,7 @@ function msec(x) return sec((x or 1)/1000) end -- The sample cache used to implement CachedStream. -- We don't know how large it must be, but once it is -- allocated we only table.clear() it. -local sampleCache = {} +sampleCache = {} -- Reload the main module: Useful for hacking it without -- restarting applause |