Closed Bug 1088339 Opened 11 years ago Closed 8 years ago

[Audio] Music no longer plays out of device speakers after switching audio output

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 unaffected, b2g-v2.0M unaffected, b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.0M --- unaffected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: SalvadorR, Unassigned)

References

()

Details

(Whiteboard: [2.1-exploratory-3])

Attachments

(1 file)

Description: When user constantly switches the audio output between the devices speakers, plug in headphones and bluetooth headphones, music will no longer play from the devices speakers. Pre-requisite: Have a bluetooth headset and plug in headphones available. Also have a song available in the device. Repro Steps: 1) Update a Flame device to BuildID: 20141023001201 2) Connect to a bluetooth headset 3) Plug in the plug in headphones 4) Switch the audio output between the speaker, bluetooth headset and plug in headset 5) Observe speaker headset after constant audio output switching Actual: Phone speaker no longer plays music Expected: Phone speaker plays music Environmental Variables: Device: Flame 2.1 (319mb) KK Full Flash BuildID: 20141023001201 Gaia: 1e48e3e40e0780c0cd07a3457e5fe2efeeb542d1 Gecko: 09fb60a37850 Gonk: 05aa7b98d3f891b334031dc710d48d0d6b82ec1d Version: 34.0 (2.1) Firmware: V188 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Repro frequency: 3/3 See attached: LogCat, Video http://youtu.be/ZZlLutUS-Ic
Flags: needinfo?(dharris)
This issue does not occur on Flame 2.0 and Flame 2.2 Result: Music plays from device speakers properly Flame 2.0 Device: Flame 2.0 (319mb)(Kitkat Base)(Full Flash) Build ID: 20141023001201 Gaia: 1e48e3e40e0780c0cd07a3457e5fe2efeeb542d1 Gecko: 09fb60a37850 Version: 34.0 (2.1) Firmware Version: v188 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Flame 2.2 Device: Flame 2.2 Master (319mb)(Kitkat Base)(Full Flash) BuildID: 20141023040204 Gaia: 27a1d1baaa8e375b70e043efee67d5f2206c330b Gecko: 88adcf8fef83 Gonk: 05aa7b98d3f891b334031dc710d48d0d6b82ec1d Version: 36.0a1 (2.2 Master) Firmware: V188 User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
QA Whiteboard: [QAnalyst-Triage?]
ni? Randy for audio channel help.
Flags: needinfo?(rlin)
Some android error log found in logcat. 10-23 14:56:30.155 198 1551 E audio_hw_primary: adev_open_output_stream: Primary output is already opened 10-23 14:56:30.165 198 1551 D audio_hw_primary: adev_open_output_stream: exit: ret -17 10-23 14:56:30.165 198 1551 W AudioPolicyManagerBase: checkOutputsForDevice() could not open output for device 4 10-23 14:56:30.165 198 1551 E voice_extn: voice_extn_check_and_set_incall_music_usecase: Invalid session id 0 10-23 14:56:30.165 198 1551 E audio_hw_primary: adev_open_output_stream: Incall music delivery usecase cannot be set error:-22 10-23 14:56:30.165 198 1551 D audio_hw_primary: adev_open_output_stream: exit: ret -22
Flags: needinfo?(rlin)
Could you try to flash gecko/gaia flash only? I just flash the pvt full image and found the audio related library isn't sync as 188 base image. check this file on device at Build-ID 20141023161200 -rw-r--r-- root root 110812 2014-10-24 08:02 audio.primary.msm8610.so But at pure v188 base image: -rw-r--r-- root root 106628 2014-10-16 06:37 audio.primary.msm8610.so I think the related android HAL library in this isn't the v188 one.
Flags: needinfo?(srapanan)
I will open another bug for tracking this HAL files not sync problem.
See also Bug 1088814 - [flame] Sync the latest version HAL files for PVT build
not nominating this to block, as the user has to switch between 3 different audio output areas repeatedly to get this issue to occur.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris)
Verified this against a private Jenkins build that nthomas respun for me. Audio works again. This build runs with v188 binaries, and picks up this patch. however, not marking this status=verified yet until this is retested on a pvtbuild generated against m-c. Gaia-Rev 8ae6598f3ab7b0c34ac42a73083ddb74266affba Gecko-Rev https://hg.mozilla.org/users/nthomas_mozilla.com/mozilla-central/rev/d4fab3f7782b Build-ID 20141030203020 Version 36.0a1 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20141030.201724 FW-Date Thu Oct 30 20:17:37 EDT 2014 Bootloader L1TC10011880
Thanks Tony for helping on this.
Adding qawanted tag to verify this issue is fixed.
Keywords: qawanted
Issue DOES still reproduce when 2.2 and 2.1 builds are full flashed. Environmental Variables: Device: Flame 2.2 Full Flash BuildID: 20141031062029 Gaia: a07994714f0552f89801d6097982308d8b0a1ee1 Gecko: 21fbf1e35090 Gonk: 48835395daa6a49b281db62c50805bd6ca24077e Version: 36.0a1 (2.2) Firmware Version: v188 User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0 Environmental Variables: Device: Flame 2.1 Full flash BuildID: 20141031065257 Gaia: 50358d2161da6b6da70a511143a79c6d1bffb2fa Gecko: 1f92d622125f Gonk: 48835395daa6a49b281db62c50805bd6ca24077e Version: 34.0 (2.1) Firmware Version: v188 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Issue does NOT reproduce with a shallow flash of the same builds. Environmental Variables: Device: Flame 2.2 Shallow Flash BuildID: 20141031062029 Gaia: a07994714f0552f89801d6097982308d8b0a1ee1 Gecko: 21fbf1e35090 Version: 36.0a1 (2.2) Firmware Version: v188 User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0 Environmental Variables: Device: Flame 2.1 Shallow Flash BuildID: 20141031065257 Gaia: 50358d2161da6b6da70a511143a79c6d1bffb2fa Gecko: 1f92d622125f Version: 34.0 (2.1) Firmware Version: v188 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(srapanan)
Flags: needinfo?(jmitchell)
Blocks: 1082677
Depends on: 1117859
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: