diff options
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r-- | src/drumgizmo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index bd729ab..85624ca 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -391,7 +391,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<std::mutex> guard(af.mutex); + const std::lock_guard<std::mutex> guard(af.mutex); renderSampleEvent(sample_event, pos, s, sz); |