KiteFFmpegResampler

Converts sample rates with FFmpeg's libswresample, through the aresample filter of the KiteFFmpeg filter graph. Set it in AudioConfig.resampler.

Android, the JVM and Kotlin/Native only. The web build of KiteFFmpeg has no filter graph, so there create throws. The engine then keeps its own resampler and reports PlaybackWarning.ResamplerUnavailable.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun create(inputRate: Int, outputRate: Int, channels: Int): AudioResampler