mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-19 06:02:03 +00:00
fix comment in fluid_rvoice_calc_amp() (#583)
This commit is contained in:
parent
e739246ef7
commit
d4b3a08f53
1 changed files with 2 additions and 2 deletions
|
@ -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 **********************/
|
||||
|
|
Loading…
Reference in a new issue