add chan-mapping count/size()
[ardour.git] / libs / ardour / ardour / chan_mapping.h
index f73408baec7071b423038b3cc0622534ac385ba9..88cdf44408aac0084fbd46c69722492164681bc0 100644 (file)
@@ -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