diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2015-12-18 00:06:33 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2015-12-18 00:06:33 +0100 |
commit | a28243471ae48fcba4e04115b4c23d30b071a542 (patch) | |
tree | f67702858c93c2283465d8999f92a2d6d69b3c13 /src/controllers | |
parent | 28b4a33a7a75964580db392fbe7465862acf7390 (diff) |
Add more debug
Diffstat (limited to 'src/controllers')
-rw-r--r-- | src/controllers/midi/portmidicontroller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controllers/midi/portmidicontroller.cpp b/src/controllers/midi/portmidicontroller.cpp index 1a5b79e074..3880cc1a8e 100644 --- a/src/controllers/midi/portmidicontroller.cpp +++ b/src/controllers/midi/portmidicontroller.cpp @@ -161,6 +161,8 @@ bool PortMidiController::poll() { int numEvents = Pm_Read(m_pInputStream, m_midiBuffer, MIXXX_PORTMIDI_BUFFER_LEN); + qDebug() << "PortMidiController::poll()" << numEvents; + if (numEvents < 0) { qWarning() << "PortMidi error:" << Pm_GetErrorText((PmError)numEvents); return false; |