rppicomidi
0d080ca7ba
Delete debugging printf
2025-07-23 06:42:05 -07:00
rppicomidi
673a916cd0
Fix #3159 : Handle MIDI interface descriptor after audio streaming interface
2025-07-23 06:42:05 -07:00
rppicomidi
3324a327cb
Fix #3033 : address review comment
2025-03-21 07:14:10 -07:00
rppicomidi
b0def52f45
Move misplaced statement
2025-03-21 07:13:01 -07:00
rppicomidi
4b46493cb4
Fix #3033 : Increase array bounds and test for overflow
2025-03-20 06:27:23 -07:00
rppicomidi
05e4f8b777
Move iInterface per review comment
2025-03-19 05:57:01 -07:00
rppicomidi
62f00bdf5d
Fix compiler conversion error warning
2025-03-18 07:42:47 -07:00
rppicomidi
5ecea4eefe
fix tuh_midi_itf_get_info() desc->iInterface value
2025-03-18 07:41:49 -07:00
rppicomidi
31b3a2f63b
Fix 3031: implement tuh_midi_itf_get_info()
2025-03-17 07:41:51 -07:00
rppicomidi
b80800f182
Only clear stream_read & stream_write if they are defined
2025-03-13 10:04:56 -07:00
hathach
ee234a84ca
hack: force/overwrite endpoint mps to 64 for device that incorrectly report 512 bytes for bulk in fullspeed mode.
2025-03-06 11:03:47 +07:00
hathach
39e6375b74
midi host: skip rx data with all zeroes
2025-03-06 10:26:45 +07:00
hathach
d132044b75
add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()
...
change tuh_midi_rx/tx_cb() to have xferred_bytes
rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count()
use default empty callback instead of weak null to be compatible with keil compiler
2025-02-24 16:05:31 +07:00
hathach
56e84bd1a6
add desc_audio_control to midi descriptor callback
2025-02-24 14:40:32 +07:00
hathach
8c70475c23
change API to take index instead of dev address, this allow to support more than 1 midi per device.
2025-02-24 12:39:02 +07:00
hathach
71e046d9ff
add tuh_midi_descriptor_cb()
2025-02-24 10:55:03 +07:00
hathach
b12c8a9012
remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for application to parse/extract this information if needed
...
rename tuh_midi_configure() to mounted() for consistency
2025-02-21 17:31:13 +07:00
hathach
997771fdba
- rename tuh_midi_stream_flush() to tuh_midi_write_flush()
...
- add tuh_midi_packet_read_n() and tuh_midi_packet_write_n()
- add CFG_TUH_MIDI_STREAM_API to opt out stream API
2025-02-14 16:21:48 +07:00
hathach
31a2696de7
- change signature of tuh_midi_mount/umount_cb()
...
- rename midi_stream_t to midi_driver_stream_t and move to midi.h (common for device and host)
2025-02-14 11:25:50 +07:00
hathach
ed88fc983f
- remove tuh_midi_read_poll(), auto schedule EP in when set_config() and xfer_cb as well as ep read()
...
- de-dup tuh_midi_get_num_rx/tx_cables
- add tuh_midi_read_available()
2025-02-14 10:41:05 +07:00
hathach
bad6cbe489
update midi host to use endpoint stream API
2025-02-13 15:54:31 +07:00
hathach
e0b192b633
- use CFG_TUH_MIDI as number of midi host instance
...
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12 22:16:08 +07:00
hathach
7c405236cf
fix host midi build
2025-02-12 11:50:57 +07:00
hathach
294fb268d7
pre-commit fix
2025-02-12 11:39:26 +07:00
atoktoto
89eac75085
Explicit type conversion
2022-11-21 13:49:43 +01:00
atoktoto
3ba0311078
Explicit type conversion
2022-11-21 12:36:50 +01:00
atoktoto
34729b1dc4
Fix usb-hub data transfer problems by AndrewCapon
2022-11-21 10:29:26 +01:00
atoktoto
0a844f2a30
Fix usb hubs
2022-11-19 18:08:31 +01:00
atoktoto
21e003af22
Added explicit conversions
2022-11-13 14:38:33 +01:00
atok
19563b4414
Simple MIDI rx example
2022-11-13 14:31:12 +01:00
atok
4fbf99621d
Get rid of implicit uint conversions
2022-11-13 14:30:53 +01:00
rppicomidi
2ddd74fada
Add MIDI host support to tinyusb
2022-11-13 14:29:16 +01:00