From 400959b536180cf8912f06dd80b4de077d8f8c74 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 6 Aug 2018 20:20:08 +0200 Subject: New resampler implementation. --- src/drumkit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drumkit.h') 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; }; -- cgit v1.2.3