Live data from Hacker News

Ask HN: Why can't modern smartphones play music smoothly?

news.ycombinator.com

11–20 of 50 posts

Re: Ask HN: Why can't modern smartphones play music smoothly?

#11
Android had audio latency issues for a long time, and I think they were originally related to the fact that Linux also had high latency audio. I was under the impression that these were much better now:

https://android-developers.googleblog.com/2021/03/an-update-...

I haven't heard about issues with latency in iOS audio, but the iPhone 8 is certainly not "modern". Are you using bluetooth headphones? Which apps are you using to play the audio?

Re: Ask HN: Why can't modern smartphones play music smoothly?

#13
Something is fucked up with Apple Music streaming playback; it may be Bluetooth specific or may not be. In nearly every song I stream, whether it's from my iCloud library or Apple Music itself, there's a stutter at exactly the 15 second mark in whatever song it is; the stutter is different every time but when it occurs is consistent.

There are also inconsistent stutters throughout songs.

iPhone 13 and 2nd gen AirPods Pro, if it's relevant.

I've filed a feedback but Apple feedback is a black hole these days.

Re: Ask HN: Why can't modern smartphones play music smoothly?

#14
Can’t say I’ve heard this.

Audible app over Bluetooth to my car has issues between chapters/tracks. But it’s probably fair to blame Audible’s software for not handling this edge case very well (since I don’t encounter the same when switching tracks in other apps in the same setup).

Maybe your issues are something similar, and specific to a particular case you have rather than a general issue with modern smartphones.

Re: Ask HN: Why can't modern smartphones play music smoothly?

#15
I've been using Android phones as an audio playback device since the original G1 and have never had a single audio stutter from simple music playback.

Even when switching wifi networks, driving on cell coverage, Bluetooth or hardwired headphones etc...

Re: Ask HN: Why can't modern smartphones play music smoothly?

#16
It's mostly because I believe none of the phones run real-time operating system.

Smooth audio is actually quite hard to achieve.

Usually it works like this - audio driver has a buffer that the device is ought to fill with waveform data in a given amount of time. Then that buffer is shifted to the DAC and goes to your speaker. If during that process something happens like an interrupt that takes takes enough time that the process filling the buffer can't finish on time you get clicks and stutters.

Filling a buffer sounds simple, but it may involve DSP processing like filtering, mixing multiple channels etc. that also costs processing power.

Some operating systems "solved" this by setting buffer high enough that such interruptions would minimise stutters but that is at the expense of the latency (the delay between filling the buffer and then buffer being transferred to the speaker through DAC).

Audio in Android is very much still broken (though I am not on latest Android).

Don't know about iPhone.

The problem is unlikely going to be solved as if you make sure audio can run in real time and be stable, you encounter other problems that make phone use problematic.

Everything has trade offs.

That's why I used to prefer having separate device for playing music, optimised for this task.

Re: Ask HN: Why can't modern smartphones play music smoothly?

#17
I'm perplexed how you're talking about this like it's a common problem people have had, something that's been ongoing for years.

There is no stuttering problem on audio playback on any of the smart phones you've listed. And there hasn't been any stuttering problem since the initial launch of the first generation iPhone.

The last time I remember any stuttering on any phone I've owned was maybe the Motorola Rokr twenty years ago.

You must have some sort of accessory problem.

Re: Ask HN: Why can't modern smartphones play music smoothly?

#18
post #9

I don't think my pixel 6pro stutters unless there are Bluetooth issues. I used it cycling and listening music for many hours, and if music was cached, no issues. Sometimes there are issues with Bluetooth and streaming, but I think I can tell these apart from other stutter.

Same. No issues with my Pixel 6 or 7. Have just had occasional Bluetooth blips to my Buds.

I have more challenges using my Pixel Buds with a Bluetooth dongle on my PC.

Re: Ask HN: Why can't modern smartphones play music smoothly?

#19

I'm perplexed how you're talking about this like it's a common problem people have had, something that's been ongoing for years. There is no stuttering problem on audio playback on any of the smart phones you've listed. And there hasn't been any stuttering problem since the initial launch of the first generation iPhone. The last time I remember any stuttering on any phone I've owned was maybe the Motorola Rokr twenty…

I've got a mid-range Redmii Android at the moment and it's perfectly fine.

I don't remember any stuttering on this or previous phones.

Re: Ask HN: Why can't modern smartphones play music smoothly?

#20
post #14

Can’t say I’ve heard this. Audible app over Bluetooth to my car has issues between chapters/tracks. But it’s probably fair to blame Audible’s software for not handling this edge case very well (since I don’t encounter the same when switching tracks in other apps in the same setup). Maybe your issues are something similar, and specific to a particular case you have rather than a general issue with modern smartphones.

Also bluetooth is generally a shitshow.
Post reply on HN