You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closes#2262
Add an `options` parameter to `AudioResampler` so callers can pass
`libswresample` options (e.g. `resampler`, `filter_size`, `phase_shift`,
`cutoff`, `precision`) through to the underlying resampler.
When options are supplied, the conversion is performed by an explicit
`aresample` filter (which owns the SwrContext) instead of the one FFmpeg
auto-inserts before `aformat`. Options are forwarded as filter options,
which search child contexts and reach the SwrContext. No new C bindings
are required.
0 commit comments