Closed Bug 855092 Opened 11 years ago Closed 11 years ago

audio.play() on B2G: Thread AudioOut_1 cannot connect to the power manager service

Categories

(Core :: Audio/Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kumar, Unassigned)

Details

I'm on the latest nightly b2g18/unagi build:

https://git.mozilla.org/?p=releases/gecko.git;a=commitdiff;h=a800f14ea7022a78966f7fe14a9b0d11c569b151
https://git.mozilla.org/?p=releases/gaia.git;a=commitdiff;h=ace1eb32a313da1232bbdf9cff2581a4b036356d

This may be hard to reproduce but I can add more logging if you need it. What I was doing:

- Run the CHIRP Radio app from http://66.228.57.26:3000/manifest.webapp (the exact code I was running is here: https://github.com/chirpradio/chirpradio-owa/tree/910f96e4291fc860bde1a0dd333b4d4c45a02f2b)
- Listen for a while
- Click pause
- Wait a couple minutes
- Click play

When the play button wouldn't work (no audio) I would see this every time I click it in the log:

E/GeckoConsole(  733): Content JS LOG at http://66.228.57.26:3000/js/index.js:35 in anonymous: button clicked
E/QC_MP3DEC(  115): Execute flush for both I/p O/p port
E/QC_MP3DEC(  115): Execute flush for both I/p O/p port
W/AudioFlinger(  115): Thread AudioOut_1 cannot connect to the power manager service

It doesn't happen every time.

The specific audio code is here: https://github.com/chirpradio/chirpradio-owa/blob/910f96e4291fc860bde1a0dd333b4d4c45a02f2b/js/index.js

If you want me to turn on some extra logging, let me know. I'm on IRC as kumar in #webdev
Nevermind. In normal playback I am seeing this same error so it's probably not the right one. I'll attach more event handlers and see if I can get the real error.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.