20 #ifndef __ardour_chan_mapping_h__
21 #define __ardour_chan_mapping_h__
42 uint32_t
get(
DataType t, uint32_t from,
bool* valid);
43 void set(
DataType t, uint32_t from, uint32_t to);
44 void offset_from(
DataType t, int32_t delta);
45 void offset_to(
DataType t, int32_t delta);
48 typedef std::map<DataType, TypeMapping>
Mappings;
51 const Mappings
mappings()
const {
return _mappings; }
61 #endif // __ardour_chan_mapping_h__
std::map< DataType, TypeMapping > Mappings
std::ostream & operator<<(std::ostream &o, const ARDOUR::ChanMapping &m)
const Mappings mappings() const
std::map< uint32_t, uint32_t > TypeMapping