summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-06 23:21:03 +0200
committercah <cth@carlh.net>2025-07-10 22:49:00 +0200
commit370d9dcda402a59ee27dfd06c12ff96ddd3c881e (patch)
tree2f4b5c303841e4dd4518eafb85ad0d53d5577b11 /src/lib
parent82ec497e1cd3574e3f589abb898c440f5506f14b (diff)
Mention audio processor in the audio matrix.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc12
-rw-r--r--src/lib/film.h1
2 files changed, 13 insertions, 0 deletions
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<NamedChannel> audio_output_names() const;
+ std::string audio_output_name() const;
void repeat_content(ContentList, int);