More s/frame/sample/ -- Lua Scripts
[ardour.git] / scripts / _osc_hook_example.lua
index fdcda4b44fdac5c61fe904592eb0fd8a7b25b70a..5ee0974268fdb4b63a82546b4fd68a4f09d0f58a 100644 (file)
@@ -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",