summaryrefslogtreecommitdiffstats
path: root/gst/speexresample/speex_resampler_wrapper.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-10-30 14:46:31 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-10-30 14:46:31 +0000
commit275751f50934d40708298b76056e96a1698aa87b (patch)
tree4d51b8cd9cd2fdfa49a84c547c745cec441f7f5f /gst/speexresample/speex_resampler_wrapper.h
parenta915c3ec730776b020efdc757a7de13fbbdc7c67 (diff)
downloadgst-plugins-bad-275751f50934d40708298b76056e96a1698aa87b.tar.gz
gst-plugins-bad-275751f50934d40708298b76056e96a1698aa87b.tar.bz2
gst-plugins-bad-275751f50934d40708298b76056e96a1698aa87b.zip
tests/check/elements/speexresample.c: Add pipeline unit tests for testing all supported formats with up/downsampling ...
Original commit message from CVS: * tests/check/elements/speexresample.c: (element_message_cb), (eos_message_cb), (test_pipeline), (GST_START_TEST), (speexresample_suite): Add pipeline unit tests for testing all supported formats with up/downsampling and different in/outrates. * gst/speexresample/gstspeexresample.c: (gst_speex_resample_push_drain), (gst_speex_resample_process): * gst/speexresample/speex_resampler_wrapper.h: Fix bugs identified by the testsuite.
Diffstat (limited to 'gst/speexresample/speex_resampler_wrapper.h')
-rw-r--r--gst/speexresample/speex_resampler_wrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/speexresample/speex_resampler_wrapper.h b/gst/speexresample/speex_resampler_wrapper.h
index c5a214de..2cf79b0e 100644
--- a/gst/speexresample/speex_resampler_wrapper.h
+++ b/gst/speexresample/speex_resampler_wrapper.h
@@ -89,7 +89,7 @@ static const SpeexResampleFuncs float_funcs =
resample_float_resampler_reset_mem,
resample_float_resampler_skip_zeros,
resample_float_resampler_strerror,
- 16
+ 32
};
SpeexResamplerState *resample_double_resampler_init (guint32 nb_channels,
@@ -155,7 +155,7 @@ static const SpeexResampleFuncs int_funcs =
resample_int_resampler_reset_mem,
resample_int_resampler_skip_zeros,
resample_int_resampler_strerror,
- 32
+ 16
};
#endif /* __SPEEX_RESAMPLER_WRAPPER_H__ */