[pulseaudio-discuss] [PATCH 20/23] core: mix: Add special cases for mixing streams in s16ne format

Peter Meerwald pmeerw at pmeerw.net
Fri Feb 15 14:00:44 PST 2013


> On Wed, 2013-02-13 at 17:27 +0100, Peter Meerwald wrote:
> > Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> > ---
> >  src/pulsecore/mix.c |  104 +++++++++++++++++++++++++++++++++++++++++++++++++--
> >  1 file changed, 100 insertions(+), 4 deletions(-)
> 
> Do you happen to have some measurements about the speed gain from these
> specialized mix functions? I'm sure they are faster than the generic
> function, but how much faster? (I'm just curious - I don't think it's an
> issue if you don't have measurements in this case.)

quite a bit faster :)
patch with test code (mix-special-test) following

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list