ardour
|
#include <chan_mapping.h>
Public Types | |
typedef std::map< uint32_t, uint32_t > | TypeMapping |
typedef std::map< DataType, TypeMapping > | Mappings |
Public Member Functions | |
ChanMapping () | |
ChanMapping (ARDOUR::ChanCount identity) | |
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) |
Mappings | mappings () |
const Mappings | mappings () const |
Private Attributes | |
Mappings | _mappings |
A mapping from one set of channels to another (e.g. how to 'connect' two BufferSets).
Definition at line 37 of file chan_mapping.h.
typedef std::map<DataType, TypeMapping> ARDOUR::ChanMapping::Mappings |
Definition at line 48 of file chan_mapping.h.
typedef std::map<uint32_t, uint32_t> ARDOUR::ChanMapping::TypeMapping |
Definition at line 47 of file chan_mapping.h.
|
inline |
Definition at line 39 of file chan_mapping.h.
ARDOUR::ChanMapping::ChanMapping | ( | ARDOUR::ChanCount | identity | ) |
Definition at line 30 of file chan_mapping.cc.
uint32_t ARDOUR::ChanMapping::get | ( | DataType | t, |
uint32_t | from, | ||
bool * | valid | ||
) |
Definition at line 44 of file chan_mapping.cc.
|
inline |
Definition at line 50 of file chan_mapping.h.
|
inline |
Definition at line 51 of file chan_mapping.h.
void ARDOUR::ChanMapping::offset_from | ( | DataType | t, |
int32_t | delta | ||
) |
Offset the 'from' field of every mapping for type t by delta
Definition at line 73 of file chan_mapping.cc.
void ARDOUR::ChanMapping::offset_to | ( | DataType | t, |
int32_t | delta | ||
) |
Offset the 'to' field of every mapping for type t by delta
Definition at line 87 of file chan_mapping.cc.
void ARDOUR::ChanMapping::set | ( | DataType | t, |
uint32_t | from, | ||
uint32_t | to | ||
) |
Definition at line 61 of file chan_mapping.cc.
|
private |
Definition at line 54 of file chan_mapping.h.