summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-05 16:17:31 +0200
committerRobin Gareus <robin@gareus.org>2017-08-05 16:17:31 +0200
commitfde07d4f4fbb3e8de44fb6e78928a98a13ec1062 (patch)
tree84893d746687218503767c218b405619969d5025 /libs
parent8c61c7f14a8136b877368be7d20fe4eaf8e5bf88 (diff)
amend bc46a7e2e9; fix blind coding typos
Diffstat (limited to 'libs')
-rw-r--r--libs/backends/portaudio/portaudio_backend.cc2
-rw-r--r--libs/backends/portaudio/portaudio_backend.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/backends/portaudio/portaudio_backend.cc b/libs/backends/portaudio/portaudio_backend.cc
index ad7d976a2d..370bf519ed 100644
--- a/libs/backends/portaudio/portaudio_backend.cc
+++ b/libs/backends/portaudio/portaudio_backend.cc
@@ -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 ();
diff --git a/libs/backends/portaudio/portaudio_backend.h b/libs/backends/portaudio/portaudio_backend.h
index d5ce42aad0..8a1624796b 100644
--- a/libs/backends/portaudio/portaudio_backend.h
+++ b/libs/backends/portaudio/portaudio_backend.h
@@ -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;