When a background app generates sound, ignore the sound, don't queue them to be played all at once when the app returns to the foreground

RESOLVED WONTFIX

Status

Firefox OS
General
RESOLVED WONTFIX
5 years ago
a year ago

People

(Reporter: jsmith, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [apps watch list])

(Reporter)

Description

5 years ago
Build: Inari 1.01 5/23/2013

STR

1. Install Game Pack
2. Launch Magic Stones
3. Start playing the game
4. Put the app in the background for a few seconds
5. Return to the app (i.e. foreground)

Expected

No sound should play that was generated while the app was in the background.

Actual

All sounds that were generated while the app was in the background play at the same time when the app returns to the foreground.
(Reporter)

Updated

5 years ago
Blocks: 872925
(Reporter)

Updated

5 years ago
Whiteboard: [apps watch list]
(Reporter)

Comment 1

5 years ago
Don't know about this one to block or not. Talking with other QAs, we think the severity of this bug is about the same as bug 872925, so that might argue this to tef?

Jonas - What do you think?
Flags: needinfo?(jonas)
This should not block. This is simply an effect of the audio policies that we settled on. Specifically this is a result of pausing rather than muting the background audio. When something is played we immediately pause it, and then unpause when the app comes into foreground.

Trying to fix this will require a more comprehensive redesign of our audio policies.

Bug 872177 will help here a whole lot. It might not eliminate the problem, but it'll make it much better.
Flags: needinfo?(jonas)

Comment 3

5 years ago
Hi,

If the game paused itself when it know it is on the background then I think this issue is gone.
But if this game is just a web content not web app then maybe we need Bug 872177.

Comment 4

4 years ago
No longer an issue on Gamepack so closing this bug.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

4 years ago
(In reply to Karen Ward [:kward] from comment #4)
> No longer an issue on Gamepack so closing this bug.

That has nothing to do whether the bug should be closed - this is a legitimate gecko bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Comment 6

4 years ago
@Jason Smith : Who do you think we should assign this bug to?
I don't think there's anything we should do here for now. Let's work on bug 872177 first instead.
Depends on: 872177

Updated

a year ago
Status: REOPENED → RESOLVED
Last Resolved: 4 years agoa year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.