Mercurial > hg > svcore
diff data/midi/MIDIInput.cpp @ 1599:ce185d4dd408 bqaudiostream
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 23 Jan 2019 14:43:43 +0000 |
parents | 70e172e6cc59 |
children | 157c62ff0056 |
line wrap: on
line diff
--- a/data/midi/MIDIInput.cpp Wed Jan 23 10:31:40 2019 +0000 +++ b/data/midi/MIDIInput.cpp Wed Jan 23 14:43:43 2019 +0000 @@ -20,7 +20,7 @@ #include "system/System.h" MIDIInput::MIDIInput(QString name, FrameTimer *timer) : - m_rtmidi(0), + m_rtmidi(nullptr), m_frameTimer(timer), m_buffer(1023) { @@ -47,7 +47,7 @@ SVDEBUG << "NOTE: MIDIInput: No input ports available" << endl; delete m_rtmidi; - m_rtmidi = 0; + m_rtmidi = nullptr; } else { @@ -67,7 +67,7 @@ } catch (const RtMidiError &e) { SVCERR << "ERROR: RtMidi error: " << e.getMessage() << endl; delete m_rtmidi; - m_rtmidi = 0; + m_rtmidi = nullptr; } }