Resample an array of samples using a previously configured context.
@param src an array of unconsumed samples
@param consumed the number of samples of src which have been consumed are returned here
@param src_size the number of unconsumed samples available
@param dst_size the amount of space in samples available in dst
@param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context.
@return the number of samples written in dst or -1 if an error occurred
Resample an array of samples using a previously configured context. @param src an array of unconsumed samples @param consumed the number of samples of src which have been consumed are returned here @param src_size the number of unconsumed samples available @param dst_size the amount of space in samples available in dst @param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context. @return the number of samples written in dst or -1 if an error occurred