mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-14 20:00:58 +00:00
Remove unnecessary debug warnings for equal sample loopstart and loopend
This commit is contained in:
parent
4ede11e71f
commit
fa0d103907
1 changed files with 2 additions and 1 deletions
|
@ -616,9 +616,10 @@ int fluid_sample_sanitize_loop(fluid_sample_t *sample, unsigned int buffer_size)
|
|||
/* Some SoundFonts disable loops by setting loopstart = loopend. While
|
||||
* technically invalid, we decided to accept those samples anyway. Just
|
||||
* ensure that those two pointers are within the sampledata by setting
|
||||
* them to 0. Don't set modified here, as this change has no audible
|
||||
* them to 0. Don't report the modification, as this change has no audible
|
||||
* effect. */
|
||||
sample->loopstart = sample->loopend = 0;
|
||||
return FALSE;
|
||||
}
|
||||
else if (sample->loopstart > sample->loopend)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue