summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-03-20 20:06:03 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-03-23 20:17:53 +0100
commita6c134a82143acd32f80b2f9679f8fcf194a5402 (patch)
treeda8da776f2a5ea8533641a886ee7c963c016f95b /src/instrument.h
parent7860651ee543385bb6d1c229312b20e78150f118 (diff)
Add file counter methods to DrumKit and Instrument classes.
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h3
1 files changed, 3 insertions, 0 deletions
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;