Closed Bug 852049 Opened 11 years ago Closed 11 years ago

[Audio] The default value of Master Volume should be 1.0 if settings doesn't set a value.

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:tef+, firefox20 wontfix, firefox21 wontfix, firefox22 fixed, b2g18 verified, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 verified)

VERIFIED FIXED
B2G C4 (2jan on)
blocking-b2g tef+
Tracking Status
firefox20 --- wontfix
firefox21 --- wontfix
firefox22 --- fixed
b2g18 --- verified
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- verified

People

(Reporter: mchen, Assigned: mchen)

Details

Attachments

(1 file, 1 obsolete file)

History:
  1. We had removed the hack in shell.js which actively set master volume to 0.5 during boot up. That hack tried to limit volume when Gaia doesn't implement volume control yet.
  2. In setting.js, we tried to monitor audio.volume.master which will be set by Gaia and it's default value is 0.5 now.
  3. In Gaia side, now we control the volume by each audio channels (Android stream types) so we don't touch master volume directly.

Issue:
  According to the history, the master volume now is set to 0.5 not 1.0.
Attached patch Patch v1 (obsolete) — Splinter Review
This patch set default value of master volume to 1.0 when settings DB doesn't have record of audio.master.volume.
Assignee: nobody → mchen
Attachment #726010 - Flags: review?(mwu)
Issue: This bug limits the device's master volume to 0.5 only so the audio performance will be poor.

Risk: Low risk.
      Just ensure master volume to 1.0 if gaia doesn't set any value in settings DB.

Test: Build and Test the result successfully.
blocking-b2g: --- → tef?
(tef-, the user can just increase the master volume right?)
blocking-b2g: tef? → -
(In reply to Michael Vines [:m1] [:evilmachines] from comment #3)
> (tef-, the user can just increase the master volume right?)

No, there is no way to adjust master volume from settings app.
Now we only control the volume on each stream type not master volume directly.

So ask tef again.
blocking-b2g: - → tef?
(got it, thanks)
blocking-b2g: tef? → tef+
Comment on attachment 726010 [details] [diff] [review]
Patch v1

Seems ok if all the stream types have a sane default value..
Attachment #726010 - Flags: review?(mwu) → review+
All green on try server.
Attachment #726010 - Attachment is obsolete: true
Attachment #727096 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/96cd6c4b66fb
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Environmental  Variables:
Unagi Build ID: 20130403070201
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/512258bc00a3
Gaia: daea430624ec02f8d36a12d581fc4a3278c27cb7

Environmental  Variables:
Unagi Build ID: 20130403070204
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/d467369d1b0c
Gaia: 06e0e5ce42bdfb62bdbe38271de6b5b2d9e40e75

Verified it's fixed on V1.0.1 & V1.1.0 builds
The default value of Master Volume should be 1.0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: