summaryrefslogtreecommitdiff
path: root/src/drumkit.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-06 20:20:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-07 20:34:08 +0200
commit400959b536180cf8912f06dd80b4de077d8f8c74 (patch)
tree2c06ed49aa8d001ddad2603ef332d8655d00741a /src/drumkit.h
parent3f5252e0144766e68968d0930e8497b5d7d42e73 (diff)
New resampler implementation.
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;
};