diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-16 20:55:41 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-16 20:55:41 +0100 |
commit | d98eca6811308ddb3162c23e723cca98f574af2a (patch) | |
tree | d60635643d3f339088a624e5bab930a6125ddb03 /scripts/_amp3.lua | |
parent | a2094b6831edb25cf6dd1409ceee7bd0c56ece0d (diff) |
Update scripts to use == operator
Diffstat (limited to 'scripts/_amp3.lua')
-rw-r--r-- | scripts/_amp3.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/_amp3.lua b/scripts/_amp3.lua index bb1a589b27..006a22afbb 100644 --- a/scripts/_amp3.lua +++ b/scripts/_amp3.lua @@ -38,7 +38,7 @@ function dsp_run (ins, outs, n_samples) local gain = ARDOUR.DSP.dB_to_coefficient (ctrl[1]) assert (#ins == #outs) -- ensure that we can run in-place (channel count matches) for c = 1,#ins do - assert (ins[c]:sameinstance(outs[c])) -- check in-place + assert (ins[c] == outs[c]) -- check in-place ARDOUR.DSP.apply_gain_to_buffer (ins[c], n_samples, gain); -- process in-place end end |