diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-05 00:48:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-05 00:48:58 +0100 |
| commit | d14bb2114d0e4cf8d45ea9cc6c1775ba17fa35f3 (patch) | |
| tree | 67ff7c84cb52ed0630c623c9f5e35b5ad04d274e | |
| parent | 870a574324d28d4b2a4574e33de5c690a0ed55ad (diff) | |
Mention delay in timeline audio views.
| -rw-r--r-- | src/wx/timeline_audio_content_view.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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<int> mapped = ac->mapping().mapped_output_channels(); if (!mapped.empty ()) { s += " → "; |
