gst/speexresample/: Add functions to push the remaining samples and to get the latenc...
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 23 Nov 2007 08:48:50 +0000 (08:48 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 23 Nov 2007 08:48:50 +0000 (08:48 +0000)
commitf564ebf8cb76dac283b996f147c0c5a9ca07236a
treead2aa72ac330ae298470aefdfc604813db86c0d7
parentac1cc82165da09017affc9135dca89a5cd88cd00
gst/speexresample/: Add functions to push the remaining samples and to get the latency of the resampler. These will g...

Original commit message from CVS:
* gst/speexresample/resample.c: (speex_resampler_get_latency),
(speex_resampler_drain_float), (speex_resampler_drain_int),
(speex_resampler_drain_interleaved_float),
(speex_resampler_drain_interleaved_int):
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_wrapper.h:
Add functions to push the remaining samples and to get the latency
of the resampler. These will get added to Speex SVN in this or a
slightly changed form at some point too and should get merged then
again.
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_init),
(gst_speex_resample_init_state),
(gst_speex_resample_transform_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_fix_output_buffer), (gst_speex_resample_process),
(gst_speex_resample_query), (gst_speex_resample_query_type):
Drop the prepending zeroes and output the remaining samples on EOS.
Also properly implement the latency query for this. speexresample
should be completely ready for production use now.
gst/speexresample/gstspeexresample.c
gst/speexresample/resample.c
gst/speexresample/speex_resampler.h
gst/speexresample/speex_resampler_wrapper.h