[beast: 11/14] DRIVERS: make use of Bse::debug()



commit a18bb0c0b7a9747f1fb9d5ab4aa010fcea819024
Author: Tim Janik <timj gnu org>
Date:   Sat Mar 18 01:21:45 2017 +0100

    DRIVERS: make use of Bse::debug()
    
    Signed-off-by: Tim Janik <timj gnu org>

 drivers/bse-portaudio/bsepcmdevice-portaudio.cc |    2 +-
 drivers/bsemididevice-alsa.cc                   |    2 +-
 drivers/bsepcmdevice-alsa.cc                    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/drivers/bse-portaudio/bsepcmdevice-portaudio.cc b/drivers/bse-portaudio/bsepcmdevice-portaudio.cc
index 838a33f..6c9145c 100644
--- a/drivers/bse-portaudio/bsepcmdevice-portaudio.cc
+++ b/drivers/bse-portaudio/bsepcmdevice-portaudio.cc
@@ -12,7 +12,7 @@ using std::string;
 using std::vector;
 using std::max;
 
-#define PDEBUG(...)     BSE_KEY_DEBUG ("pcm-portaudio", __VA_ARGS__)
+#define PDEBUG(...)     Bse::debug ("pcm-portaudio", __VA_ARGS__)
 
 /* --- PortAudio PCM handle --- */
 typedef struct
diff --git a/drivers/bsemididevice-alsa.cc b/drivers/bsemididevice-alsa.cc
index 20aa8d9..9ff5f6b 100644
--- a/drivers/bsemididevice-alsa.cc
+++ b/drivers/bsemididevice-alsa.cc
@@ -7,7 +7,7 @@
 #include <string.h>
 #include <errno.h>
 
-#define MDEBUG(...)     BSE_KEY_DEBUG ("midi-alsa", __VA_ARGS__)
+#define MDEBUG(...)     Bse::debug ("midi-alsa", __VA_ARGS__)
 
 /* --- structs --- */
 typedef struct
diff --git a/drivers/bsepcmdevice-alsa.cc b/drivers/bsepcmdevice-alsa.cc
index 0b472c5..788510d 100644
--- a/drivers/bsepcmdevice-alsa.cc
+++ b/drivers/bsepcmdevice-alsa.cc
@@ -14,7 +14,7 @@
 #error  unsupported byte order in G_BYTE_ORDER
 #endif
 
-#define PDEBUG(...)     BSE_KEY_DEBUG ("pcm-alsa", __VA_ARGS__)
+#define PDEBUG(...)     Bse::debug ("pcm-alsa", __VA_ARGS__)
 
 static snd_output_t *snd_output = NULL; // only for debugging
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]