comparison data/midi/MIDIInput.h @ 936:0c1d6de8f44b

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:51:16 +0100
parents 59e7fe1b1003
children ad5f892c0c4d
comparison
equal deleted inserted replaced
917:49618f39ff09 936:0c1d6de8f44b
34 virtual ~MIDIInput(); 34 virtual ~MIDIInput();
35 35
36 bool isOK() const { return m_rtmidi != 0; } 36 bool isOK() const { return m_rtmidi != 0; }
37 37
38 bool isEmpty() const { return getEventsAvailable() == 0; } 38 bool isEmpty() const { return getEventsAvailable() == 0; }
39 size_t getEventsAvailable() const { return m_buffer.getReadSpace(); } 39 int getEventsAvailable() const { return m_buffer.getReadSpace(); }
40 MIDIEvent readEvent(); 40 MIDIEvent readEvent();
41 41
42 signals: 42 signals:
43 void eventsAvailable(); 43 void eventsAvailable();
44 44