commit 59c25bee44803251d96ded2998ccbf6a5a545101
parent c5700508eaba3129491e5fa1491d84bab89e931f
Author: prenev <an2qzavok@gmail.com>
Date: Sun, 12 Sep 2021 00:22:07 +0300
clean up codes
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/tty2midi.c b/tty2midi.c
@@ -60,12 +60,8 @@ main(void)
while(1) {
unsigned char buf[1024];
int n, r;
- /* TODO: add poll(2) */
if ((n = read(tf, buf, 1)) == 0) continue;
- //fprintf(stderr, "%x %x %x\t", buf[0],
- // buf[1], buf[2]);
-
snd_seq_ev_clear(&ev);
snd_seq_ev_set_subs(&ev);
snd_seq_ev_set_direct(&ev);