fix comment in fluid_rvoice_calc_amp() (#583)

This commit is contained in:
jjceresa 2019-10-27 18:05:18 +01:00 committed by Tom M
parent e739246ef7
commit d4b3a08f53

View file

@ -26,7 +26,7 @@
static void fluid_rvoice_noteoff_LOCAL(fluid_rvoice_t *voice, unsigned int min_ticks);
/**
* @return -1 if voice has finished, 0 if it's currently quiet, 1 otherwise
* @return -1 if voice is quiet, 0 if voice has finished, 1 otherwise
*/
static FLUID_INLINE int
fluid_rvoice_calc_amp(fluid_rvoice_t *voice)
@ -357,7 +357,7 @@ fluid_rvoice_write(fluid_rvoice_t *voice, fluid_real_t *dsp_buf)
if(count <= 0)
{
return count;
return count; /* return -1 if voice is quiet, 0 if voice has finished */
}
/******************* phase **********************/