Hello Fons,
On Wednesday 19 August 2009 14:34:45 Fons Adriaensen wrote:
if (volume < 1e-10f)
{
memset (pBuffer, 0, nframes * sizeof (float));
}
else
{
for () // etc.
}
this is a cool trick to save some CPU. thanks for that hint.
If you still have this problem with the volume set
to exactly zero, then it is created not in the code
you've shown but by later parts of your processing.
the rest i will answer in a forthcoming mail very soon.
bye c~