Closed
Bug 896954
Opened 12 years ago
Closed 7 years ago
AudioManager `s setFmVolume issues.
Categories
(Firefox OS Graveyard :: General, defect, P2)
Tracking
(blocking-b2g:-)
RESOLVED
WONTFIX
blocking-b2g | - |
People
(Reporter: leo.bugzilla.gecko, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
1.37 KB,
patch
|
Details | Diff | Splinter Review |
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
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → rlin
Comment 1•12 years ago
|
||
remove those code,
The volume would be set by SetStreamVolumeIndex and SetFmRadioAudioEnabled.
Attachment #780213 -
Flags: review?(mchen)
Comment 2•12 years ago
|
||
Only apply b2g-18 branch, master trunk has already removed those source code.
Comment 3•12 years ago
|
||
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+
Comment 4•12 years ago
|
||
check-in patch, carry reviewer.
Updated•12 years ago
|
Whiteboard: checkin-needed
Updated•12 years ago
|
Attachment #780213 -
Attachment is obsolete: true
Comment 5•12 years ago
|
||
Please hold off on requesting checkin until this has blocking status since this is b2g18-only.
Whiteboard: checkin-needed
Comment 6•12 years ago
|
||
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
Updated•12 years ago
|
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)
Comment 10•7 years ago
|
||
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.
Description
•