From 9774762dd014bed4f4e3c4ac142a7b9634944fe4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 1 Apr 2017 15:30:23 +0200 Subject: Update underrun counter directly in AudioCache. --- src/drumgizmo.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/drumgizmo.h') diff --git a/src/drumgizmo.h b/src/drumgizmo.h index b104772..e74d1b5 100644 --- a/src/drumgizmo.h +++ b/src/drumgizmo.h @@ -92,14 +92,15 @@ protected: std::map audiofiles; - AudioCache audioCache; + AudioCache audio_cache; DrumKit kit; InputProcessor input_processor; - size_t framesize; - bool freewheel; + size_t framesize{0}; + bool freewheel{true}; std::vector events; Settings& settings; + Random rand; }; -- cgit v1.2.3