From 30d608defaca15d1010977493def1758a1f07e67 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 13 Aug 2016 00:11:47 +0200 Subject: playing has become an enum --- engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine.c') diff --git a/engine.c b/engine.c index 2c3a43c..4410a54 100644 --- a/engine.c +++ b/engine.c @@ -215,7 +215,7 @@ engine_checksilence(uint32_t monotime) continue; if (s->playing && (monotime - s->last_time_seen > tts)) { midi_silencenote(s->channel, s->note, s->octave); - s->playing = 0; + s->playing = silent; } } } -- cgit v1.2.3