by bsder · 9y ago · 0 comments
If you give Web developers access to raw samples, they are going to expect it to work. When it doesn't on Chrome on Android, lots of people are going to start complaining and filing bugs.
So, instead of fixing the audio path, they decided to bury its crappiness under a "higher-level" API which has fuzzier latency and can be built with hacks in the audio driver stacks themselves.
So, at every point in time up to and including now, you've always got something resisting low-latency PCM. Android is just the latest reason.
Side note: it looks like Chris Rogers bowed out of Web Audio about 2012/2013 timeframe.
Also, it was obvious JS perf would get better and better.
https://issuetracker.google.com/issues/36908622
AAudio is a new C API. It is designed for high-performance audio applications that require low latency. It is currently in the Android O developer preview and not ready for production use. (Jun 2017)
Until this changes, the media apis will lag as G attempts to maintain parity with other orgs. Google makes product for Google devs and incidentally for the world to use.