Closed
Bug 1188744
Opened 9 years ago
Closed 9 years ago
[B2G] Ringtone preview stutters
Categories
(Firefox OS Graveyard :: AudioChannel, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: alwu, Assigned: alwu)
References
Details
Ringtone preview can't be playback smoothly.
STR.
1. Open the setting > sound > ringtones
2. Tap any ringtone for preview
Expected.
3. Ringtone playback smoothly
Actual.
3. Ringtone preview stutters
Comment 2•9 years ago
|
||
Hi Alastor,
Looks like this might be a gecko issue. After we pick a Ringtone in Settings app, the `activestatechanged` event(from gecko) of the ringer audio channel is just triggered many times.
You can see the below log by adding the patch[1] and following the STR.
```
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_normal: true
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_normal: false
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_normal: true
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: false
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: true
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: false
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: true
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: false
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: true
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: false
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: true
I/GeckoConsole( 1996): Content JS LOG: bug-1188744: statechanged: ActivityWindow_0_ringer: false
```
[1]: https://github.com/evanxd/gaia/commit/ef56b7460fb44b75b43c69ebbae5d4e8f6f1f49c
Flags: needinfo?(evan)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → alwu
Flags: needinfo?(alwu)
Assignee | ||
Comment 4•9 years ago
|
||
Close this bug because this issue doesn't happen on the latest master.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•