mirror of https://github.com/nealey/hdjd.git
remove some debugging
This commit is contained in:
parent
0f33b2745d
commit
c0eb65b4e6
2
alsa.c
2
alsa.c
|
@ -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
2
usb.c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue