mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
Update backend API: read-only MIDI input buffers
This commit is contained in:
parent
f9aff37623
commit
2b7c585dba
14 changed files with 33 additions and 28 deletions
|
|
@ -288,7 +288,7 @@ class PortAudioBackend : public AudioBackend {
|
|||
int get_connections (PortHandle, std::vector<std::string>&, bool process_callback_safe);
|
||||
|
||||
/* MIDI */
|
||||
int midi_event_get (pframes_t& timestamp, size_t& size, uint8_t** buf, void* port_buffer, uint32_t event_index);
|
||||
int midi_event_get (pframes_t& timestamp, size_t& size, uint8_t const** buf, void* port_buffer, uint32_t event_index);
|
||||
int midi_event_put (void* port_buffer, pframes_t timestamp, const uint8_t* buffer, size_t size);
|
||||
uint32_t get_midi_event_count (void* port_buffer);
|
||||
void midi_clear (void* port_buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue