Update backend API: read-only MIDI input buffers

This commit is contained in:
Robin Gareus 2017-08-05 15:04:05 +02:00
parent f9aff37623
commit 2b7c585dba
14 changed files with 33 additions and 28 deletions

View file

@ -1407,7 +1407,7 @@ CoreAudioBackend::get_connections (PortEngine::PortHandle port, std::vector<std:
int
CoreAudioBackend::midi_event_get (
pframes_t& timestamp,
size_t& size, uint8_t** buf, void* port_buffer,
size_t& size, uint8_t const** buf, void* port_buffer,
uint32_t event_index)
{
if (!buf || !port_buffer) return -1;