mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Re-use existing latency display method
This commit is contained in:
parent
42fef35299
commit
2fc90b0bdd
1 changed files with 1 additions and 3 deletions
|
|
@ -299,9 +299,7 @@ RouteParams_UI::setup_latency_frame ()
|
|||
{
|
||||
latency_widget = new LatencyGUI (*(_route->output()), _session->sample_rate(), AudioEngine::instance()->samples_per_cycle());
|
||||
|
||||
char buf[128];
|
||||
snprintf (buf, sizeof (buf), _("Latency: %" PRId64 " samples"), _route->signal_latency());
|
||||
delay_label.set_text (buf);
|
||||
refresh_latency ();
|
||||
|
||||
latency_packer.pack_start (*latency_widget, false, false);
|
||||
latency_packer.pack_start (delay_label, false, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue