[fluid-dev] Question: why sample reference count is incremented twice ?.
From:
CERESA Jean-Jacques ENAC/ENAC
Subject:
[fluid-dev] Question: why sample reference count is incremented twice ?.
Date:
Mon, 07 Mar 2016 17:51:19 +0100
Hi,
When a voice is initialized by fluid_voice_init() function. we can read this: /* Increment the reference count of the sample to prevent the unloading of the soundfont while this voice is playing, once for us and once for the rvoice. */
Why this counter needs to be incremented twice ?. Is it not enough to increment it only one time ?