mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-14 16:40:43 +00:00
Remove code that has been commented out since initial commit
This commit is contained in:
parent
6bd326dcf8
commit
2dc35832fc
1 changed files with 1 additions and 10 deletions
|
@ -1872,15 +1872,6 @@ fluid_sample_import_sfont(fluid_sample_t* sample, SFSample* sfsample, fluid_defs
|
||||||
if (sample->end - sample->start < 8) {
|
if (sample->end - sample->start < 8) {
|
||||||
sample->valid = 0;
|
sample->valid = 0;
|
||||||
FLUID_LOG(FLUID_WARN, "Ignoring sample '%s': too few sample data points", sample->name);
|
FLUID_LOG(FLUID_WARN, "Ignoring sample '%s': too few sample data points", sample->name);
|
||||||
} else {
|
|
||||||
/* if (sample->loopstart < sample->start + 8) { */
|
|
||||||
/* FLUID_LOG(FLUID_WARN, "Fixing sample %s: at least 8 data points required before loop start", sample->name); */
|
|
||||||
/* sample->loopstart = sample->start + 8; */
|
|
||||||
/* } */
|
|
||||||
/* if (sample->loopend > sample->end - 8) { */
|
|
||||||
/* FLUID_LOG(FLUID_WARN, "Fixing sample %s: at least 8 data points required after loop end", sample->name); */
|
|
||||||
/* sample->loopend = sample->end - 8; */
|
|
||||||
/* } */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sample->valid = TRUE;
|
sample->valid = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue