openslessink: Unable to use native sample rate(48000) for low latency audio playback on most Android devices
Submitted by Domas
Link to original bug (#783991)
Description
To obtain the lowest output latency on android (~20 ms), you must supply audio data that matches the device's optimal sample rate and buffer size. Otherwise output latency is 100 - 200 ms, which for some projects is a big deal.
openslessink should be able to accept all provided sample rates (including 48000 Hz) and have a parameter for setting optimal buffer size.
More on this:
https://developer.android.com/ndk/guides/audio/audio-latency.html#output-latency
Version: 1.x