From 43da08a1e3620cc296d27ef5cdf387693b063c68 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 16 Feb 2020 21:36:24 +0100 Subject: Fix style, minor code fixes, and add review comments. --- src/drumgizmo.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drumgizmo.cc') diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 6b01be2..fcc54ad 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -357,6 +357,7 @@ void DrumGizmo::getSamples(int ch, int pos, sample_t* s, size_t sz) } { + // TODO: We should make all audiofiles reference counted and get rid of this lock. std::lock_guard guard(af.mutex); renderSampleEvent(sample_event, pos, s, sz); -- cgit v1.2.3