aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth')
-rw-r--r--audio/softsynth/mt32.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp
index e2f1f36f2c..38cdaf1c3c 100644
--- a/audio/softsynth/mt32.cpp
+++ b/audio/softsynth/mt32.cpp
@@ -64,6 +64,10 @@ protected:
// Callback for debug messages, in vprintf() format
void printDebug(const char *fmt, va_list list) {
+ // Only show MUNT debug messages for debug level 4 and above
+ if (gDebugLevel < 4)
+ return;
+
char buf[512];
vsnprintf(buf, 512, fmt, list);