#define DCPOMATIC_AUDIO_MAPPING_H
#include <libcxml/cxml.h>
-#include <dcp/types.h>
-#include <boost/shared_ptr.hpp>
#include <vector>
namespace xmlpp {
class Node;
}
-namespace cxml {
- class Node;
-}
-
/** @class AudioMapping.
* @brief A many-to-many mapping of audio channels.
*/
AudioMapping (cxml::ConstNodePtr, int);
/* Default copy constructor is fine */
-
+
void as_xml (xmlpp::Node *) const;
void make_zero ();
int output_channels () const {
return _output_channels;
}
-
+
std::string digest () const;
std::list<int> mapped_output_channels () const;
void unmap_all ();
-
+
private:
void setup (int input_channels, int output_channels);