Commit Graph

5 Commits

Author SHA1 Message Date
kevin
a6f518ed54 cwMidiDevice.h/cpp,cwMidiDecls.h : Added getBuffer(),clearBuffer(),maxBufferMsgCount() to cwMidiDevice.
Changed the MIDI device callback function to move the user arg outside of the 'packet_t'.
Added midi::ch_msg_t
2024-04-06 15:44:43 -04:00
kevin
ad5efbaa77 cwMidiDevice.h : Changed file guards to cwMidiDevice_h from cwMidiPort_h. 2024-03-25 10:59:55 -04:00
kevin
e3ff4828b0 cwMidiDevice,cwMidiFileDev : Added midi::file_dev.msg_count() and midi::device.loadMsgPacket(). 2024-02-21 07:49:28 -05:00
kevin
8fe6f3627c midi::device now allows a MIDI file to act as a virtual MIDI input device.
Thread polling moved out of midi::alsa and into midi::device.
Added latency measure feature to midi::device.
Improved midi::alsa device lookup time with alsa_device_t.clientIdToDevIdxMap[].
Added cwMidiAlsa.h to provide an interface for midi::alsa independent of midi::device.
2024-02-14 11:20:40 -05:00
kevin
742fc05e81 Renamed cwMidiPort.h/cpp to cwMidiDevice.h/cpp.
cwMidiDecls.h midi::msg_t now breaks out MIDI channel from status and has a new user 'uid' field to link the msg to an external entity.
Renamed midi::packet_t. cbDataPtr to cbArg.
midi::packet_t.cbFunc_t is now included in cwMidiDecls.h.
Other files effected: cwIo.cpp,cwIoAudioMidi.cpp,cwIoPresetSelApp.cpp
2024-02-14 11:15:02 -05:00