update lua script to use new remote_id lookup API

This commit is contained in:
Robin Gareus
2016-05-31 23:51:05 +02:00
parent a03217c27f
commit d47fb0ccaf
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ function factory () return function ()
local samplerate = Session:nominal_frame_rate ()
-- get Track/Bus with RID 3
local r = Session:route_by_remote_id(3)
local r = Session:get_remote_nth_route(3)
-- make sure the track object exists
assert (not r:isnil ())