amend bc46a7e2e9; fix blind coding typos
authorRobin Gareus <robin@gareus.org>
Sat, 5 Aug 2017 14:17:31 +0000 (16:17 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 5 Aug 2017 14:17:31 +0000 (16:17 +0200)
libs/backends/portaudio/portaudio_backend.cc
libs/backends/portaudio/portaudio_backend.h

index ad7d976a2d526151f2aa6d2f68e218f72849eb39..370bf519ed97ea80a0407315eebc5120a4e158d2 100644 (file)
@@ -1620,7 +1620,7 @@ PortAudioBackend::midi_event_get (
        if (event_index >= source.size ()) {
                return -1;
        }
-       PortMidiEvent const& event = source[event_index].get ();
+       PortMidiEvent const& event = source[event_index];
 
        timestamp = event.timestamp ();
        size = event.size ();
index d5ce42aad07c0b244ce0d98c79952239959901cc..8a1624796b5a773928fc2fa3b944435d114484cf 100644 (file)
@@ -47,7 +47,7 @@ class PortMidiEvent {
                PortMidiEvent (const PortMidiEvent& other);
                size_t size () const { return _size; };
                pframes_t timestamp () const { return _timestamp; };
-               const uint8_t* const_data () const { return _data; };
+               const uint8_t* data () const { return _data; };
                bool operator< (const PortMidiEvent &other) const { return timestamp () < other.timestamp (); };
        private:
                size_t _size;