From 12766882b5d6ffcb8c48f2fa0a1f19ab17c05077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 30 Oct 2008 12:43:44 +0000 Subject: Add support for double samples as input and refactor the usage of the different compilation flavors of the speex resa... Original commit message from CVS: * gst/speexresample/Makefile.am: * gst/speexresample/arch.h: * gst/speexresample/gstspeexresample.c: (gst_speex_resample_stop), (gst_speex_resample_get_unit_size), (gst_speex_resample_get_funcs), (gst_speex_resample_init_state), (gst_speex_resample_update_state), (gst_speex_resample_reset_state), (gst_speex_resample_parse_caps), (_gcd), (gst_speex_resample_transform_size), (gst_speex_resample_set_caps), (gst_speex_resample_push_drain), (gst_speex_resample_process), (gst_speex_resample_transform), (gst_speex_resample_query), (gst_speex_resample_set_property): * gst/speexresample/gstspeexresample.h: * gst/speexresample/resample.c: * gst/speexresample/speex_resampler.h: * gst/speexresample/speex_resampler_double.c: * gst/speexresample/speex_resampler_wrapper.h: * tests/check/elements/speexresample.c: (setup_speexresample), (test_perfect_stream_instance), (GST_START_TEST), (test_discont_stream_instance): Add support for double samples as input and refactor the usage of the different compilation flavors of the speex resampler. --- gst/speexresample/gstspeexresample.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gst/speexresample/gstspeexresample.h') diff --git a/gst/speexresample/gstspeexresample.h b/gst/speexresample/gstspeexresample.h index 7e7a68f6..25be5ca9 100644 --- a/gst/speexresample/gstspeexresample.h +++ b/gst/speexresample/gstspeexresample.h @@ -24,6 +24,7 @@ #include #include +#include #include "speex_resampler_wrapper.h" @@ -61,13 +62,15 @@ struct _GstSpeexResample { GstClockTime next_ts; GstClockTime next_upstream_ts; - gboolean fp; gint channels; gint inrate; gint outrate; gint quality; + gint width; + gboolean fp; SpeexResamplerState *state; + const SpeexResampleFuncs *funcs; }; struct _GstSpeexResampleClass { -- cgit v1.2.1