summaryrefslogtreecommitdiffstats
path: root/gst/speexresample/gstspeexresample.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-10-30 12:43:44 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-10-30 12:43:44 +0000
commit12766882b5d6ffcb8c48f2fa0a1f19ab17c05077 (patch)
tree83a8473ea4c6dea91928397eb5bb871100d1e2e6 /gst/speexresample/gstspeexresample.h
parent51262eeb4c2741369bcdd5440d8be4f618e99af2 (diff)
downloadgst-plugins-bad-12766882b5d6ffcb8c48f2fa0a1f19ab17c05077.tar.gz
gst-plugins-bad-12766882b5d6ffcb8c48f2fa0a1f19ab17c05077.tar.bz2
gst-plugins-bad-12766882b5d6ffcb8c48f2fa0a1f19ab17c05077.zip
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.
Diffstat (limited to 'gst/speexresample/gstspeexresample.h')
-rw-r--r--gst/speexresample/gstspeexresample.h5
1 files changed, 4 insertions, 1 deletions
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 <gst/gst.h>
#include <gst/base/gstbasetransform.h>
+#include <gst/audio/audio.h>
#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 {