summaryrefslogtreecommitdiff
path: root/gst/audioresample
Commit message (Collapse)AuthorAgeFilesLines
* Updates for two-arg init from GST_BOILERPLATE_FULL.Andy Wingo2005-08-281-4/+2
| | | | | | | Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE_FULL.
* use base class' newsegment to properly timestampThomas Vander Stichele2005-08-261-2/+5
| | | | | | Original commit message from CVS: use base class' newsegment to properly timestamp
* check/: add a test for audioconvertThomas Vander Stichele2005-08-252-4/+10
| | | | | | | | | | | | | | | 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
* add a check for audioresampleThomas Vander Stichele2005-08-252-2/+13
| | | | | Original commit message from CVS: add a check for audioresample
* show some info on what's left in the queueThomas Vander Stichele2005-08-251-2/+6
| | | | | Original commit message from CVS: show some info on what's left in the queue
* gst/audioresample/: add room for extra overlap samples when asked to ↵Thomas Vander Stichele2005-08-256-35/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix broken header setup in Makefile.amChristian Schaller2005-08-241-1/+1
| | | | | Original commit message from CVS: fix broken header setup in Makefile.am
* dist moreThomas Vander Stichele2005-08-242-5/+6
| | | | | Original commit message from CVS: dist more
* port audioresample to basetransformThomas Vander Stichele2005-08-2410-236/+271
| | | | | Original commit message from CVS: port audioresample to basetransform
* gst/audioresample/Makefile.am: Leet audioresampling codeDavid Schleef2005-08-2314-0/+2254
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: