gst/filter/gstlpwsinc.*: Implement latency query and only forward those samples downs...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 16 Aug 2007 09:48:27 +0000 (09:48 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 16 Aug 2007 09:48:27 +0000 (09:48 +0000)
commita490cffe5f2de3bac5fa836a1238c6980ef022c7
treed05c3b36bd79abde29fca9f5e620691a9188073d
parent647e2dd7c039e2d4b10d421308fafba5f72f4b59
gst/filter/gstlpwsinc.*: Implement latency query and only forward those samples downstream that actually contain the ...

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init),
(gst_lpwsinc_init), (process_32), (process_64),
(lpwsinc_build_kernel), (lpwsinc_push_residue),
(lpwsinc_transform), (lpwsinc_start), (lpwsinc_query),
(lpwsinc_query_type), (lpwsinc_event), (lpwsinc_set_property):
* gst/filter/gstlpwsinc.h:
Implement latency query and only forward those samples downstream
that actually contain the data we want, i.e. drop kernel_length/2
in the beginning and append kernel_length/2 (created by convolving
the filter kernel with zeroes) to the end.
* tests/check/elements/lpwsinc.c: (GST_START_TEST):
Adjust the unit test for this slightly changed behaviour.
gst/audiofx/audiowsinclimit.c
gst/audiofx/audiowsinclimit.h
tests/check/elements/audiowsinclimit.c