summaryrefslogtreecommitdiff
path: root/engine.c
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.fritz.box>2016-08-13 00:11:47 +0200
committererdgeist <erdgeist@bauklotz.fritz.box>2016-08-13 00:11:47 +0200
commit30d608defaca15d1010977493def1758a1f07e67 (patch)
tree6881d67243e6020d2dcad9441dff0592a9d325c2 /engine.c
parent5f1fb7e7684310ebfe27467a15af132c709eaeb4 (diff)
playing has become an enum
Diffstat (limited to 'engine.c')
-rw-r--r--engine.c2
1 files changed, 1 insertions, 1 deletions
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)
215 continue; 215 continue;
216 if (s->playing && (monotime - s->last_time_seen > tts)) { 216 if (s->playing && (monotime - s->last_time_seen > tts)) {
217 midi_silencenote(s->channel, s->note, s->octave); 217 midi_silencenote(s->channel, s->note, s->octave);
218 s->playing = 0; 218 s->playing = silent;
219 } 219 }
220 } 220 }
221} 221}