]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/remap.c
remap: Use float constant instead of double
[pulseaudio] / src / pulsecore / remap.c
index 4108fdd6c003e3379e203ecbe4689bc0608fc58d..a08f5a61dc16b46f50e1e9f4109a585bc549d7d7 100644 (file)
@@ -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 {