use const
[ardour.git] / scripts / _notch_bank.lua
index 619541823d721ffd425e7e81e4134857ecaa25e6..cd1f71bdc6582c8995907f77cebefaacd711b3d8 100644 (file)
@@ -109,7 +109,7 @@ function dsp_run (ins, outs, n_samples)
        -- process all channels
        for c = 1, chn do
                -- when not processing in-place, copy the data from input to output first
-               if not ins[c]:sameinstance (outs[c]) then
+               if ins[c] ~= outs[c] then
                        ARDOUR.DSP.copy_vector (outs[c], ins[c], n_samples)
                end