summaryrefslogtreecommitdiff
path: root/src/lib/audio_processor.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-25 22:51:18 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-25 22:51:18 +0200
commitba9fb85168d004d7643dc02f911fd173a136758b (patch)
tree8beb9b26c9bf47dfe933c8e0ccaccb4e30a69286 /src/lib/audio_processor.h
parentd7cf091bdbbeae8187e887104d1135e93bcdf5da (diff)
Add NamedChannel and use it to hide the never-used channels
when mapping into a DCP.
Diffstat (limited to 'src/lib/audio_processor.h')
-rw-r--r--src/lib/audio_processor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/audio_processor.h b/src/lib/audio_processor.h
index 78a3efb58..194c9bf0e 100644
--- a/src/lib/audio_processor.h
+++ b/src/lib/audio_processor.h
@@ -25,6 +25,7 @@
#ifndef DCPOMATIC_AUDIO_PROCESSOR_H
#define DCPOMATIC_AUDIO_PROCESSOR_H
+#include "types.h"
#include <boost/shared_ptr.hpp>
#include <list>
#include <string>
@@ -58,7 +59,7 @@ public:
/** Make the supplied audio mapping into a sensible default for this processor */
virtual void make_audio_mapping_default (AudioMapping& mapping) const = 0;
/** @return the user-visible (translated) names of each of our inputs, in order */
- virtual std::vector<std::string> input_names () const = 0;
+ virtual std::vector<NamedChannel> input_names () const = 0;
static std::list<AudioProcessor const *> all ();
static std::list<AudioProcessor const *> visible ();