AudioResampler.update

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.

class AudioResampler
bool
update

Parameters

inRate int

new input rate

outRate int

new output rate

options gst.structure.Structure

new options or null

Return Value

Type: bool

true if the new parameters could be set