TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

19 点作者 c0deR3D大约 1 年前
As computing power grows, smartphones should theoretically encounter fewer and fewer stutters. However, at least on the phones I&#x27;ve used, which are iPhone8 Plus and Pixel 7, stutters still exist during music playing (even with the phone put in sleep mode). And I don&#x27;t think it&#x27;s only the case for the phones I&#x27;ve used.<p>The sources of the stutters I can come up with are:<p>1. all available LITTLE cores are busy and at least a task wake up in the meantime. 2. the CPU scheduler doesn&#x27;t schedule properly (from the user experience perspective). 3. music player doesn&#x27;t advice itself as latency-sensitive app.<p>It&#x27;s easy for modern smartphones to have ready_to_run_tasks (daemons) &gt; available_cpus, and a CPU scheduler which ignores latency-sensitive apps can easily preempt the music player.<p>To sum up, user experience is probably the utmost thing that modern phones care, how can things like &quot;stutters during music playing&quot; happen? Can&#x27;t we just defer those daemon tasks?<p>(maybe this is why my collegue got a MP3 player instead)

27 条评论

jlmorton大约 1 年前
I&#x27;m perplexed how you&#x27;re talking about this like it&#x27;s a common problem people have had, something that&#x27;s been ongoing for years.<p>There is no stuttering problem on audio playback on any of the smart phones you&#x27;ve listed. And there hasn&#x27;t been any stuttering problem since the initial launch of the first generation iPhone.<p>The last time I remember any stuttering on any phone I&#x27;ve owned was maybe the Motorola Rokr twenty years ago.<p>You must have some sort of accessory problem.
评论 #39972778 未加载
评论 #39972693 未加载
评论 #39977478 未加载
skrrtww大约 1 年前
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&#x27;s from my iCloud library or Apple Music itself, there&#x27;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.<p>There are also inconsistent stutters throughout songs.<p>iPhone 13 and 2nd gen AirPods Pro, if it&#x27;s relevant.<p>I&#x27;ve filed a feedback but Apple feedback is a black hole these days.
评论 #39972742 未加载
评论 #39972840 未加载
评论 #39975724 未加载
warrenm大约 1 年前
What &quot;modern smartphone&quot; cannot &quot;play music smoothly&quot;?<p>If you mean, &quot;can&#x27;t stream smoothly&quot; - check your connection and your service choice (eg Paramount+ <i>always</i> seems to have problems for me ... regardless of the connection or device)<p>But &quot;play music smoothly&quot; has been a core feature (with nary a problem) since the first iPhone<p>Every one I have had runs all the audio I have ever wanted to run with no issue - 4G, 6S+, 8+, 11, SE, 14, and 15<p>My dad&#x27;s and mother-in-law&#x27;s Pixel 7 also have no issues
mikestew大约 1 年前
Turn off any multi-hundred watt 2.4Ghz transmitters you might have in the house. Like the microwave.<p>I jest, but at the same time I don&#x27;t. Like everyone else on this thread, I&#x27;m like &quot;stutters? What is it, 1999 and I&#x27;m using a Pentium II to play my 28kbps MP3?&quot; Ergo, if you&#x27;re not using a hard-wired headphone connection, my only thought in this modern age is radio interference.
runjake大约 1 年前
I have high quality files in Music.app, episodes in Overcast, and have Spotify audio quality settings on &quot;Very High&quot; and I do not encounter skips on my iPhone 15 Pro.
theragra大约 1 年前
I don&#x27;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.
评论 #39972664 未加载
manicennui大约 1 年前
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:<p><a href="https:&#x2F;&#x2F;android-developers.googleblog.com&#x2F;2021&#x2F;03&#x2F;an-update-on-androids-audio-latency.html" rel="nofollow">https:&#x2F;&#x2F;android-developers.googleblog.com&#x2F;2021&#x2F;03&#x2F;an-update-...</a><p>I haven&#x27;t heard about issues with latency in iOS audio, but the iPhone 8 is certainly not &quot;modern&quot;. Are you using bluetooth headphones? Which apps are you using to play the audio?
评论 #39977193 未加载
jwildeboer大约 1 年前
I’ve been using an iPhone since 3GS up to the 12 where I’m typing this reply on. I never had problems with stuttering when playing music either through wired headphones or Bluetooth. Is all.
Solitude042大约 1 年前
One of the media players I used (on Android) had a bug in which it was susceptible to getting put to sleep when in the background - it would promptly be reawakened by the player service, but that would cause a glitch each time (especially at the transition between tracks). Once I removed the player from the power optimization list, the glitches evaporated entirely. Maybe something to look into, since it&#x27;s a different cause than the three on your list?
评论 #39977215 未加载
varispeed大约 1 年前
It&#x27;s mostly because I believe none of the phones run real-time operating system.<p>Smooth audio is actually quite hard to achieve.<p>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&#x27;t finish on time you get clicks and stutters.<p>Filling a buffer sounds simple, but it may involve DSP processing like filtering, mixing multiple channels etc. that also costs processing power.<p>Some operating systems &quot;solved&quot; 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).<p>Audio in Android is very much still broken (though I am not on latest Android).<p>Don&#x27;t know about iPhone.<p>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.<p>Everything has trade offs.<p>That&#x27;s why I used to prefer having separate device for playing music, optimised for this task.
talldayo大约 1 年前
I don&#x27;t think any of my phones, iPhone or Android, have had hardware-related issues during music playback. I <i>have</i> had:<p>- faulty 3.5mm jacks on certain headphones causing intermittent cutout<p>- buffering pauses for remote libraries&#x2F;streaming (eg. YouTube or Spotify)<p>- Bluetooth&#x2F;codec issues, where the proper codec isn&#x27;t negotiated and &quot;headset&quot; mode stays on<p>That being said, I don&#x27;t stream FLAC and my library is &lt;10,000 songs. Maybe you&#x27;ve got a big library?
评论 #39971739 未加载
jmull大约 1 年前
Can’t say I’ve heard this.<p>Audible app over Bluetooth to my car has issues between chapters&#x2F;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).<p>Maybe your issues are something similar, and specific to a particular case you have rather than a general issue with modern smartphones.
评论 #39973021 未加载
评论 #39972701 未加载
steve_adams_86大约 1 年前
I get stutters on my Apple Watch ultra, but I’m not sure I’ve ever noticed it on an android phone or iPhone in a very long time.<p>On the watch I suspect it’s some kind of Bluetooth&#x2F;encoding bottleneck because the processor seems totally capable of smooth audio playback, but I’m not certain it can mediate the connection, encoding, and transferring flawlessly.
JohnFen大约 1 年前
I use Android, not iPhone, but the only time I have stuttering issues is when I&#x27;m using Bluetooth headphones&#x2F;earphones or speakers. When I&#x27;m using the physical jack, there is never an issue.<p>So my assumption has always been that the problem is Bluetooth. Perhaps RF interference or something.
hamilyon2大约 1 年前
Summarising my experience as user and developer of music applications on mobile and mobile-like devices. Those are bugs. There is usually no real reason for stutter, silence, distortion and certainly not performance reasons. This was kind of trivial on Galaxy S hardware.<p>Besides Bluetooth radio interference, as other commenters noted, stutter happen because of kilometres deep bug ridden code base.
wink大约 1 年前
The only time any of my couple Android phones of the last 14 years have stuttered when the browser was hogging CPU while I was browsing some messed up JS site (very rare) or maybe once every two years when it needed a reboot. Probably less than every two years.
0xdeadbeefbabe大约 1 年前
&gt; how can things like &quot;stutters during music playing&quot; happen?<p>Good question.<p>It&#x27;s nice that streaming works at all, but a lot of things have to be working underneath. I wonder how a DJ would set things up, even if that&#x27;s not my use case. What MP3 player did your colleague get?
voisin大约 1 年前
Feels like a you problem. I have no recollection of experiencing this on any iPhone I’ve had and I listen to music running, at my desk, etc for hours every day, with my phone being my primary music driver (I keep my headphones bluetoothed to it)
GenerocUsername大约 1 年前
I&#x27;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.<p>Even when switching wifi networks, driving on cell coverage, Bluetooth or hardwired headphones etc...
realityfactchex大约 1 年前
There are other similar stuttery experiences with top of the line latest iPhone too.<p>Walk into Apple store and try opening an Email app on top end phone, or try swipe-scrolling a PDF to see how smooth it is.<p>1- Click an unread (demo) email that conains images. Watch as text size loads way too small, the emails load, then text bounces to correct size after the images are fully loaded. A very unsmooth experience, all told, that could be characterized as a stutter.<p>2- Search the iPhone for &quot;pdf&quot; to find a pre-loaded demo PDF document. Open it. Now swip-down (flick) to let it scroll &quot;smoothly&quot;. You get 120 Hz smoothness, but then it &quot;hiccups&quot; now and then, even in a pretty small file given the device resources. So, stuttery.<p>Yeah, not perfect. But, really good overall, considering it replaces a desktop in the hand for many tasks.<p>Still, it would be amazing for all the little things were ironed out.<p>Some day I think it will happen. But as others comment, there&#x27;s a lot that has to occur behind each detail.<p>There are other obvious bugs that have also been out for months or years in other software from other companies, some used quite a bit and some less so.<p>I think it gives a window into how bottlenecked some orgs are, by one factor or another.
haunter大约 1 年前
Never had any problems like that, using iPhones since 3G
lordnacho大约 1 年前
I&#x27;ll throw in another speculation: maybe the battery management is causing the OS to pause CPU usage for a bit?
评论 #39977234 未加载
frogblast大约 1 年前
Are you using bluetooth headphones? Radio interference is far more common than any scheduling issue.
p1esk大约 1 年前
No issues with Spotify on my iphone 14
doctorpangloss大约 1 年前
Do you use AirPods?
jbjbjbjb大约 1 年前
Are you low on storage?
mouse_大约 1 年前
You have to take enshittification into account. My phone is probably thousands of times more powerful than a computer from 2 decades ago, yet I still chose to get an iPod recently, and my listening experience on that has been significantly better. I could go on for hours about this topic, but I&#x27;ll keep it brief. Application specific devices are always going to beat smartphones. Smartphones can do everything, but they can&#x27;t do anything -well-.