6 ms·
OK, what about the absurd latency for responding to hardware buttons on headphones and the like? My experience across 3 different Android phones has been that w
by rcthompson 11y ago
OK, what about the absurd latency for responding to hardware buttons on headphones and the like? My experience across 3 different Android phones has been that when I press the button on my headphones to pause whatever I'm listening to, it will respond about half the time, and when it does respond, the latency is randomly somewhere between 1 second and ten minutes. This is consistent across several sets of headphones, both wired and Bluetooth, and even true of the pause button that appears on the lock screen, which I'm assuming uses the same mechanism to signal the app.
- ultramancool 11y agoFuck, what is up with this? I don't care about the audio latency this article is talking about and I never used to have this problem either. But recently, maybe just since I flashed latest CyanogenMod my phone sometimes responds instantly, but sometimes doesn't respond to the headphone button press until I press the power button or wait 30s+. It's incredibly annoying. I'm using CM on a OnePlus One with Xiaomi Piston 3 headphones. Considering the power button works, I suspect this may have something to do with sleep states?
- untog 11y agoYep, this is beyond frustrating. Especially as on numerous occasions I've hit the earphone pause button, had it do nothing, pull out my phone, hit pause, unplugged my earphones and THEN the signal finally arrives, UNpausing my music for all to hear.
- wlesieutre 11y agoSame here. Whenever it acts like it's not responding to audio controls, I make sure to unplug headphones and turn the speaker volume down to nothing before I walk into work in the morning. Similarly stupid response when unplugging headphones: 1) Oh, he unplugged the headphones! 2) Let's play that audio out of the speakers instead! At whatever volume the speakers happened to be at last time he used them! 3) And keep playing it for a half second or so! 4) I guess he might have wanted it to stop when the headphones came out? Fiiiiine.
- delecti 11y agoI've never experienced any delay in pausing when unplugging the headphones. I actually use it sometimes as a quick way to pause music on my phone.
- raisedbyninjas 11y agoI run stock Android and the disconnect of headphones or bluetooth promptly pauses pandora, google music and pocket casts. Google music does have the habit starting music playback when connecting to bluetooth regardless if the app is running or it's been a week since connecting to bluetooth or the phone has been rebooted since connecting. It just spams my car stereo with music AFAICT.
- projct 11y agoMany car stereos actually send the play signal when they connect to a device. My Alpine unit did this, as does my Pioneer AVH-4100NEX. Also guilty: 2014 Ford Focus ST and Ford Fiesta ST I tried, as well as a late model Mercedes ML500.
- wlesieutre 11y agoMine's not quite stock Android, so whenever something doesn't work right I'm never sure whether it's Google's problem or Sony's. Another audio bug: when Google Maps gives audio directions, it pauses my podcasts. Half the time it resumes playing afterward, half the time it doesn't. I can find no pattern to this. PocketCasts and Google Maps are both pretty well polished programs, and I have no idea whether I should blame one of them or blame the OS. Ah well. At least I got an SD card slot instead of paying $200 for 48GB more storage.
- raisedbyninjas 11y agoI've been using Pocket Casts and Google Navigation together for a while. There is a setting in pocket casts to play over notifications and navigation prompts. I had to switch to this a few months ago because navigation prompts started getting muted for about 1 second, then they became audible half-way through and then the transition back to the podcast worked fine.
- rcthompson 11y agoSame for me, except that sometimes that last step happens 5 or ten minutes later, in the middle of a meeting or something. The worst part is that a button labelled "pause" can trigger an unpause action. It should really remember what the button said at the time it was pressed. I would mind a lot less if I happened to be playing audio 10 minutes later and it randomly paused due to an earlier press of the pause button.
- exDM69 11y agoThis, however, is not audio latency you're talking about. I've had the exact same issues, though. I think the issue you're describing is something that is happening in AudioFlinger and processing the input events.
- mikeash 11y agoI feel like nobody cares about responsiveness anymore. (If they ever did.) My TV takes 20 seconds from pushing the power button before it's ready to show a picture. My Bluetooth headset takes a couple of seconds after flipping the power switch before it actually powers on. My iPhone (and I'd really expect better from Apple!) often takes 5-10 seconds to respond to a press of the Home button. All over the place, apps and devices get faster and faster, and take longer and longer to actually do what you tell them to do. </rant>
- rcthompson 11y agoIf we trusted our devices not to spy on us, it would be a useful feature for a Smart TV to start up but leave the screen off when it detects someone walking into the room, so that by the time they find the remote, sit down, and actually press the power button to turn it on, It just has to turn the screen on and appears to start instantly.
- BookmarkSaver 11y agoTVs are digital had come with all sorts of other features that require processing. This used to be handled by "secretly" leaving them on all the time. This would waste a decent amount of power, and as brands seek better power ratings they actually turn off now. It's the price you pay for HD. I also suspect that in general Bluetooth headsets always had a similar startup latency.
- mikeash 11y agoI don't buy it. Nothing about "processing" or HD means it has to take twenty seconds to boot. It's the price you pay for TV programmers thinking a full-sized Linux counts as an embedded OS.
- simoncion 11y agoGiven what I understand the power of the machine inside these TVs to be, there's no reason a large-enough Linux shouldn't boot in a few seconds. The manufacturer could get even smarter and use something like CRIU [0], along with opportunistic hybrid suspend [1] to dramatically speed up start times. [0] http://criu.org/Main_Page http://criu.org/Main_Page [1] Which would work like this: A little while after you power your TV off, it suspends to RAM, and disk. If you power your TV on, the system TV restores its state from RAM. If AC power goes out, when AC power is restored and stable, the TV performs a background operation that uses the on-disk suspend image to get back to its hybrid suspend state.
- Grazester 11y agoI have never experience latency here worth me noting much-less being annoyed with. I am not doubting it exist but from my experience my head phone button respond quickly(<1 second) curious what phone and headphone type you guys use? I use a Nexus 6 with a single button headphones.
- rcthompson 11y agoEvery press of every button on every headphone that I've ever used, wired or Bluetooth, on every Android phone I've ever used. I have literally not once experienced a satisfactory result from pressing a headphone button to (vainly attempt to) control an Android phone in my entire history with Android. (Let's generously define "satisfactory" as "any response at all within one second".) As I said, it also happens for the pause button on the lock screen of the phone itself. I've owned 4 Android phones: Droid Incredible 1 & 2, Galaxy S3 Mini, and Galaxy S3. On the Droids, it happened with both the stock HTC ROM and on CM7 (S3 doesn't allow non-Samsung ROMs). I have a Galaxy Tab S tablet as well running CM11, but I don't use that for listening to music so I haven't tested it.
- cs2818 11y agoDid your phones use a double press of the headphones button to skip tracks? I know on some device I have used there is a delay in interpreting a single press because the device has a longer window to allow for a double press. Although this is never much more than a second or two.
- rcthompson 11y agoMaybe, but I doubt it's supposed to wait ten minutes for the second button press.
- guelo 11y agoYou might be experiencing a problem with incompatible headphones. There are several incompatible headphone types that use different control signaling techniques. Here's the first google result that I turned up on this topic, http://forums.windowscentral.com/windows-phone-8-how-guides/249287-note-headset-standards-omtp-ahj-apple.html http://forums.windowscentral.com/windows-phone-8-how-guides/...
- rcthompson 11y agoI very much doubt that every headset I tried, including several marked on the package as Android compatible, were incompatible with every phone I've had. And It wouldn't explain the delays for Bluetooth headsets or the lockscreen button.
- on_and_off 11y agoWow, I have been working on a music streaming app for Android for the past couple of years and I have never heard of this kind of issue, neither have I encountered it myself :/ . Judging by the responses, you do not even seem to be an isolated case. I will try to reproduce the issue ... I am pessimistic though, since I use bluetooth headphones daily without any issue.