Format fluid_synth_write_*()

This commit is contained in:
derselbst 2019-10-22 15:53:54 +02:00
parent 988ec6d799
commit 171f3396a4

View file

@ -3856,7 +3856,11 @@ fluid_synth_write_float_LOCAL(fluid_synth_t *synth, int len,
n = synth->curmax - cur;
/* keep track of emitted samples */
if (n > size) n = size;
if(n > size)
{
n = size;
}
size -= n;
/* update pointers to current position */
@ -4011,7 +4015,11 @@ fluid_synth_write_s16(fluid_synth_t *synth, int len,
n = synth->curmax - cur;
/* keep track of emitted samples */
if (n > size) n = size;
if(n > size)
{
n = size;
}
size -= n;
/* update pointers to current position */