From 2b7c585dbae9c989d35e2884060aad4b0270f90e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 5 Aug 2017 15:04:05 +0200 Subject: Update backend API: read-only MIDI input buffers --- libs/backends/coreaudio/coreaudio_backend.cc | 2 +- libs/backends/coreaudio/coreaudio_backend.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/backends/coreaudio') diff --git a/libs/backends/coreaudio/coreaudio_backend.cc b/libs/backends/coreaudio/coreaudio_backend.cc index 9e295662f7..060c7b5db3 100644 --- a/libs/backends/coreaudio/coreaudio_backend.cc +++ b/libs/backends/coreaudio/coreaudio_backend.cc @@ -1407,7 +1407,7 @@ CoreAudioBackend::get_connections (PortEngine::PortHandle port, std::vector&, 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) { return _midi_event_put (port_buffer, timestamp, buffer, size); } -- cgit v1.2.3