remove some debugging

This commit is contained in:
Neale Pickett 2013-09-15 22:24:08 -06:00
parent 0f33b2745d
commit c0eb65b4e6
2 changed files with 1 additions and 3 deletions

2
alsa.c
View File

@ -77,7 +77,7 @@ alsa_read_ready()
converted = snd_midi_event_decode(midi_event_parser, buf, ALSA_BUFSIZE, ev);
if (converted < 0) {
DUMP_l(converted);
fprintf(stderr, "Can't decode MIDI event type %d\n", ev->type);
} else {
usb_write(buf, converted);
}

2
usb.c
View File

@ -39,7 +39,6 @@ usb_initiate_transfer()
struct libusb_transfer *xfer = libusb_alloc_transfer(0);
libusb_fill_bulk_transfer(xfer, usb_dev, d->ep_in, buf, 256, usb_xfer_done, NULL, 0);
libusb_submit_transfer(xfer);
DUMP();
reads_pending += 1;
}
@ -51,7 +50,6 @@ usb_xfer_done(struct libusb_transfer *xfer)
reads_pending -= 1;
DUMP();
alsa_write(data, datalen);
free(data);
libusb_free_transfer(xfer);