summaryrefslogtreecommitdiff
path: root/src/drumkit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumkit.h')
-rw-r--r--src/drumkit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drumkit.h b/src/drumkit.h
index 0ea5e26..ae3a49b 100644
--- a/src/drumkit.h
+++ b/src/drumkit.h
@@ -53,7 +53,7 @@ public:
bool isValid() const;
- std::size_t getSamplerate() const;
+ float getSamplerate() const;
//! Get the number of audio files (as in single channel) in this drumkit.
std::size_t getNumberOfFiles() const;
@@ -67,7 +67,7 @@ private:
std::string _name;
std::string _description;
- std::size_t _samplerate{0};
+ float _samplerate{44100.0f};
VersionStr _version;
};