[LAD] is this a compiler issue??

Conrad Berhörster conrad.berhoerster at gmx.de
Wed Aug 19 16:34:11 UTC 2009


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~

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20090819/17a39167/attachment.html>


More information about the Linux-audio-dev mailing list