Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iandcoleman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
iandcoleman
8y ago
It's not the hardware per see, ALSA could certainly be improved by vendors, it's the intermediate layers that cause the problem. Android needs to enforce low latency upon vendors, and not continue to give them the easy option of a
2.
▲
by
iandcoleman
8y ago
Android already has an aec module that you can use. It's timestamp based using the timestamp calls to ALSA to perform the cancellation
3.
▲
by
iandcoleman
8y ago
Sorry, Actually, it's 45ms. From the docs: android.hardware.audio.low_latency indicates a continuous output latency of 45 ms or less. android.hardware.audio.pro indicates a continuous round-trip latency of 20 ms or less
4.
▲
by
iandcoleman
8y ago
'low_latency' used to be sub 20ms, however 'professional' was introduced a while ago to replace this, with 'low_latency' becoming 40ms
5.
▲
by
iandcoleman
8y ago
Unfortunately, this is unlikely to improve latency on devices which already don't have 'good latency'. Reviewing the linked doc, this is a 'high level' API whos goal is possibly more about streamlining the API acros