Update scripts to use == operator

This commit is contained in:
Robin Gareus
2017-03-16 20:55:41 +01:00
parent a2094b6831
commit d98eca6811
7 changed files with 7 additions and 7 deletions

View File

@@ -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