allow to include solo,mute buttons on meterbridge
[ardour.git] / libs / ardour / ardour / chan_count.h
index 5903a2f2d56f335337d07c2df2623ed187f03b60..c4f3caef6b3fbeb256ebc79dd3211bbda28b4617 100644 (file)
@@ -54,6 +54,8 @@ public:
        void     set(DataType t, uint32_t count) { assert(t != DataType::NIL); _counts[t] = count; }
        uint32_t get(DataType t) const { assert(t != DataType::NIL); return _counts[t]; }
 
+       inline uint32_t n (DataType t) const { return _counts[t]; }
+
        inline uint32_t n_audio() const { return _counts[DataType::AUDIO]; }
        inline void set_audio(uint32_t a) { _counts[DataType::AUDIO] = a; }