13
0

amend bc46a7e2e9; fix blind coding typos

This commit is contained in:
Robin Gareus 2017-08-05 16:17:31 +02:00
parent 8c61c7f14a
commit fde07d4f4f
2 changed files with 2 additions and 2 deletions

View 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 ();

View 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;