On Sun, Oct 6, 2013 at 9:31 PM, Robin Gareus <[email protected]> wrote:
> On 10/06/2013 09:07 PM, Kjetil Matheussen wrote:
>> But brainstorming further, it probably works to combine the peak finding 
>> routine
>> (which is run on all signals) with the nan/inf-detection:
>
> +1
>
> BTW compile with -ftree-vectorizer-verbose=7 to check what gcc does.
>
> If you're looking for something ready-made, there are SSE, and altivec
> asm routines for mixing buffers and calculating the peak value in
> ardour. Have a look at libs/ardour/*.s, libs/ardour/mix.cc and
> libs/ardour/ardour/mix.h
>
> GPL and everything, thanks to Sampo IIRC.
>

Thanks robin, those functions are nice.
_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to