diff options
-rw-r--r-- | plugins/wildmidi/src/wildmidi_lib.c | 3 | ||||
-rw-r--r-- | plugins/wildmidi/wildmidiplug.c | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/plugins/wildmidi/src/wildmidi_lib.c b/plugins/wildmidi/src/wildmidi_lib.c index 173de1bc..5759ffc5 100644 --- a/plugins/wildmidi/src/wildmidi_lib.c +++ b/plugins/wildmidi/src/wildmidi_lib.c @@ -849,7 +849,6 @@ WM_LoadConfig (const char *config_file, const char *top_config_dir) { strcpy(config_dir, &line_buffer[4]); strcat(config_dir,"/"); } - printf ("wildmidi config_dir: %s\n", config_dir); continue; } else if (strncasecmp(line_buffer, "source ", 7) == 0) { if (config_dir != NULL && line_buffer[7] != '/') { @@ -877,7 +876,6 @@ WM_LoadConfig (const char *config_file, const char *top_config_dir) { } strcpy(new_config, &line_buffer[7]); } - printf ("wildmidi load new_config: %s\n", new_config); if (WM_LoadConfig(new_config, config_dir) == -1) { free (new_config); free (line_buffer); @@ -889,7 +887,6 @@ WM_LoadConfig (const char *config_file, const char *top_config_dir) { free (new_config); continue; } else if (strncasecmp(line_buffer, "bank ", 5) == 0) { - printf ("loading bank, config_dir: %s\n", config_dir); if (!isdigit(line_buffer[5])) { WM_ERROR(__FUNCTION__, __LINE__, WM_ERR_INVALID, "(syntax error in bank line)", 0); WM_ERROR(__FUNCTION__, __LINE__, WM_ERR_LOAD, config_file, 0); diff --git a/plugins/wildmidi/wildmidiplug.c b/plugins/wildmidi/wildmidiplug.c index bcc639fd..e9c976b3 100644 --- a/plugins/wildmidi/wildmidiplug.c +++ b/plugins/wildmidi/wildmidiplug.c @@ -54,7 +54,7 @@ wmidi_init (DB_fileinfo_t *_info, DB_playItem_t *it) { info->m = WildMidi_Open (it->fname); if (!info->m) { - fprintf (stderr, "wmidi: failed to open %s\n", it->fname); + trace ("wmidi: failed to open %s\n", it->fname); return -1; } @@ -84,7 +84,7 @@ wmidi_read (DB_fileinfo_t *_info, char *bytes, int size) { wmidi_info_t *info = (wmidi_info_t *)_info; int bufferused = WildMidi_GetOutput (info->m, (char *)bytes, size); if (bufferused < 0) { - fprintf (stderr, "WildMidi_GetOutput returned %d\n", bufferused); + trace ("WildMidi_GetOutput returned %d\n", bufferused); return 0; } @@ -111,7 +111,7 @@ wmidi_insert (DB_playItem_t *after, const char *fname) { midi *m = WildMidi_Open (fname); if (!m) { - fprintf (stderr, "wmidi: failed to open %s\n", fname); + trace ("wmidi: failed to open %s\n", fname); return NULL; } |