This looks interesting. But it seems that it needs the ratio also
(according to the api documentation) and takes in *maximum* number of
frames. Which probably means that it might leave some frames unused or
trim couple out. This is quite interesting library anyways as it uses
more sophisticated algorithms than SoX. And the site also has
interesting material (though yet unfinished) about rate conversions.
> However, it's probably just a one-liner patch to modify