diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-04 00:03:46 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-04 00:20:11 +0200 |
commit | 3267b4892c1f971fbc3f613fa32a5476bf70dc62 (patch) | |
tree | 550249279569a3051f718339c9f12a58c86365b7 /scripts/spectrogram.lua | |
parent | b68d537ded0a183975352944039a20fa1212826d (diff) |
update lua scripts
* add proper amplifier (smooth gain change) + text-example
* remove commented no-inplace from High/Low pass
* amend 913609be inline spectrogam re-init
Diffstat (limited to 'scripts/spectrogram.lua')
-rw-r--r-- | scripts/spectrogram.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/spectrogram.lua b/scripts/spectrogram.lua index f82d4fe4bb..980a308f95 100644 --- a/scripts/spectrogram.lua +++ b/scripts/spectrogram.lua @@ -215,6 +215,7 @@ function render_inline (ctx, w, max_h) -- re-create image surface if not img or img:get_width() ~= w or img:get_height () ~= h then img = Cairo.ImageSurface (Cairo.Format.ARGB32, w, h) + line = 0 end local ictx = img:context () |