X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_audio_content_view.cc;fp=src%2Fwx%2Ftimeline_audio_content_view.cc;h=3ae0fdb45e07134e940ab04e8ddd3ed00d5f9052;hb=d14bb2114d0e4cf8d45ea9cc6c1775ba17fa35f3;hp=330196a97317f17851f3ae5dd605e334ff1ddddb;hpb=870a574324d28d4b2a4574e33de5c690a0ed55ad;p=dcpomatic.git diff --git a/src/wx/timeline_audio_content_view.cc b/src/wx/timeline_audio_content_view.cc index 330196a97..3ae0fdb45 100644 --- a/src/wx/timeline_audio_content_view.cc +++ b/src/wx/timeline_audio_content_view.cc @@ -62,6 +62,12 @@ TimelineAudioContentView::label () const s += wxString::Format (" %.1fdB", ac->gain()); } + if (ac->delay() > 0) { + s += wxString::Format (_(" delayed by %dms"), ac->delay()); + } else if (ac->delay() < 0) { + s += wxString::Format (_(" advanced by %dms"), -ac->delay()); + } + list mapped = ac->mapping().mapped_output_channels(); if (!mapped.empty ()) { s += " → ";