summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port_engine.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-05 15:04:05 +0200
committerRobin Gareus <robin@gareus.org>2017-08-05 15:36:36 +0200
commit2b7c585dbae9c989d35e2884060aad4b0270f90e (patch)
tree37e0f7fe263ad221ad29f4497383bea6ce0946f2 /libs/ardour/ardour/port_engine.h
parentf9aff37623ba17a80371572fcba38515ea9b78ca (diff)
Update backend API: read-only MIDI input buffers
Diffstat (limited to 'libs/ardour/ardour/port_engine.h')
-rw-r--r--libs/ardour/ardour/port_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port_engine.h b/libs/ardour/ardour/port_engine.h
index a6fa2a5c84..647253baea 100644
--- a/libs/ardour/ardour/port_engine.h
+++ b/libs/ardour/ardour/port_engine.h
@@ -245,7 +245,7 @@ class LIBARDOUR_API PortEngine {
* of the current process cycle, in samples) will be stored in @param
* timestamp
*/
- virtual int midi_event_get (pframes_t& timestamp, size_t& size, uint8_t** buf, void* port_buffer, uint32_t event_index) = 0;
+ virtual int midi_event_get (pframes_t& timestamp, size_t& size, uint8_t const** buf, void* port_buffer, uint32_t event_index) = 0;
/** Place a MIDI event consisting of @param size bytes copied from the data
* at @param buf into the port buffer referred to by @param