From: Peter Meerwald
Date: Wed, 16 Apr 2014 10:00:06 +0000 (+0200)
Subject: remap: Use float constant instead of double
X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/647d49165373790d4a49240b69a30fb23f27aa3b?ds=sidebyside
remap: Use float constant instead of double
Signed-off-by: Peter Meerwald
---
diff --git a/src/pulsecore/remap.c b/src/pulsecore/remap.c
index 4108fdd6..a08f5a61 100644
--- a/src/pulsecore/remap.c
+++ b/src/pulsecore/remap.c
@@ -120,13 +120,13 @@ static void remap_channels_matrix_float32ne_c(pa_remap_t *m, void *dst, const vo
vol = m->map_table_f[oc][ic];
- if (vol <= 0.0)
+ if (vol <= 0.0f)
continue;
d = (float *)dst + oc;
s = (float *)src + ic;
- if (vol >= 1.0) {
+ if (vol >= 1.0f) {
for (i = n; i > 0; i--, s += n_ic, d += n_oc)
*d += *s;
} else {