comparison data/midi/MIDIInput.h @ 929:59e7fe1b1003 warnfix_no_size_t

Unsigned removals and warning fixes in data/
author Chris Cannam
date Tue, 17 Jun 2014 14:33:42 +0100
parents e6d35670e1df
children ad5f892c0c4d
comparison
equal deleted inserted replaced
928:6a94bb528e9d 929:59e7fe1b1003
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