[Audio Channel] - audio corruption / loud static momentarily when FM radio playing through the headphones is interrupted by another sound effect such as shutter or notification sfx.

RESOLVED DUPLICATE of bug 866353

Status

Firefox OS
AudioChannel
RESOLVED DUPLICATE of bug 866353
3 years ago
3 years ago

People

(Reporter: Joshua Mitchell (Inactive), Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

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

Details

(Whiteboard: [2.2-Daily-Testing])

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
Created attachment 8546846 [details]
logcat_20150109_1258.txt

Description:
 Taking a picture while audio is playing should dim the audio momentarily and play the camera shutter sound and then bring the audio level back up. This happens correctly when playing audio from the Music app but when playing audio from the Radio app it creates audio distortion and sometimes loud static. When Radio is played through the speaker it is not as bad; it only has a small audio pop after the shutter sound and not as frequent.


Repro Steps:
1) Update a Flame to 20150109010206
2) Plug in headphones and play music through the FM Radio app
3) Open the camera app
4) While listening through the headphones take pictures

Actual:
Audio distortion / corruption and loud crackles are heard

Expected:
Less audio distortion; audio will fade, camera shutter audio will play, and radio audio will return smoothly

Environmental Variables:
Device: Flame Master
Build ID: 20150109010206
Gaia: 5f0dd37917c4a6d8fa8724715d4d3797419f9013
Gecko: b3f84cf78dc2
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a1 (Master)
Firmware Version: V18D
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

Repro frequency: 9/10   
See attached: logcat

--------------------------------------------------------------------------

This issue also occurs on 2.2 (V188-1 Base)

Device: Flame Master (KK - Nightly - full Flashed)
Build ID: 20150109010206
Gaia: 5f0dd37917c4a6d8fa8724715d4d3797419f9013
Gecko: b3f84cf78dc2
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a1 (Master)
Firmware Version: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0

--------------------------------------------------------------

In 2.1 audio is killed when entering the Camera app so can not be said to be affected or unaffected

Device: Flame 2.1 (KK - Nightly - Full Flashed)
Build ID: 20150108001214
Gaia: ed2e278753e8c9301ba322dcf2c3591f5928408d
Gecko: 127a0ead5f83
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 34.0 (2.1)
Firmware Version: V18D
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
(Reporter)

Updated

3 years ago
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Whiteboard: [ → [2.2-Daily-Testing]
(Reporter)

Comment 1

3 years ago
This issue also seems to occur when listening to the radio and receiving a notification. I'm not writing it as a new issue as it seems like it is any audio interruption of the radio. The easiest way to repro is to play radio through the headphones and take a screenshot (because it gives a notification).

If anyone disagrees I can write up a separate issue for notifications vs radio through the headset. For now I'm modifying the subject to be more inclusive of all other sound effects and not just the shutter button.
Summary: [Audio Channel][Camera] - Shutter sound creates stutter / audio corruption / loud static momentarily when taking a picture with FM radio playing through the headphones. → [Audio Channel] - audio corruption / loud static momentarily when FM radio playing through the headphones is interrupted by another sound effect such as shutter or notification sfx.
Adding qawanted to recheck 2.1 given Comment 1's information and STRs.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Keywords: qawanted

Comment 3

3 years ago
Hi Peter,

    According Comment 1, this issue can repro on latest Flame2.1.
STR:
1. Insert headset and launch FM Radio, play a channel.
2. Take a screenshot or receive a SMS.
**Device will get a notification.
3. Listening through the headphones.
**Audio distortion / corruption and loud crackles are heard.

Attachment:logcat_1146.txt.
Foundtime:11:46

Flame 2.1 buid version:

Gaia-Rev        6957ac8a322234ec99c8abb7cc18dc6a2e0176db
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/6600eba54256
Build-ID        20150113161204
Version         34.0
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150113.192836
FW-Date         Tue Jan 13 19:28:47 EST 2015
Bootloader      L1TC000118D0
status-b2g-v2.1: --- → affected
Flags: needinfo?(pbylenga)
Keywords: qawanted

Comment 4

3 years ago
Created attachment 8548659 [details]
logcat_1146.txt
Thanks, adding qawanted to do branch checks to find if this is a regression.
Flags: needinfo?(pbylenga)
Keywords: qawanted
This is NOT a regression. This issue also occurs on the latest Flame 2.0 and V18-D Base Image(v2.0).

Result: Radio distortion/corruption occurs when the FM radio is play through the headset and the audio is interrupted by a ringer, notification, or alarm sound.

Environmental Variables:
Device: Flame 2.0
BuildID: 20150115133203
Gaia: 736933b25ded904f0cb935a0d48f1f3cf91d33ad
Gecko: 3859056ba366
Version: 32.0 (2.0) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
status-b2g-v2.0: --- → affected
Flags: needinfo?(ktucker)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
This bug also reproduces on v188 base image(v2.0).

Comment 8

3 years ago
This is a very nasty bug, somebody please find a fix. It keeps me from upgrading my Open C to KK, I listen to a lot of music and every time I get a call the noise blows my ears.
The same issue.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 866353
You need to log in before you can comment on or make changes to this bug.