From c25962aa7ed14573de1f7839b00bf67bc9e7e03f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 1 Apr 2016 22:54:00 +0200 Subject: add chan-mapping count/size() --- libs/ardour/ardour/chan_mapping.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour/chan_mapping.h') 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 -- cgit v1.2.3