Commit graph

10 commits

Author SHA1 Message Date
Peter Meerwald
fde3626b77 remap: Don't use PA_VOLUME_NORM
remapping operates on channel contributions, not volumes

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2014-04-29 00:00:06 +02:00
Peter Meerwald
578d2ce5c8 remap: fix check when to apply specialized code path
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@bct-electronic.com>
2013-03-29 10:48:26 +02:00
Maarten Bosmans
dd9265ac78 Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
Maarten Bosmans
ecf09f2cd6 Fix up according to Coding Style
Only whitespace changes in here
2011-03-11 11:49:35 +00:00
Lennart Poettering
71e066c873 simd: be more precise which SIMD optimizations we activate 2009-09-09 04:28:22 +02:00
Wim Taymans
dc221f204b remap: fix counters for mmx and sse remap
Take the size of the sample into account when calculating the amount of samples
we process in parallel.
2009-08-31 21:50:56 +02:00
Wim Taymans
59070892ed remap: cleanup assembler a little 2009-08-27 10:44:52 +02:00
Lennart Poettering
57fb77134b remap: fix build for non-x86 builds 2009-08-24 17:01:44 +02:00
Wim Taymans
6076cef209 remap: make the MMX code pretier 2009-08-20 20:00:50 +02:00
Wim Taymans
6e5dbed51e remap: add MMX mono to stereo 2009-08-20 19:46:06 +02:00