jepler
96d96a94b8
midi_device: Send message classes C and D as 2 bytes
...
.. sending these as two 1-byte messages with CIN of 0xF is
misinterpreted by OSes including Windows 10 and (reportedly)
Mac.
Testing performed: Ran the reproducer script, which sends Program
Change (0xCx) messages. I did not check with Change Pressure (0xDx)
messages, but expect the same thing.
Closes : #98
2019-08-14 19:15:29 -05:00
hathach
2a543c0e79
update vendor device similar to cdc read/write
...
maybe refactor later
2019-07-24 23:07:30 +07:00
hathach
c63f2b30cb
rename tud_control_vendor_request_cb/complete_cb to tud_vendor_control_request_cb/complete_cb
2019-07-24 09:45:32 +07:00
hathach
33de35504a
more house keeping
2019-07-19 20:20:13 +07:00
hathach
cb4e6837e9
clean up, rename internal driver control_request_complete to simply control_complete
2019-07-12 22:03:40 +07:00
hathach
216ccc6e93
midi only use audio 1.0 without IAD
2019-07-05 16:46:11 +07:00
hathach
1b242cb3c6
clean up
2019-07-04 01:31:56 +07:00
hathach
b0e5a1a9ec
remove tud_midi_write_flush() send asap. rename tud_midi_connected() to tud_midi_mounted()
2019-07-04 01:27:51 +07:00
hathach
50f4c61d7c
fix midi_write prototype
2019-07-03 01:22:41 +07:00
hathach
1a0e02fa1b
tested midi example
2019-07-03 00:52:25 +07:00
hathach
62d3b91691
clean up
2019-07-02 18:23:42 +07:00
hathach
3f3ef6f4e6
clean up
2019-07-02 16:42:12 +07:00
hathach
e702328093
fix compiling
2019-07-01 23:11:16 +07:00
hathach
6991b28532
improving midi support, adding midi exmaple
...
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-07-01 22:38:06 +07:00
hathach
7156bfb54d
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*
2019-06-10 18:46:00 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
da452d4ba6
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
2019-03-27 17:48:42 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
Scott Shawcroft
52abbec7c5
Remove txbuf in favor of fifo.
...
Fifo incurs a second copy into a USB buffer but this ensures the
correct USB buffer alignment. Some LPC chips require 64 byte
alignment that txbuf couldn't do.
2019-01-08 14:10:40 -08:00
Scott Shawcroft
048fc9694c
Split out txbuf and add unit test.
2019-01-04 18:27:00 -08:00
Scott Shawcroft
a3173b8de4
Add USB Midi support.
...
It also introduces a txbuffer which copies data into it but passes
the buffer straight to the USB rather than another copy.
2019-01-04 12:16:27 -08:00