summaryrefslogtreecommitdiff
path: root/scripts/stop_at_marker.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/stop_at_marker.lua
parent53fb2f62353e48a71896da0d4e54ee394e917f86 (diff)
More s/frame/sample/ -- Lua Scripts
Sadly this breaks existing loaded scripts. C'est la vie.
Diffstat (limited to 'scripts/stop_at_marker.lua')
-rw-r--r--scripts/stop_at_marker.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/stop_at_marker.lua b/scripts/stop_at_marker.lua
index f710a9f205..32205432f9 100644
--- a/scripts/stop_at_marker.lua
+++ b/scripts/stop_at_marker.lua
@@ -13,7 +13,7 @@ function factory ()
return
end
- local pos = Session:transport_frame () -- current playhead position
+ local pos = Session:transport_sample () -- current playhead position
local loc = Session:locations () -- all marker locations
-- find first marker after the current playhead position, ignore loop + punch ranges