diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-15 20:21:35 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-15 21:17:08 +0300 |
commit | 0b47e7cf9bb7b77fa28a02aea1964540b81a7c84 (patch) | |
tree | b1b0be0317d594cac680bf69d3857253f7f0341c /applause.lua | |
parent | 7fc0f17fb37326c86a83627b856a5b75f522c090 (diff) | |
download | applause2-0b47e7cf9bb7b77fa28a02aea1964540b81a7c84.tar.gz |
documentation update
Diffstat (limited to 'applause.lua')
-rw-r--r-- | applause.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/applause.lua b/applause.lua index 08d0415..2d86aa6 100644 --- a/applause.lua +++ b/applause.lua @@ -90,7 +90,7 @@ end samplerate = 44100 --- Convert seconds to sample numbers --- These are functions, so we can round the result +-- These are functions, so we can round the result. -- automatically. -- @number[opt=1] x Number of seconds -- @treturn int Number of samples @@ -1709,7 +1709,9 @@ function SubStream:gtick() -- overwritable gtick_seek(). Problem as always is that -- this would have to chain to substreams. -- Perhaps, it would be wiser to let this be handled by - -- an optimizer stage that resolves Stream:sub-calls. + -- an optimizer stage that resolves Stream:sub()-calls. + -- @fixme Actually, this is plain wrong and does not work + -- if self.stream is cached. for _ = 1, self.i-1 do tick() end local i = self.i |