Re: [LAD] Basic Audio Mixing Subroutines

From: Paul Coccoli <pcoccoli@email-addr-hidden>
Date: Sat Aug 14 2010 - 03:38:46 EEST

On Thu, Aug 12, 2010 at 4:51 PM, Gabriel M. Beddingfield
<gabrbedd@email-addr-hidden> wrote:
>
> Does anyone know of (or is there interest in creating) a library of basic,
> low-level, audio mixing subroutines?  This would be analag to the BLAS[1],
> but for audio.
>
> What I'm thinking is something like Ardour's SSE-optimized mixing
> subroutines... and updating it for later optimizations (SSE2, SSE3, ...).

Have you looked at liboil?

http://liboil.freedesktop.org/wiki/

Specifically these functions:

gain: oil_scalarmultiply_f32_ns
mix: oil_add_f32
clip: oil_clip_f32
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Aug 14 04:15:02 2010

This archive was generated by hypermail 2.1.8 : Sat Aug 14 2010 - 04:15:02 EEST