diff --git a/lib/sound/audio.c b/lib/sound/audio.c index 143370e79..7a61a2ad3 100644 --- a/lib/sound/audio.c +++ b/lib/sound/audio.c @@ -1023,7 +1023,7 @@ SDWORD audio_GetTrackID( const char *fileName ) if (fileName == NULL || strlen(fileName) == 0) { - debug(LOG_ERROR, "audio_GetTrackID: fileName is %s", (fileName == NULL) ? "a NULL pointer" : "empty"); + debug(LOG_WARNING, "fileName is %s", (fileName == NULL) ? "a NULL pointer" : "empty"); return SAMPLE_NOT_FOUND; } diff --git a/lib/sound/track.c b/lib/sound/track.c index 826e11aaa..6776d5f72 100644 --- a/lib/sound/track.c +++ b/lib/sound/track.c @@ -97,14 +97,14 @@ unsigned int sound_SetTrackVals(const char* fileName, BOOL loop, unsigned int vo if (fileName == NULL || strlen(fileName) == 0) // check for empty filename. This is a non fatal error. { - debug(LOG_ERROR, "sound_SetTrackVals: fileName is %s", (fileName == NULL) ? "a NULL pointer" : "empty"); + debug(LOG_WARNING, "fileName is %s", (fileName == NULL) ? "a NULL pointer" : "empty"); return 0; } psTrack = resGetData( "WAV", fileName ); if (psTrack == NULL) { - debug(LOG_ERROR, "sound_SetTrackVals: track %s resource not found", fileName); + debug(LOG_WARNING, "track %s resource not found", fileName); return 0; }