Android’s 10 Millisecond Problem explained
11–20 of 311 posts
Re: Android’s 10 Millisecond Problem explained
#12That's like saying, “Consumers have a strong desire to buy gourmet steaks from McDonald's, as shown by revenue data from Ruth's Chris.”
No, McDonald's serves billions of meals by understanding its own market, not by catering to diners at Ruth's Chris. And naturally, comparing top sellers at each will give very different lists.
Re: Android’s 10 Millisecond Problem explained
#13Earlier quoted context omitted.
I don't see how this has to do with hardware rather than architectural decisions AudioFlinger + Alsa take a lot of time, as seen per the graph But Android seems to take the option of least effort and "works most of the time" (which they have their reasons to)
By controlling the hardware, they need fewer drivers and they can skip one of the abstraction layers.
This suggests that you can work focused on one driver and therefore save developer-time. However, the drivers on Android are made by a bigger workforce, which must be taken into account.
> they can skip one of the abstraction layers
The post explicitly states that the HAL ought to add no latency at all.
Re: Android’s 10 Millisecond Problem explained
#14Re: Android’s 10 Millisecond Problem explained
#15Developing with the NDK will not solve this problem? Does it still have to go through alsa and audioflinger?
The problem is not the fact that they use ALSA and AudioFlinger. ALSA and AudioFlinger just use at this moment too much time. This could be improved by decreasing the period size.
Re: Android’s 10 Millisecond Problem explained
#16This squares pretty well with my personal experience. Pretty much every music geek I know chose an iPhone over an Android because of the music apps
Re: Android’s 10 Millisecond Problem explained
#17Re: Android’s 10 Millisecond Problem explained
#18Anyone with any insight about how Apple does this?
Probably by custom and known hardware. Let's say it takes 1000 working hours to produce a low latency driver/firmware; Apple only needs to do that for a few devices, but every Android manufacturer has different audio chips and most of them only care that audio works, not that it works well - so they do not invest that time for each device type. Having known hardware also works for the application developers, because…
Re: Android’s 10 Millisecond Problem explained
#19This squares pretty well with my personal experience. Pretty much every music geek I know chose an iPhone over an Android because of the music apps
I'm a music geek, I just chose to carry a dedicated music player.