aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/Synth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/mt32/Synth.cpp')
-rw-r--r--audio/softsynth/mt32/Synth.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/audio/softsynth/mt32/Synth.cpp b/audio/softsynth/mt32/Synth.cpp
index c6ecf47cad..50b3fe610c 100644
--- a/audio/softsynth/mt32/Synth.cpp
+++ b/audio/softsynth/mt32/Synth.cpp
@@ -15,11 +15,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-//#include <cerrno>
-//#include <cmath>
-//#include <cstdlib>
-//#include <cstring>
-
#include "mt32emu.h"
#include "mmath.h"
#include "PartialManager.h"
@@ -99,11 +94,6 @@ void ReportHandler::showLCDMessage(const char *data) {
debug("\n");
}
-void ReportHandler::printDebug(const char *fmt, va_list list) {
- debug(fmt, list);
- debug("\n");
-}
-
void Synth::polyStateChanged(int partNum) {
reportHandler->onPolyStateChanged(partNum);
}
@@ -116,9 +106,9 @@ void Synth::printDebug(const char *fmt, ...) {
va_list ap;
va_start(ap, fmt);
#if MT32EMU_DEBUG_SAMPLESTAMPS > 0
- reportHandler->printDebug("[%u] ", renderedSampleCount);
+ debug("[%u] ", renderedSampleCount);
#endif
- reportHandler->printDebug(fmt, ap);
+ debug(fmt, ap);
va_end(ap);
}