From 370d9dcda402a59ee27dfd06c12ff96ddd3c881e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 6 Jul 2025 23:21:03 +0200 Subject: Mention audio processor in the audio matrix. --- src/lib/film.cc | 12 ++++++++++++ src/lib/film.h | 1 + 2 files changed, 13 insertions(+) (limited to 'src/lib') diff --git a/src/lib/film.cc b/src/lib/film.cc index 46d985e58..4e16e47f2 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1901,6 +1901,18 @@ Film::audio_output_names() const return n; } + +string +Film::audio_output_name() const +{ + if (audio_processor()) { + return fmt::format(_("DCP (via {})"), audio_processor()->name()); + } + + return _("DCP"); +} + + void Film::repeat_content(ContentList c, int n) { diff --git a/src/lib/film.h b/src/lib/film.h index 1af21849e..273e9776b 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -164,6 +164,7 @@ public: } std::vector audio_output_names() const; + std::string audio_output_name() const; void repeat_content(ContentList, int); -- cgit v1.2.3