summaryrefslogtreecommitdiff
path: root/drumgizmo/output/outputdummy.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-01 16:54:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-01 17:04:12 +0200
commit857da27194ea621734be7df4c1d940992dbb26e9 (patch)
tree8698f4347b1a1ac0c1133533963b64f7eb041eaf /drumgizmo/output/outputdummy.cc
parent982aad68eedfcd70a19864c31255e70a34876db4 (diff)
Remove the last references to hardcoded 44k1Hz samplerate.
Diffstat (limited to 'drumgizmo/output/outputdummy.cc')
-rw-r--r--drumgizmo/output/outputdummy.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/drumgizmo/output/outputdummy.cc b/drumgizmo/output/outputdummy.cc
index eef61b8..1b98896 100644
--- a/drumgizmo/output/outputdummy.cc
+++ b/drumgizmo/output/outputdummy.cc
@@ -64,6 +64,11 @@ void DummyOutputEngine::post(size_t nsamples)
{
}
+std::size_t DummyOutputEngine::getSamplerate() const
+{
+ return 44100;
+}
+
bool DummyOutputEngine::isFreewheeling() const
{
return true;