update_config
Description:
Set in_rate
, out_rate
and config
as extra configuration for this.
in_rate
and out_rate
specify the new sample rates of input and output formats. A value of 0 leaves the sample rate
unchanged.
config
can be null
, in which case, the current configuration is not changed.
If the parameters in config
can not be set exactly, this function returns false
and will try to update as much state
as possible. The new state can then be retrieved and refined with
get_config.
Look at the `GST_AUDIO_CONVERTER_OPT_*` fields to check valid configuration option and values.
Parameters:
this | |
in_rate |
input rate |
out_rate |
output rate |
config |
a Structure or |
Returns:
|