diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-01 15:30:23 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-01 21:00:39 +0200 |
commit | 9774762dd014bed4f4e3c4ac142a7b9634944fe4 (patch) | |
tree | 684d1587b8a2ac2e1a9b7bd195090743cba4f74b /src/drumgizmo.h | |
parent | 32ad5ff14a03cdf049903523603c6b7a83dd7a5a (diff) |
Update underrun counter directly in AudioCache.
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r-- | src/drumgizmo.h | 7 |
1 files changed, 4 insertions, 3 deletions
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<std::string, AudioFile *> 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<event_t> events; Settings& settings; + Random rand; }; |