summaryrefslogtreecommitdiffstats
path: root/gst/audioresample/resample_ref.c
AgeCommit message (Collapse)AuthorFilesLines
2005-12-02gst/audioresample/: Fix audioresample, seek torture, new segments, reverse ↵Wim Taymans1-0/+3
negotiation etc.. work fine. Original commit message from CVS: * gst/audioresample/buffer.c: (audioresample_buffer_queue_flush): * gst/audioresample/buffer.h: * gst/audioresample/gstaudioresample.c: * gst/audioresample/gstaudioresample.h: * gst/audioresample/resample.c: (resample_input_flush), (resample_input_pushthrough), (resample_input_eos), (resample_get_output_size_for_input), (resample_get_input_size_for_output), (resample_get_output_size), (resample_get_output_data): * gst/audioresample/resample.h: * gst/audioresample/resample_ref.c: (resample_scale_ref): Fix audioresample, seek torture, new segments, reverse negotiation etc.. work fine.
2005-08-25add a check for audioresampleThomas Vander Stichele1-0/+3
Original commit message from CVS: add a check for audioresample
2005-08-25show some info on what's left in the queueThomas Vander Stichele1-2/+6
Original commit message from CVS: show some info on what's left in the queue
2005-08-25gst/audioresample/: add room for extra overlap samples when asked to ↵Thomas Vander Stichele1-4/+7
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-3/+3
Original commit message from CVS: port audioresample to basetransform
2005-08-23gst/audioresample/Makefile.am: Leet audioresampling codeDavid Schleef1-0/+210
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: