summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2015-12-18 00:13:09 +0100
committerDaniel Schürmann <daschuer@mixxx.org>2015-12-18 00:13:09 +0100
commit953a3eca1e160943f3e50a35a770342050fc153b (patch)
tree34cb10f8396edc9afebccf817216ddc8adbbaae7 /src
parenta28243471ae48fcba4e04115b4c23d30b071a542 (diff)
more debug
Diffstat (limited to 'src')
-rw-r--r--src/controllers/midi/portmidicontroller.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/controllers/midi/portmidicontroller.cpp b/src/controllers/midi/portmidicontroller.cpp
index 3880cc1a8e..3e1ae3c47e 100644
--- a/src/controllers/midi/portmidicontroller.cpp
+++ b/src/controllers/midi/portmidicontroller.cpp
@@ -147,11 +147,14 @@ int PortMidiController::close() {
bool PortMidiController::poll() {
// Poll the controller for new data if it's an input device
- if (!m_pInputStream)
+ if (!m_pInputStream) {
+ qDebug() << "PortMidiController::poll() no Input Stream";
return false;
+ }
PmError gotEvents = Pm_Poll(m_pInputStream);
if (gotEvents == FALSE) {
+ qDebug() << "PortMidiController::poll() no events";
return false;
}
if (gotEvents < 0) {