summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-18 19:16:40 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-18 19:16:40 +0200
commitff36b44d2182fc51be7bd4c1e06a29b0b403fd89 (patch)
treecb4a5a920c339a626a39c13135cca68bb9ed3a7f /src
parentb9320168471fd6cdbf37b16ad3816c9fefa752b9 (diff)
Reset audition counter so it doesn't fire on the first run() call.
Diffstat (limited to 'src')
-rw-r--r--src/drumgizmo.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index d15b192..2c543cd 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -54,6 +54,7 @@ DrumGizmo::DrumGizmo(Settings& settings,
events.reserve(1000);
loader.init();
setSamplerate(44100.0f);
+ settings_getter.audition_counter.hasChanged(); // Reset audition_counter
}
DrumGizmo::~DrumGizmo()