diff options
| author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-13 00:11:47 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-13 00:11:47 +0200 |
| commit | 30d608defaca15d1010977493def1758a1f07e67 (patch) | |
| tree | 6881d67243e6020d2dcad9441dff0592a9d325c2 | |
| parent | 5f1fb7e7684310ebfe27467a15af132c709eaeb4 (diff) | |
playing has become an enum
| -rw-r--r-- | engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | } |
