amend bc46a7e2e9; fix blind coding typos
This commit is contained in:
parent
8c61c7f14a
commit
fde07d4f4f
@ -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 ();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user