projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870a574
)
Mention delay in timeline audio views.
author
Carl Hetherington
<cth@carlh.net>
Wed, 4 Jul 2018 23:48:58 +0000
(
00:48
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 4 Jul 2018 23:48:58 +0000
(
00:48
+0100)
src/wx/timeline_audio_content_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline_audio_content_view.cc
b/src/wx/timeline_audio_content_view.cc
index 330196a97317f17851f3ae5dd605e334ff1ddddb..3ae0fdb45e07134e940ab04e8ddd3ed00d5f9052 100644
(file)
--- 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 += " → ";