Video-Frame (not sample)
[ardour.git] / scripts / stop_at_marker.lua
index f710a9f2057a88e4e46bfc90736b1ad5e305f185..32205432f9ba223bef946c572da09c55c46514d8 100644 (file)
@@ -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