diff options
Diffstat (limited to 'src/pulsecore/resampler.c')
-rw-r--r-- | src/pulsecore/resampler.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index bed5a20d..b5c1611c 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -36,11 +36,11 @@ #include <pulsecore/log.h> #include <pulsecore/macro.h> #include <pulsecore/strbuf.h> +#include <pulsecore/remap.h> #include "ffmpeg/avcodec.h" #include "resampler.h" -#include "remap.h" /* Number of samples of extra space we allow the resamplers to return */ #define EXTRA_FRAMES 128 @@ -898,7 +898,7 @@ static void calc_map_table(pa_resampler *r) { if (!on_center(r->o_cm.map[oc])) continue; - for (ic = 0; ic < n_ic; ic++) { + for (ic = 0; ic < n_ic; ic++) { if (ic_connected[ic]) { m->map_table_f[oc][ic] *= .9f; @@ -961,7 +961,7 @@ static void calc_map_table(pa_resampler *r) { if (ncenter[oc] <= 0) continue; - for (ic = 0; ic < n_ic; ic++) { + for (ic = 0; ic < n_ic; ic++) { if (ic_connected[ic]) { m->map_table_f[oc][ic] *= .75f; @@ -983,7 +983,7 @@ static void calc_map_table(pa_resampler *r) { /* OK, so there is an unconnected LFE channel. Let's mix * it into all channels, with factor 0.375 */ - for (ic = 0; ic < n_ic; ic++) { + for (ic = 0; ic < n_ic; ic++) { if (!on_lfe(r->i_cm.map[ic])) continue; @@ -1022,7 +1022,7 @@ static void calc_map_table(pa_resampler *r) { pa_xfree(t); /* initialize the remapping function */ - pa_init_remap (m); + pa_init_remap(m); } static pa_memchunk* convert_to_work_format(pa_resampler *r, pa_memchunk *input) { @@ -1096,8 +1096,8 @@ static pa_memchunk *remap_channels(pa_resampler *r, pa_memchunk *input) { remap = &r->remap; - pa_assert (remap->do_remap); - remap->do_remap (remap, dst, src, n_frames); + pa_assert(remap->do_remap); + remap->do_remap(remap, dst, src, n_frames); pa_memblock_release(input->memblock); pa_memblock_release(r->buf2.memblock); |