Closed Bug 896954 Opened 12 years ago Closed 7 years ago

AudioManager `s setFmVolume issues.

Categories

(Firefox OS Graveyard :: General, defect, P2)

ARM
Gonk (Firefox OS)

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: leo.bugzilla.gecko, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

static void InternalSetAudioRoutesICS(SwitchState aState) { ... // The audio volume is not consistent when we plug and unplug the headset. // Set the fm volume again here. if (IsDeviceOn(AUDIO_DEVICE_OUT_FM)) { float masterVolume; AudioSystem::getMasterVolume(&masterVolume); AudioSystem::setFmVolume(masterVolume); } } ============================================================================ getMasterVolume function means it returns mastervolume. It always return value 1.0
Assignee: nobody → rlin
blocking-b2g: --- → leo?
Attached patch patch v1 (obsolete) — Splinter Review
remove those code, The volume would be set by SetStreamVolumeIndex and SetFmRadioAudioEnabled.
Attachment #780213 - Flags: review?(mchen)
Only apply b2g-18 branch, master trunk has already removed those source code.
Comment on attachment 780213 [details] [diff] [review] patch v1 Review of attachment 780213 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the help on this bug. And the bug for master branch is Bug 876334.
Attachment #780213 - Flags: review?(mchen) → review+
Attached patch check-in patchSplinter Review
check-in patch, carry reviewer.
Whiteboard: checkin-needed
Attachment #780213 - Attachment is obsolete: true
Please hold off on requesting checkin until this has blocking status since this is b2g18-only.
Whiteboard: checkin-needed
what exactly is the issue here, if the attached patch is not applied ? Can you please explain a bit more for us to block on this.Without user impact it is hard to block
Flags: needinfo?(leo.bugzilla.gecko)
(In reply to bhavana bajaj [:bajaj] from comment #6) > what exactly is the issue here, if the attached patch is not applied ? Can > you please explain a bit more for us to block on this.Without user impact it > is hard to block Fortunately, It is fine in leo device because it set volume again by SetFmRadioAudioEnabled. But this code always set fm volume to 1 level. It isn`t needed and must be removed for avoiding a wrong logic.
Flags: needinfo?(leo.bugzilla.gecko)
No known user impact, therefore not a blocker.
blocking-b2g: leo? → -
free it due to no obvious impact for this one.
Assignee: rlin → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: