gstreamer/gst/audioresample
Thomas Vander Stichele 0daade2ce6 gst/audioresample/: add room for extra overlap samples when asked to 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-25 12:31:31 +00:00
..
buffer.c port audioresample to basetransform 2005-08-24 14:08:58 +00:00
buffer.h gst/audioresample/Makefile.am: Leet audioresampling code 2005-08-23 19:29:38 +00:00
debug.c gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr... 2005-08-25 12:31:31 +00:00
debug.h gst/audioresample/Makefile.am: Leet audioresampling code 2005-08-23 19:29:38 +00:00
functable.c port audioresample to basetransform 2005-08-24 14:08:58 +00:00
functable.h gst/audioresample/Makefile.am: Leet audioresampling code 2005-08-23 19:29:38 +00:00
gstaudioresample.c gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr... 2005-08-25 12:31:31 +00:00
gstaudioresample.h port audioresample to basetransform 2005-08-24 14:08:58 +00:00
Makefile.am fix broken header setup in Makefile.am 2005-08-24 17:21:49 +00:00
resample.c gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr... 2005-08-25 12:31:31 +00:00
resample.h port audioresample to basetransform 2005-08-24 14:08:58 +00:00
resample_chunk.c gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr... 2005-08-25 12:31:31 +00:00
resample_functable.c gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr... 2005-08-25 12:31:31 +00:00
resample_ref.c gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr... 2005-08-25 12:31:31 +00:00