X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/ecf09f2cd6bf2f46b0d2402c700ab618c090bd4c..fde3626b776ef06028c8d78e0326901a35c9ea11:/src/pulsecore/remap_mmx.c diff --git a/src/pulsecore/remap_mmx.c b/src/pulsecore/remap_mmx.c index 37d72da7..bf611a1b 100644 --- a/src/pulsecore/remap_mmx.c +++ b/src/pulsecore/remap_mmx.c @@ -24,9 +24,8 @@ #include #endif -#include - #include +#include #include #include @@ -141,7 +140,7 @@ static void init_remap_mmx(pa_remap_t *m) { /* find some common channel remappings, fall back to full matrix operation. */ if (n_ic == 1 && n_oc == 2 && - m->map_table_f[0][0] >= 1.0 && m->map_table_f[1][0] >= 1.0) { + m->map_table_i[0][0] == 0x10000 && m->map_table_i[1][0] == 0x10000) { m->do_remap = (pa_do_remap_func_t) remap_mono_to_stereo_mmx; pa_log_info("Using MMX mono to stereo remapping"); }