From cf5e8b79a692d36d00d721ffb464b60491f40492 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 11 Sep 2024 01:15:13 +0200 Subject: Add a comment. --- src/wx/film_viewer.cc | 3 +++ 1 file changed, 3 insertions(+) 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()); } -- cgit v1.2.3