- void set_from_xml (ContentList const &, boost::shared_ptr<const cxml::Node>);
-
- struct Channel {
- Channel (boost::weak_ptr<const AudioContent> c, int i)
- : content (c)
- , index (i)
- {}
-
- boost::weak_ptr<const AudioContent> content;
- int index;
- };
-
- void add (Channel, libdcp::Channel);
-
- int dcp_channels () const;
- std::list<Channel> dcp_to_content (libdcp::Channel) const;
- std::list<std::pair<Channel, libdcp::Channel> > content_to_dcp () const {
- return _content_to_dcp;
+
+ void make_zero ();
+ void make_default (AudioProcessor const * processor, boost::optional<boost::filesystem::path> filename = boost::optional<boost::filesystem::path>());
+
+ void set (int input_channel, int output_channel, float);
+ float get (int input_channel, int output_channel) const;
+
+ int input_channels () const {
+ return _input_channels;
+ }
+
+ int output_channels () const {
+ return _output_channels;