From 554be5032d9f35fa80eeb112c61a74c1a0661b9e Mon Sep 17 00:00:00 2001 From: Tom M Date: Sun, 6 Aug 2017 10:46:52 +0200 Subject: [PATCH] clarify message for incorrect sample loops loopend might not necessarily be out of range --- fluidsynth/src/sfloader/fluid_defsfont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluidsynth/src/sfloader/fluid_defsfont.c b/fluidsynth/src/sfloader/fluid_defsfont.c index f5706a00..7acc6ec8 100644 --- a/fluidsynth/src/sfloader/fluid_defsfont.c +++ b/fluidsynth/src/sfloader/fluid_defsfont.c @@ -3207,7 +3207,7 @@ fixup_sample (SFData * sf) if(invalid_loopend) { - FLUID_LOG (FLUID_DBG, _("Sample '%s' has out-of-range loop stop '%d'," + FLUID_LOG (FLUID_DBG, _("Sample '%s' has unusable loop stop '%d'," " setting to sample stop at '%d'-1"), sam->name, sam->loopend, sam->end); /* since sam->end points after valid sample data, set loopend to last sample available */ sam->loopend = sam->end - 1; @@ -3216,7 +3216,7 @@ fixup_sample (SFData * sf) if(loopend_end_mismatch) { FLUID_LOG (FLUID_DBG, _("Sample '%s' has invalid loop stop '%d'," - ", sample stop at '%d', using it anyway"), sam->name, sam->loopend, sam->end); + " sample stop at '%d', using it anyway"), sam->name, sam->loopend, sam->end); } }