audio-converter: simplify API
authorWim Taymans <wtaymans@redhat.com>
Tue, 5 Jan 2016 15:06:22 +0000 (16:06 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 28 Mar 2016 11:25:50 +0000 (13:25 +0200)
commitde37491662bd845155255adbcd0a8668b3d662ef
tree6f0715508a0b39d9a73383b833311d6a0a290a1f
parent1d9a793545019cb0c361d76e45ca121f9ca378d5
audio-converter: simplify API

Remove the consumed/produced output fields from the resampler and
converter. Let the caler specify the right number of input/output
samples so we can be more optimal.
Use just one function to update the converter configuration.
Simplify some things internally.
Make it possible to use writable input as temp space in audioconvert.
gst-libs/gst/audio/audio-converter.c
gst-libs/gst/audio/audio-converter.h
gst-libs/gst/audio/audio-resampler.c
gst-libs/gst/audio/audio-resampler.h
gst/audioresample/gstaudioresample.c