fix typo in 9702020
[ardour.git] / scripts / s_chanmap.lua
index fd5e006c8dafbe6488aa3c0ff230811aaf31ac4b..7bc070c8cc847884088ae8093e5b363dd94d16fb 100644 (file)
@@ -16,7 +16,7 @@ function factory () return function ()
                r:add_processor_by_index(proc, 0, nil, true)
        end
 
-       r = Session:route_by_remote_id(1)
+       r = Session:get_remote_nth_route(1)
        checksetup (r)
        pi = r:nth_plugin(0):to_insert()