Proper solution to replace 9cabc1b hack.

Initialize uninitialized variable (m_started), remove cruft.
This commit is contained in:
Robin Gareus 2015-08-04 01:03:57 +02:00
parent e057b873b5
commit c8b207d911
3 changed files with 1 additions and 4 deletions

View file

@ -37,6 +37,7 @@ namespace ARDOUR {
WinMMEMidiInputDevice::WinMMEMidiInputDevice (int index)
: m_handle(0)
, m_started(false)
, m_midi_buffer(new RingBuffer<uint8_t>(MIDI_BUFFER_SIZE))
, m_sysex_buffer(new uint8_t[SYSEX_BUFFER_SIZE])
{