mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-06-01 17:42:11 +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
|
/* Some SoundFonts disable loops by setting loopstart = loopend. While
|
||||||
* technically invalid, we decided to accept those samples anyway. Just
|
* technically invalid, we decided to accept those samples anyway. Just
|
||||||
* ensure that those two pointers are within the sampledata by setting
|
* 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. */
|
* effect. */
|
||||||
sample->loopstart = sample->loopend = 0;
|
sample->loopstart = sample->loopend = 0;
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
else if (sample->loopstart > sample->loopend)
|
else if (sample->loopstart > sample->loopend)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue