#include <ostream>
#include <utility>
+#include "pbd/xml++.h"
#include "ardour/data_type.h"
#include "ardour/chan_count.h"
ChanMapping() {}
ChanMapping(ARDOUR::ChanCount identity);
ChanMapping(const ChanMapping&);
+ ChanMapping(const XMLNode& node);
uint32_t get(DataType t, uint32_t from, bool* valid) const;
*/
bool is_monotonic () const;
- uint32_t count () const;
+ uint32_t n_total () const;
+
+ ChanCount count () const;
+
+ XMLNode* state(const std::string& name) const;
/** Test if this mapping is a subset
* @param superset to test against