Thanks for the suggestion, I noticed somebody mentioned fifo in a forum,
but I could not find working examples. At first swr_convert looked like the
easier approach comparing to manual resampling, but with all those
complications I'm not longer sure
On Wed, Jan 21, 2015 at 4:15 PM, Gonzalo Garramu
You should take a look at the fifo functions that would cache the audio for
you and you would feed the encoder the number of samples you see fit.
2015-01-21 8:31 GMT-03:00 Max Vlasov :
> Hi,
>
> When sample rate conversion is needed, one can face another problem. Some
> codecs reports they don't
Hi,
When sample rate conversion is needed, one can face another problem. Some
codecs reports they don't have CODEC_CAP_VARIABLE_FRAME_SIZE capability so
accept only some fixed frame size buffers with an exception for the last
block. I tried to find a working example, but it seems they often lack f