AudioResampler.update
bool update(int inRate, int outRate, gst.structure.Structure options)Update the resampler parameters for resampler. This function should not be called concurrently with any other function on resampler.
When in_rate or out_rate is 0, its value is unchanged.
When options is null, the previously configured options are reused.
Parameters
inRate | new input rate |
outRate | new output rate |
options | new options or null |
Returns
true if the new parameters could be set