Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 15927004: Fix the audio mute button broken issue. (Closed)

Created:
7 years, 7 months ago by jennyz
Modified:
7 years, 7 months ago
CC:
chromium-reviews, sadrul, stevenjb+watch_chromium.org, oshima+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Fix several audio issues: 1. Audio button on ash tray UI does not work when user toggles it. 2. On ash tray bubble, if audio is muted, when user moves slider, audio is not unmuted. 3. Change CrasAudioHandler to update audio state, preference and notify observers for audio state change when user call CrasAudioHandler APIs to change the audio state, not when the dbus signals are received. 4. Move the code for adjusting unmute output volume to minimum unmute level out of SetOutputMute, and it is up to user to decide if they can call AdjustOutputVolumeToAudibleLevel to adjust the volume. 5. This also make the volume bubble shows up each time user presses mute, volume up, volume down button even if there is no audio state changes. BUG=242549, 242964 TBR=jamescook@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202334

Patch Set 1 #

Patch Set 2 : Small improvement in TrayAudio comparing new slider value with current audio volume. #

Total comments: 7

Patch Set 3 : fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -92 lines) Patch
M ash/system/chromeos/audio/tray_audio.cc View 1 11 chunks +53 lines, -15 lines 0 comments Download
M chrome/browser/ui/ash/volume_controller_chromeos.cc View 7 chunks +18 lines, -15 lines 0 comments Download
M chromeos/audio/cras_audio_handler.h View 3 chunks +12 lines, -1 line 0 comments Download
M chromeos/audio/cras_audio_handler.cc View 1 2 8 chunks +65 lines, -61 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jennyz
7 years, 7 months ago (2013-05-23 23:55:12 UTC) #1
jennyz
7 years, 7 months ago (2013-05-24 17:54:08 UTC) #2
rkc
https://codereview.chromium.org/15927004/diff/4001/chromeos/audio/cras_audio_handler.cc File chromeos/audio/cras_audio_handler.cc (right): https://codereview.chromium.org/15927004/diff/4001/chromeos/audio/cras_audio_handler.cc#newcode217 chromeos/audio/cras_audio_handler.cc:217: bool CrasAudioHandler::SetOutputMuteInternal(bool mute_on) { Nit: Move this down to ...
7 years, 7 months ago (2013-05-24 20:30:16 UTC) #3
jennyz
https://codereview.chromium.org/15927004/diff/4001/chromeos/audio/cras_audio_handler.cc File chromeos/audio/cras_audio_handler.cc (right): https://codereview.chromium.org/15927004/diff/4001/chromeos/audio/cras_audio_handler.cc#newcode217 chromeos/audio/cras_audio_handler.cc:217: bool CrasAudioHandler::SetOutputMuteInternal(bool mute_on) { On 2013/05/24 20:30:16, Rahul Chaturvedi ...
7 years, 7 months ago (2013-05-24 21:23:49 UTC) #4
rkc
lgtm https://codereview.chromium.org/15927004/diff/4001/chromeos/audio/cras_audio_handler.cc File chromeos/audio/cras_audio_handler.cc (right): https://codereview.chromium.org/15927004/diff/4001/chromeos/audio/cras_audio_handler.cc#newcode379 chromeos/audio/cras_audio_handler.cc:379: input_mute_on_ = kPrefMuteOff; On 2013/05/24 21:23:49, jennyz wrote: ...
7 years, 7 months ago (2013-05-25 00:09:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/15927004/13001
7 years, 7 months ago (2013-05-25 00:17:37 UTC) #6
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 7 months ago (2013-05-25 14:41:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/15927004/13001
7 years, 7 months ago (2013-05-25 16:42:38 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-26 02:26:15 UTC) #9
Message was sent while issue was closed.
Change committed as 202334

Powered by Google App Engine
This is Rietveld 408576698