diff options
author | Timo Wischer <twischer@de.adit-jv.com> | 2018-11-16 16:54:06 +0100 |
---|---|---|
committer | Filipe Coelho <falktx@falktx.com> | 2019-01-17 00:56:39 +0100 |
commit | a82f3f2fb44e236e5bf3b207349ca000cd01185c (patch) | |
tree | a98fa3db42e77ca76d773c6d674af8fcbcf114b7 | |
parent | e75325431353919b1917d96a047a2a195ce01c00 (diff) | |
download | jack2-a82f3f2fb44e236e5bf3b207349ca000cd01185c.tar.gz |
memops: Remove not used conversion macros
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
-rw-r--r-- | common/memops.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/common/memops.c b/common/memops.c index a8215a8e..5d9f229d 100644 --- a/common/memops.c +++ b/common/memops.c @@ -137,17 +137,6 @@ (d) = f_round ((s) * SAMPLE_24BIT_SCALING);\ } -/* call this when "s" has already been scaled (e.g. when dithering) - */ - -#define float_24u32_scaled(s, d)\ - if ((s) <= SAMPLE_24BIT_MIN_F) {\ - (d) = SAMPLE_24BIT_MIN << 8;\ - } else if ((s) >= SAMPLE_24BIT_MAX_F) { \ - (d) = SAMPLE_24BIT_MAX << 8; \ - } else {\ - (d) = f_round ((s)) << 8; \ - } #define float_24(s, d) \ if ((s) <= NORMALIZED_FLOAT_MIN) {\ @@ -158,18 +147,6 @@ (d) = f_round ((s) * SAMPLE_24BIT_SCALING);\ } -/* call this when "s" has already been scaled (e.g. when dithering) - */ - -#define float_24_scaled(s, d)\ - if ((s) <= SAMPLE_24BIT_MIN_F) {\ - (d) = SAMPLE_24BIT_MIN;\ - } else if ((s) >= SAMPLE_24BIT_MAX_F) { \ - (d) = SAMPLE_24BIT_MAX; \ - } else {\ - (d) = f_round ((s)); \ - } - #if defined (__SSE2__) && !defined (__sun__) |