update


Description:

public bool update (int in_rate, int out_rate, Structure options)

Update the resampler parameters for this.

This function should not be called concurrently with any other function on this.

When in_rate or out_rate is 0, its value is unchanged.

When options is null, the previously configured options are reused.

Parameters:

this

a Resampler

in_rate

new input rate

out_rate

new output rate

options

new options or null

Returns:

true if the new parameters could be set