[pulseaudio-discuss] [PATCH] remap: fix check when to apply specialized code path
Tanu Kaskinen
tanuk at iki.fi
Fri Mar 29 01:52:55 PDT 2013
On Thursday, March 28, 2013 03:46:49 PM Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
>
> the specialized code path just duplicate samples, so are only
> applicable if the volume in map_table is == 1.0 (or == 0x10000);
> don't use them for volumes >= 1.0
>
> compare the integer version of the volume stored in map_table;
> comparing floats is ugly (als leads to compiler warnings)
>
> Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
> ---
> src/pulsecore/remap.c | 3 ++-
> src/pulsecore/remap_mmx.c | 3 ++-
> src/pulsecore/remap_sse.c | 3 ++-
> 3 files changed, 6 insertions(+), 3 deletions(-)
Applied to the master branch, thanks!
--
Tanu
More information about the pulseaudio-discuss
mailing list