mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-01 00:21:14 +00:00
fluid_rvoice_check_sample_sanity cleanup (#375)
Check already done by the caller.
This commit is contained in:
parent
05c2d57e65
commit
2bff09b420
1 changed files with 0 additions and 4 deletions
|
@ -126,10 +126,6 @@ fluid_rvoice_check_sample_sanity(fluid_rvoice_t* voice)
|
||||||
int max_index_loop=(int) voice->dsp.sample->end - FLUID_MIN_LOOP_PAD + 1; /* 'end' is last valid sample, loopend can be + 1 */
|
int max_index_loop=(int) voice->dsp.sample->end - FLUID_MIN_LOOP_PAD + 1; /* 'end' is last valid sample, loopend can be + 1 */
|
||||||
fluid_check_fpe("voice_check_sample_sanity start");
|
fluid_check_fpe("voice_check_sample_sanity start");
|
||||||
|
|
||||||
if (!voice->dsp.check_sample_sanity_flag){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
printf("Sample from %i to %i\n",voice->dsp.sample->start, voice->dsp.sample->end);
|
printf("Sample from %i to %i\n",voice->dsp.sample->start, voice->dsp.sample->end);
|
||||||
printf("Sample loop from %i %i\n",voice->dsp.sample->loopstart, voice->dsp.sample->loopend);
|
printf("Sample loop from %i %i\n",voice->dsp.sample->loopstart, voice->dsp.sample->loopend);
|
||||||
|
|
Loading…
Reference in a new issue