summaryrefslogtreecommitdiff
path: root/scripts/_osc_hook_example.lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-27 05:03:10 +0200
committerRobin Gareus <robin@gareus.org>2017-09-27 05:03:10 +0200
commiteb928b05e98260d6e2079b104b75267058633a1d (patch)
tree3f4d2300a70ebfac4bd067477e660eff84f6d670 /scripts/_osc_hook_example.lua
parent53fb2f62353e48a71896da0d4e54ee394e917f86 (diff)
More s/frame/sample/ -- Lua Scripts
Sadly this breaks existing loaded scripts. C'est la vie.
Diffstat (limited to 'scripts/_osc_hook_example.lua')
-rw-r--r--scripts/_osc_hook_example.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/_osc_hook_example.lua b/scripts/_osc_hook_example.lua
index fdcda4b44f..5ee0974268 100644
--- a/scripts/_osc_hook_example.lua
+++ b/scripts/_osc_hook_example.lua
@@ -39,7 +39,7 @@ function factory (params)
tx:send ("/session/solo_changed", "")
elseif (signal == LuaSignal.TransportStateChange) then
tx:send ("/session/transport", "if",
- Session:transport_frame(), Session:transport_speed())
+ Session:transport_sample(), Session:transport_speed())
elseif (signal == LuaSignal.RegionPropertyChanged) then
obj,pch = ...
tx:send ("/region_property_changed", "sTTiii",