summaryrefslogtreecommitdiffstats
path: root/gst/audioresample/gstaudioresample.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-28Updates for two-arg init from GST_BOILERPLATE_FULL.Andy Wingo1-4/+2
Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE_FULL.
2005-08-26use base class' newsegment to properly timestampThomas Vander Stichele1-2/+5
Original commit message from CVS: use base class' newsegment to properly timestamp
2005-08-25check/: add a test for audioconvertThomas Vander Stichele1-3/+9
Original commit message from CVS: * check/Makefile.am: * check/elements/audioconvert.c: (setup_audioconvert), (cleanup_audioconvert), (get_int_caps), (verify_convert), (GST_START_TEST), (audioconvert_suite), (main): add a test for audioconvert * gst/audioresample/gstaudioresample.c: * gst/audioresample/gstaudioresample.h: set DURATION so that TIMESTAMP(a) + DURATION(a) == TIMESTAMP(b); note that for buffers of 1/3 sec this means DURATION(c) is one nanosecond more than for a and b
2005-08-25add a check for audioresampleThomas Vander Stichele1-2/+10
Original commit message from CVS: add a check for audioresample
2005-08-25gst/audioresample/: add room for extra overlap samples when asked to ↵Thomas Vander Stichele1-25/+45
transform size protect against possible mem corr... Original commit message from CVS: * gst/audioresample/debug.c: * gst/audioresample/gstaudioresample.c: add room for extra overlap samples when asked to transform size protect against possible mem corruption and check for discrepancies between written size and outbuffer's size so we can warn for potential problems * gst/audioresample/resample.c: (resample_init), (resample_get_output_size_for_input), (resample_get_output_size), (resample_set_n_channels), (resample_set_format): set debug level based on RESAMPLE_DEBUG env var make sure that get_output_size* returns a whole number of sample_size set sample_size each time either channel or format is set * gst/audioresample/resample_chunk.c: (resample_scale_chunk): * gst/audioresample/resample_functable.c: (resample_scale_functable): * gst/audioresample/resample_ref.c: (resample_scale_ref): remove r->sample_size, it's done in resample.c now add some debugging to the ref implementation make sure we only give back bytes that are wholes of the sample size
2005-08-24port audioresample to basetransformThomas Vander Stichele1-202/+224
Original commit message from CVS: port audioresample to basetransform
2005-08-23gst/audioresample/Makefile.am: Leet audioresampling codeDavid Schleef1-0/+434
Original commit message from CVS: * gst/audioresample/Makefile.am: Leet audioresampling code * gst/audioresample/buffer.c: * gst/audioresample/buffer.h: * gst/audioresample/debug.c: * gst/audioresample/debug.h: * gst/audioresample/functable.c: * gst/audioresample/functable.h: * gst/audioresample/gstaudioresample.c: * gst/audioresample/gstaudioresample.h: * gst/audioresample/resample.c: * gst/audioresample/resample.h: * gst/audioresample/resample_chunk.c: * gst/audioresample/resample_functable.c: * gst/audioresample/resample_ref.c: