Handle multiple audio streams in a single piece of content
[dcpomatic.git] / src / lib / audio_mapping.h
index bac2b10b0a4b77cef32ccfe6c7bf9984d38d3462..e37beaeb26eb77dce33fd0a75a7ab8dee51d1086 100644 (file)
@@ -64,6 +64,11 @@ public:
                return _content_channels;
        }
 
+       void set_name (int channel, std::string name);
+       std::string name (int channel) const {
+               return _name[channel];
+       }
+
        std::string digest () const;
 
        std::list<dcp::Channel> mapped_dcp_channels () const;
@@ -71,9 +76,11 @@ public:
        
 private:
        void setup (int);
+       void make_zero ();
        
        int _content_channels;
        std::vector<std::vector<float> > _gain;
+       std::vector<std::string> _name;
 };
 
 #endif