summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/chan_mapping.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-01 22:54:00 +0200
committerRobin Gareus <robin@gareus.org>2016-04-01 22:57:56 +0200
commitc25962aa7ed14573de1f7839b00bf67bc9e7e03f (patch)
tree6cea07d02c16f8fe1c03308f90347f86faacbbbd /libs/ardour/ardour/chan_mapping.h
parent91c7845d409665e54d78c9325c36aa8926b82669 (diff)
add chan-mapping count/size()
Diffstat (limited to 'libs/ardour/ardour/chan_mapping.h')
-rw-r--r--libs/ardour/ardour/chan_mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/chan_mapping.h b/libs/ardour/ardour/chan_mapping.h
index f73408baec..88cdf44408 100644
--- a/libs/ardour/ardour/chan_mapping.h
+++ b/libs/ardour/ardour/chan_mapping.h
@@ -86,6 +86,8 @@ public:
*/
bool is_monotonic () const;
+ uint32_t count () const;
+
/** Test if this mapping is a subset
* @param superset to test against
* @returns true if all mapping are also present in the superset