From a6c134a82143acd32f80b2f9679f8fcf194a5402 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 20 Mar 2017 20:06:03 +0100 Subject: Add file counter methods to DrumKit and Instrument classes. --- src/instrument.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/instrument.h') diff --git a/src/instrument.h b/src/instrument.h index e61d446..41fe886 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -60,6 +60,9 @@ public: bool isValid() const; + //! Get the number of audio files (as in single channel) in this instrument. + std::size_t getNumberOfFiles() const; + private: void* magic; -- cgit v1.2.3