summaryrefslogtreecommitdiff
path: root/src/drumkit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumkit.cc')
-rw-r--r--src/drumkit.cc4
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;
}