From: DL1YCF <dl1ycf@darc.de>
Date: Tue, 18 May 2021 17:40:22 +0000 (+0200)
Subject: added debug statement to alsa_midi
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file://%22?a=commitdiff_plain;h=84c151e415f919a627500086317f597528b3259a;p=pihpsdr.git

added debug statement to alsa_midi
---

diff --git a/alsa_midi.c b/alsa_midi.c
index 865cb21..808a2bf 100644
--- a/alsa_midi.c
+++ b/alsa_midi.c
@@ -220,6 +220,7 @@ void register_midi_device(int index) {
 void close_midi_device(int index) {
   int ret;
 
+  g_print("%s: index=%d\n", __FUNCTION__, index);
   if (index < 0 || index > MAX_MIDI_DEVICES) return;
   if (midi_devices[index].active == 0) return;