summaryrefslogtreecommitdiff
path: root/src/class/midi
AgeCommit message (Collapse)Author
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-04-18Merge pull request #1920 from mikee47/fix/midi-definitionHa Thach
MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFF
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-27Merge pull request #1852 from silvergasp/mem_sHa Thach
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27minor clean uphathach
2023-02-22MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFFmikee47
2023-02-15Fix issue 1909rppicomidi
2023-01-13fix: Replace device calls to memcpy with tu_memcpy_sNathaniel Brough
Introduces a new function tu_memcpy_s, which is effectively a backport of memcpy_s. The change also refactors calls to memcpy over to the more secure tu_memcpy_s.
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2021-10-25properly handle Program Change and Channel Aftertouch messagesTod Kurt
2021-10-18fix -Wnull-dereference in midi_devicehathach
2021-08-02fix warninghathach
2021-08-02correct midi available with already stream readhathach
2021-07-13fix midi stream write return value (off by 1)hathach
2021-06-21fix issue when calling midi API when not enumerated yethathach
2021-05-27include clean uphathach
2021-04-03Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
2021-04-02correct midi stream read behavior to read until user buffer is full or no ↵hathach
more data from usb fifo
2021-04-02refactor midi read buffer to streamhathach
2021-04-02rename midi write()/read() to stream_write() stream_read()hathach
also add deprecated for warning and rename hint
2021-04-02removed tud_midi_write24()hathach
2021-04-02refactor midi write into streamhathach
2021-04-02refactor midi stream readhathach
2021-04-02fix midi tx fifo overflow cause data corruptionhathach
rename
2021-03-31code formathathach
2021-03-30remove tud_midi_read_flush()hathach
2021-03-30rename tud_midi_receive/send to tud_midi_packet_read/writehathach
2021-03-10Merge branch 'master' into edpt_ISO_xferhathach
2021-03-04Extend FIFO mutex to use separate write and read mutexes.Reinhard Panhuber
Adjust all USB drivers using FIFO and mutexes.
2021-03-04add midi commenthathach
2021-02-19fix tud_midi_write24 typohathach
rename jack_id to cable_num in function argument
2021-02-06Merge pull request #618 from homeodor/masterHa Thach
A CDC-like blocking behaviour for MIDI, incl. SysEx
2021-01-30A CDC-like blocking behaviourAlexander Golovanov
2021-01-28Fix midi sysex sending bugMichael Himing
2020-11-20clean uphathach
2020-11-20migrate midi device to new control xfer cbhathach
2020-09-28Change AUDIO_PROTOCOL_V1 to AUDIO_FUNC_PROTOCOL_CODE_UNDEF in midi.c.Reinhard Panhuber
The USB specification does not define any AUDIO_PROTOCOL_V1!
2020-09-23Merge pull request #512 from mzero/fix-midi-sysexHa Thach
Fix a bug in writing SysEx messages.
2020-09-13Update midi_device.cMark Lentczner
Fix a bug in writing SysEx messages. At the start of a new USB packet (4 bytes), while in the middle of a SysEx, the code mistakenly set the buffer length to 4, not the target length. As a consequence, the 3rd and 4th bytes from the last packet were included, after every byte of the SysEx after the first packet of three. The fix is simple, as it was just a typo, as can bee seen from the other branches in the same section of if/else statements: At the start of a new packet, the code should set up the target length... the buffer length should be left at 2 (as set on line 180).
2020-09-10update claim edpt for hid and midihathach
2020-08-24fix typohathach
2020-08-24improve midihathach
- fix #436 tud_midi_rx_cb() not invoked - fix xfer_cb() not handle ep in - add ZLP if needed
2020-07-17add new name warning to cdc and midi (skip msc, hid warning for now)hathach
2020-07-16add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lunhathach
2020-05-28initial transfer failed in open() shouldn't cause the driver open to fail.hathach
2020-05-28update midi open()hathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-23Revert "Merge pull request #359 from versioduo/midi-flow-control"hathach
This reverts commit 1d33aa9b6f7940f9eac07ce684515856940175da, reversing changes made to 718db7e5369df57b0f49a563737e6e0446fd4c4d.