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/_pong.lua | |
parent | a2094b6831edb25cf6dd1409ceee7bd0c56ece0d (diff) |
Update scripts to use == operator
Diffstat (limited to 'scripts/_pong.lua')
-rw-r--r-- | scripts/_pong.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/_pong.lua b/scripts/_pong.lua index acf3c010c9..8eef49f004 100644 --- a/scripts/_pong.lua +++ b/scripts/_pong.lua @@ -138,7 +138,7 @@ function dsp_run (ins, outs, n_samples) for c = 1,#outs do -- 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 -- fast (accelerated) copy -- http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:DSP ARDOUR.DSP.copy_vector (outs[c], ins[c], n_samples) |