1. 23 Nov, 2007 1 commit
    • Sebastian Dröge's avatar
      gst/speexresample/: Add functions to push the remaining samples and to get the... · f564ebf8
      Sebastian Dröge authored
      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.
      f564ebf8
  2. 21 Nov, 2007 1 commit
    • Sebastian Dröge's avatar
      gst/speexresample/README: Add README explaining where the resampling code was... · d834d1cb
      Sebastian Dröge authored
      gst/speexresample/README: Add README explaining where the resampling code was taken from and which changes were done.
      
      Original commit message from CVS:
      * gst/speexresample/README:
      Add README explaining where the resampling code was taken from
      and which changes were done.
      * gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
      (speex_free):
      Use g_malloc() and friends instead of malloc() to achieve higher
      portability and define the functions inline.
      * gst/speexresample/speex_resampler.h:
      Add back some useless preprocessor stuff to keep the diff between
      our version and the one from the Speex SVN repository lower.
      d834d1cb
  3. 20 Nov, 2007 1 commit
    • Sebastian Dröge's avatar
      Add resample element based on the Speex resampling algorithm. · 7fc30c9d
      Sebastian Dröge authored
      Original commit message from CVS:
      * configure.ac:
      * gst/speexresample/arch.h:
      * gst/speexresample/fixed_generic.h:
      * gst/speexresample/gstspeexresample.c:
      (gst_speex_resample_base_init), (gst_speex_resample_class_init),
      (gst_speex_resample_init), (gst_speex_resample_start),
      (gst_speex_resample_stop), (gst_speex_resample_get_unit_size),
      (gst_speex_resample_transform_caps),
      (gst_speex_resample_init_state), (gst_speex_resample_update_state),
      (gst_speex_resample_reset_state), (gst_speex_resample_parse_caps),
      (gst_speex_resample_transform_size), (gst_speex_resample_set_caps),
      (gst_speex_resample_event), (gst_speex_resample_check_discont),
      (gst_speex_resample_process), (gst_speex_resample_transform),
      (gst_speex_resample_set_property),
      (gst_speex_resample_get_property), (plugin_init):
      * gst/speexresample/gstspeexresample.h:
      * gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
      (speex_free), (compute_func), (main), (sinc), (cubic_coef),
      (resampler_basic_direct_single), (resampler_basic_direct_double),
      (resampler_basic_interpolate_single),
      (resampler_basic_interpolate_double), (update_filter),
      (speex_resampler_init), (speex_resampler_init_frac),
      (speex_resampler_destroy), (speex_resampler_process_native),
      (speex_resampler_process_float), (speex_resampler_process_int),
      (speex_resampler_process_interleaved_float),
      (speex_resampler_process_interleaved_int),
      (speex_resampler_set_rate), (speex_resampler_get_rate),
      (speex_resampler_set_rate_frac), (speex_resampler_get_ratio),
      (speex_resampler_set_quality), (speex_resampler_get_quality),
      (speex_resampler_set_input_stride),
      (speex_resampler_get_input_stride),
      (speex_resampler_set_output_stride),
      (speex_resampler_get_output_stride), (speex_resampler_skip_zeros),
      (speex_resampler_reset_mem), (speex_resampler_strerror):
      * gst/speexresample/speex_resampler.h:
      * gst/speexresample/speex_resampler_float.c:
      * gst/speexresample/speex_resampler_int.c:
      * gst/speexresample/speex_resampler_wrapper.h:
      Add resample element based on the Speex resampling algorithm.
      7fc30c9d