[Bug 783991] openslessink: Unable to use native sample rate(48000) for low latency audio playback on most Android devices
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 9 14:18:16 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783991
Tadas <tadas at interactio.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tadas at interactio.io
--- Comment #3 from Tadas <tadas at interactio.io> ---
Created attachment 363291
--> https://bugzilla.gnome.org/attachment.cgi?id=363291&action=edit
48000 Hz sample rate support added to sink element
Fix has been that we use in our company internally. It basically only adds
48000 Hz as supported sample rate. In previous commit this sample rate was
omitted because of downsampling to this rate issues, but we never encountered
them and low audio latency was more important for us.
To obtain the lowest output latency (25 - 40 ms) on Android, you must supply
data that matches the device's optimal sample rate. In most cases on new
devices it is 48000 Hz. Optimal sample rate uses android's fast mixer path to
reduce latency. Optimal sample rate can only be retrieved in JAVA.
Reference: https://developer.android.com/ndk/guides/audio/audio-latency.html
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list