*/
+/** @file src/lib/audio_mapping.h
+ * @brief AudioMapping class.
+ */
+
#ifndef DCPOMATIC_AUDIO_MAPPING_H
#define DCPOMATIC_AUDIO_MAPPING_H
-#include <vector>
+#include <libcxml/cxml.h>
#include <dcp/types.h>
#include <boost/shared_ptr.hpp>
+#include <vector>
namespace xmlpp {
class Node;
class Node;
}
-/** A many-to-many mapping from some content channels to DCP channels.
+/** @class AudioMapping.
+ * @brief A many-to-many mapping from some content channels to DCP channels.
+ *
* The number of content channels is set on construction and fixed,
* and then each of those content channels are mapped to each DCP channel
* by a linear gain.
public:
AudioMapping ();
AudioMapping (int channels);
- AudioMapping (boost::shared_ptr<const cxml::Node>, int);
+ AudioMapping (cxml::ConstNodePtr, int);
/* Default copy constructor is fine */
int content_channels () const {
return _content_channels;
}
+
+ std::string digest () const;
private:
void setup (int);