Bluetooth headphone does not sync volume level initially |
||||
Issue descriptionChrome Version: (copy from chrome://version) User reported feedback on Caroline. It looks like a cross-platform issue. What steps will reproduce the problem? (1) Connect a bluetooth headphone to a chromebook. (2) Initially, the volume heard from the headphone is very small until a user press the volume button (up or down) to sync the absolute volume level. What is the expected result? The volume should be the current volume level on the chromebook. What happens instead? No volume or very small volume initially. User feedback report: https://listnr.corp.google.com/product/208/report/84904106437 I could reproduce this issue with QC35 with a variety of chromebooks too.
,
Jan 10 2018
,
Jan 19 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/adhd/+/d67885b57e9311c19be24acff1f69a20ebeae0a7 commit d67885b57e9311c19be24acff1f69a20ebeae0a7 Author: Hsin-Yu Chao <hychao@chromium.org> Date: Fri Jan 19 01:40:56 2018 CRAS: bt_io - Initialize hardware volume flag correctly Consider the sequence of events including: (1) bluetoothd reports device property update (2) bluetoothd reports A2DP transport connection (3) creation of bt_io (1) may happen before or after (2) and (3), so that the 'software_volume_needed' flag of bt_io needs to be initialized base on the status of bt device reported from bluetoothd. BUG=chromium:800209 TEST=Repeatedly disconnect then connect QC35 headset and adjust volume from UI and from headset button. Verify that the volume state is synchronized from both headset and Chromebook. Change-Id: I71c55778114a0803da8a49905a7dab7b4aae3ae1 Reviewed-on: https://chromium-review.googlesource.com/872473 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Hsinyu Chao <hychao@chromium.org> [modify] https://crrev.com/d67885b57e9311c19be24acff1f69a20ebeae0a7/cras/src/tests/bt_io_unittest.cc [modify] https://crrev.com/d67885b57e9311c19be24acff1f69a20ebeae0a7/cras/src/server/cras_bt_io.c
,
Jan 19 2018
Found out there're issues in both bluetoothd and CRAS. With below patch applied the volume sync works consistently. https://chromium-review.googlesource.com/#/c/chromiumos/third_party/bluez/+/874983
,
Jan 20 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/bluez/+/e0a7062a65b35022c7dc43fbf40d6a4d9f4141e3 commit e0a7062a65b35022c7dc43fbf40d6a4d9f4141e3 Author: Hsin-Yu Chao <hychao@chromium.org> Date: Sat Jan 20 01:18:01 2018 CHROMIUM: audio/media - Fix volume sync between media and transport A volume value is cached on the global media player object. And a check was used to NOT update volume to each transport if this value doesn't change. That is causing problem at disconnect then reconnect when the new constructed transport never receive update about the last used volume value. BUG=chromium:800209 TEST=Use volume button on QC35 to adjust volume, disconnect and then reconnect. Now use Chromebook volume keys to adjust volume to verify it stays sync with the control from headset's button. Change-Id: Ifed19315ce60e71d3077a61bcba880cd76f7f760 Reviewed-on: https://chromium-review.googlesource.com/874983 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Shyh-In Hwang <josephsih@chromium.org> [modify] https://crrev.com/e0a7062a65b35022c7dc43fbf40d6a4d9f4141e3/profiles/audio/media.c
,
Feb 18 2018
Just tested this on my caroline on 65.0.3325.65 beta. There is still an issue. After the Bluetooth headphone connects, the volume is now correct and is remembered across connections. If you change the volume from the headphones, it works correctly. However, if you try changing the volume from the Chromebook immediately after connecting, before changing the volume from the headphones, the volume does not change at all no matter where you put the Chromebook volume slider, unless you put it all the way to mute.
,
Mar 1 2018
Hi were you able to repro this?
,
Mar 31 2018
Just replicated this issue (#6) on eve 65.0.3325.184 stable: Immediately after connecting to Bluetooth headphones, if you try changing the volume from the Chromebook volume slider or from the hardware volume controls, before changing the volume from the headphones, the headphone volume does not change at all no matter where you put the Chromebook volume slider, unless you put it all the way to mute. |
||||
►
Sign in to add a comment |
||||
Comment 1 by wpwoo...@gmail.com
, Jan 9 2018