def src_set_ratio(state, new_ratio):
return _lib.src_set_ratio(state, new_ratio) if state else None<EOL>
Set a new SRC ratio.

    This allows step responses in the conversion ratio.
    Returns non zero on error.