Update scripts to use == operator
This commit is contained in:
@@ -66,7 +66,7 @@ function dsp_run (ins, outs, n_samples)
|
||||
for c = 1,#ins do -- process all channels
|
||||
-- check if output and input buffers for this channel are identical
|
||||
-- http://manual.ardour.org/lua-scripting/class_reference/#C:FloatArray
|
||||
if not ins[c]:sameinstance (outs[c]) then
|
||||
if ins[c] ~= outs[c] then
|
||||
-- http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:DSP
|
||||
ARDOUR.DSP.copy_vector (outs[c]:offset (off), ins[c]:offset (off), siz)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user