summaryrefslogtreecommitdiff
path: root/src/pulsecore
diff options
context:
space:
mode:
authorPeter Meerwald <p.meerwald@bct-electronic.com>2014-04-16 12:00:06 +0200
committerPeter Meerwald <pmeerw@pmeerw.net>2014-04-29 00:00:06 +0200
commit647d49165373790d4a49240b69a30fb23f27aa3b (patch)
tree724b9aa1a5f84c6dbc76f4a60b163bd4352cf7db /src/pulsecore
parentc0e0e7ea8c836a0c2695d658ca2abbb166101bb3 (diff)
remap: Use float constant instead of double
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/remap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/remap.c b/src/pulsecore/remap.c
index 4108fdd6c..a08f5a61d 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 {