diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-08-06 20:20:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-08-07 20:34:08 +0200 |
commit | 400959b536180cf8912f06dd80b4de077d8f8c74 (patch) | |
tree | 2c06ed49aa8d001ddad2603ef332d8655d00741a /src/drumkit.cc | |
parent | 3f5252e0144766e68968d0930e8497b5d7d42e73 (diff) |
New resampler implementation.
Diffstat (limited to 'src/drumkit.cc')
-rw-r--r-- | src/drumkit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drumkit.cc b/src/drumkit.cc index e557de1..61fabf6 100644 --- a/src/drumkit.cc +++ b/src/drumkit.cc @@ -45,7 +45,7 @@ void DrumKit::clear() _name = ""; _description = ""; - _samplerate = 44100; + _samplerate = 44100.0f; } bool DrumKit::isValid() const @@ -73,7 +73,7 @@ VersionStr DrumKit::getVersion() const return _version; } -std::size_t DrumKit::getSamplerate() const +float DrumKit::getSamplerate() const { return _samplerate; } |