diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-11 01:15:13 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-11 01:15:13 +0200 |
| commit | cf5e8b79a692d36d00d721ffb464b60491f40492 (patch) | |
| tree | 380b2bdcc58876b5904e7bc05bb980872c37e1eb | |
| parent | c83c90a758645d98c2ad46bda101c6b72a8c4f45 (diff) | |
Add a comment.2862-latency
| -rw-r--r-- | src/wx/film_viewer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 3593d0364..b2788a414 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -710,6 +710,9 @@ FilmViewer::time () const return _video_view->position(); } + /* The audio coming out of the outputs will be older than what we're sending + * because of the output latency. + */ return DCPTime::from_seconds(audio.getStreamTime()) - DCPTime::from_frames (average_latency(), _film->audio_frame_rate()); } |
