Back to Top

Delayed un-pause when pressing wired headset remote button

5 posts / 0 new
Last post
joelong
Offline
Last seen: 6 years 1 month ago
Joined: 01/16/2010 - 15:48
Delayed un-pause when pressing wired headset remote button

1. On my Droid, I have the remote button capture turned on, and the keep alive function set to always. I start listening to a podcast. I press the pause button on the wired headset remote. It pauses. I press it again. The podcast restarts immediately.

2. If I start the podcast, then tap the power button to put the screen to sleep, then press the remote button to pause, then press the remote button within a few seconds, the podcast starts right up again.

3. BUT, if I do #2, but wait for more than a few seconds before pressing the remote button to unpause, there is a LONG delay, e.g., 30 seconds, before the podcast starts playing again.

4. HOWEVER, if I do #3, but then tap the power button to reawaken the screen, the podcast starts up again immediately.

So, how can I make the long pause go away under the circumstances of #3?

Thanks.

Karolis
Offline
Last seen: 6 years 7 months ago
Joined: 04/08/2009 - 10:32
I experience delay too, but

I experience delay too, but not as long as 30 seconds.

eric
Offline
Last seen: 2 weeks 2 days ago
Joined: 11/06/2008 - 22:02
Resume delay

Thanks for the detailed post, I should be able to reproduce it from that.

I'm actually in the middle of re-writing all that code in order to add better support for bluetooth, so I'll take a look while I'm working on the bluetooth stuff. I noticed some problems in my button logic that may be causing this.

I created an issue for this - http://mantis.snoggdoggler.com/view.php?id=377

Thanks for posting.

eric
Offline
Last seen: 2 weeks 2 days ago
Joined: 11/06/2008 - 22:02
I'm seeing the same thing

So I tested this after re-writing the code that handles these event and I'm still seeing the same problem. What's strange is that the problem does not occur with bluetooth...the code that handles bluetooth and wired headset is the same.

What I am seeing is that you push the button, DC detects it, tells the mediaplayer to start playing but there is a delay at that point, usually around 10 seconds but it varies quite a bit. Nothing is really happening except waiting. What I can guess is that the devices is going into a low power mode when the screen is locked that is causing the delay.

I don't think I'm going to be able to do anything here. From the moment you press the button until DC tells the media player to start is about 250ms, but afterwards I don't have any control over what's happening.

I'll move this bug out into the soon category so if we can some more info that helps, I'll have record of it.

I assume that you are on a G1, that's what I reproduced it on. Are there any other devices with a wired headset besides the G1?

Sorry I couldn't do anything with this one.

joelong
Offline
Last seen: 6 years 1 month ago
Joined: 01/16/2010 - 15:48
I'm on a droid.

I'm on a droid.