[Speex-dev] [PATCH 1/3] Resampler buffer_size is always 160, drop FIXED_POINT #ifdef

Tristan Matthews le.businessman at gmail.com
Tue Apr 15 12:42:43 PDT 2014


On Tue, Apr 15, 2014 at 12:33 PM, Peter Meerwald <pmeerw at pmeerw.net> wrote:

> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
>  libspeexdsp/resample.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c
> index 7121445..e32ca45 100644
> --- a/libspeexdsp/resample.c
> +++ b/libspeexdsp/resample.c
> @@ -755,11 +755,7 @@ EXPORT SpeexResamplerState
> *speex_resampler_init_frac(spx_uint32_t nb_channels,
>     st->in_stride = 1;
>     st->out_stride = 1;
>
> -#ifdef FIXED_POINT
> -   st->buffer_size = 160;
> -#else
>     st->buffer_size = 160;
> -#endif
>

LGTM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20140415/7ccc4acf/attachment.htm 


More information about the Speex-dev mailing list