mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Honor the current start position when exporting chapter marks
This commit is contained in:
parent
79db200bdb
commit
3a2b577719
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ function factory (unused_params) return function ()
|
||||||
if not l:is_mark() or string.find(name, "^xrun%d*$") then
|
if not l:is_mark() or string.find(name, "^xrun%d*$") then
|
||||||
goto next end
|
goto next end
|
||||||
|
|
||||||
local t = l:start()
|
local t = l:start() - Session:current_start_sample()
|
||||||
local h = math.floor(t / (3600*fr))
|
local h = math.floor(t / (3600*fr))
|
||||||
local r = t - (h*3600*fr)
|
local r = t - (h*3600*fr)
|
||||||
local m = math.floor(r / (60*fr))
|
local m = math.floor(r / (60*fr))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue