Align printed port/latencies in debug script output
This commit is contained in:
parent
2c4a2fc6fa
commit
bc4eb334d9
@ -17,7 +17,7 @@ function factory () return function ()
|
||||
print (" -- Routes --")
|
||||
for t in Session:get_routes ():iter () do
|
||||
print (string.format ("%-30s signal-latency: %4d align: %4d play: %4d || in: %4d out: %4d",
|
||||
t:name(),
|
||||
string.sub (t:name(), 0, 30),
|
||||
t:signal_latency (), t:playback_latency (false), t:playback_latency (true),
|
||||
t:input():latency(), t:output():latency()))
|
||||
local i = 0
|
||||
@ -55,7 +55,7 @@ function factory () return function ()
|
||||
local bpl = p:public_latency_range (true)
|
||||
local bcl = p:public_latency_range (false)
|
||||
print (string.format ("%-30s play: (%4d, %4d) (%4d, %4d) (%4d, %4d) capt: (%4d, %4d) (%4d, %4d) (%4d, %4d)",
|
||||
p:name(),
|
||||
string.sub (p:name(), 0, 30),
|
||||
lp[1].min, lp[1].max, ppl.min, ppl.max, bpl.min, bpl.max,
|
||||
lc[1].min, lc[1].max, pcl.min, pcl.max, bcl.min, bcl.max))
|
||||
end
|
||||
@ -69,7 +69,7 @@ function factory () return function ()
|
||||
local bpl = p:public_latency_range (true)
|
||||
local bcl = p:public_latency_range (false)
|
||||
print (string.format ("%-30s play: (%4d, %4d) (%4d, %4d) (%4d, %4d) capt: (%4d, %4d) (%4d, %4d) (%4d, %4d)",
|
||||
p:name(),
|
||||
string.sub (p:name(), 0, 30),
|
||||
lp[1].min, lp[1].max, ppl.min, ppl.max, bpl.min, bpl.max,
|
||||
lc[1].min, lc[1].max, pcl.min, pcl.max, bcl.min, bcl.max))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user