/*
- Copyright (C) 2009 Paul Davis
- Author: Dave Robillard
+ Copyright (C) 2009 Paul Davis
+ Author: David Robillard
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
public:
ChanMapping() {}
ChanMapping(ARDOUR::ChanCount identity);
-
- uint32_t get(DataType t, uint32_t from);
+
+ uint32_t get(DataType t, uint32_t from, bool* valid);
void set(DataType t, uint32_t from, uint32_t to);
void offset_from(DataType t, int32_t delta);
void offset_to(DataType t, int32_t delta);
-
+
typedef std::map<uint32_t, uint32_t> TypeMapping;
typedef std::map<DataType, TypeMapping> Mappings;
-
+
Mappings mappings() { return _mappings; }
const Mappings mappings() const { return _mappings; }