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/_smash.lua | |
parent | a2094b6831edb25cf6dd1409ceee7bd0c56ece0d (diff) |
Update scripts to use == operator
Diffstat (limited to 'scripts/_smash.lua')
-rw-r--r-- | scripts/_smash.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/_smash.lua b/scripts/_smash.lua index cdb1938a26..2ebcac19aa 100644 --- a/scripts/_smash.lua +++ b/scripts/_smash.lua @@ -11,7 +11,7 @@ end function dsp_run (ins, outs, n_samples) for c = 1, #outs do -- for each output channel (count from 1 to number of output channels) - if not ins[c]:sameinstance (outs[c]) then -- if processing is not in-place.. + if ins[c] ~= outs[c] then -- if processing is not in-place.. ARDOUR.DSP.copy_vector (outs[c], ins[c], n_samples) -- ..copy data from input to output. end |