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

@ -1685,7 +1685,7 @@ AlsaAudioBackend::get_connections (PortEngine::PortHandle port, std::vector<std:
int
AlsaAudioBackend::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)
{
assert (buf && port_buffer);