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

Issue 2163473002: [Chromoting] Audio playback won't work after switching default playback device (Closed)

Created:
4 years, 5 months ago by Hzj_jie
Modified:
4 years, 5 months ago
Reviewers:
Sergey Ulanov, joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org, Yuwei
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] Audio playback won't work after switching default playback device We can only capture audio for the default device now. So we need to update audio components after switching a default playback device in Windows. BUG=628814 Committed: https://crrev.com/b40182aceb9f9ab588a296ace041360fa40bac88 Cr-Commit-Position: refs/heads/master@{#407390}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Resolve review comments #

Total comments: 7

Patch Set 3 : Resolve review comments #

Patch Set 4 : Resolve review comments #

Total comments: 9

Patch Set 5 : Resolve review comments #

Patch Set 6 : Resolve review comments #

Total comments: 4

Patch Set 7 : Resolve review comments #

Total comments: 2

Patch Set 8 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -17 lines) Patch
M remoting/host/audio_capturer_win.h View 1 2 3 4 5 6 2 chunks +27 lines, -0 lines 0 comments Download
M remoting/host/audio_capturer_win.cc View 1 2 3 4 5 6 7 6 chunks +116 lines, -17 lines 0 comments Download

Messages

Total messages: 62 (44 generated)
Hzj_jie
4 years, 5 months ago (2016-07-18 22:40:43 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc#newcode43 remoting/host/audio_capturer_win.cc:43: class AudioCapturerWin::MMNotificationClient : public IMMNotificationClient { Do we need ...
4 years, 5 months ago (2016-07-18 23:09:24 UTC) #8
Hzj_jie
https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc#newcode43 remoting/host/audio_capturer_win.cc:43: class AudioCapturerWin::MMNotificationClient : public IMMNotificationClient { On 2016/07/18 23:09:24, ...
4 years, 5 months ago (2016-07-19 02:36:40 UTC) #13
Sergey Ulanov
https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc#newcode76 remoting/host/audio_capturer_win.cc:76: HRESULT AudioCapturerWin::MMNotificationClient::OnDefaultDeviceChanged( On 2016/07/19 02:36:40, Hzj_jie wrote: > On ...
4 years, 5 months ago (2016-07-20 17:28:34 UTC) #14
Hzj_jie
https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc#newcode76 remoting/host/audio_capturer_win.cc:76: HRESULT AudioCapturerWin::MMNotificationClient::OnDefaultDeviceChanged( On 2016/07/20 17:28:34, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-07-20 20:43:15 UTC) #19
Sergey Ulanov
https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc#newcode76 remoting/host/audio_capturer_win.cc:76: HRESULT AudioCapturerWin::MMNotificationClient::OnDefaultDeviceChanged( On 2016/07/20 20:43:14, Hzj_jie wrote: > On ...
4 years, 5 months ago (2016-07-21 18:54:02 UTC) #20
Hzj_jie
https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/1/remoting/host/audio_capturer_win.cc#newcode76 remoting/host/audio_capturer_win.cc:76: HRESULT AudioCapturerWin::MMNotificationClient::OnDefaultDeviceChanged( On 2016/07/21 18:54:01, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-07-21 23:38:50 UTC) #23
Sergey Ulanov
https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc#newcode46 remoting/host/audio_capturer_win.cc:46: MMNotificationClient(AudioCapturerWin* owner) owner_ is not needed anymore. Remove it? ...
4 years, 5 months ago (2016-07-22 17:38:37 UTC) #26
Hzj_jie
https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc#newcode46 remoting/host/audio_capturer_win.cc:46: MMNotificationClient(AudioCapturerWin* owner) On 2016/07/22 17:38:37, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-07-22 21:03:11 UTC) #31
Sergey Ulanov
https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc#newcode369 remoting/host/audio_capturer_win.cc:369: // Initialization failed, we should wait for next DoCapture ...
4 years, 5 months ago (2016-07-22 21:29:27 UTC) #32
Hzj_jie
On 2016/07/22 21:29:27, Sergey Ulanov wrote: > https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc > File remoting/host/audio_capturer_win.cc (right): > > https://codereview.chromium.org/2163473002/diff/60001/remoting/host/audio_capturer_win.cc#newcode369 ...
4 years, 5 months ago (2016-07-22 23:11:48 UTC) #43
Sergey Ulanov
https://codereview.chromium.org/2163473002/diff/120001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/120001/remoting/host/audio_capturer_win.cc#newcode294 remoting/host/audio_capturer_win.cc:294: bool AudioCapturerWin::Initialized() const { nit: call it is_initialized()? https://codereview.chromium.org/2163473002/diff/120001/remoting/host/audio_capturer_win.cc#newcode299 ...
4 years, 5 months ago (2016-07-22 23:38:05 UTC) #44
Hzj_jie
https://codereview.chromium.org/2163473002/diff/120001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/120001/remoting/host/audio_capturer_win.cc#newcode294 remoting/host/audio_capturer_win.cc:294: bool AudioCapturerWin::Initialized() const { On 2016/07/22 23:38:05, Sergey Ulanov ...
4 years, 5 months ago (2016-07-23 00:24:18 UTC) #47
Sergey Ulanov
lgtm https://codereview.chromium.org/2163473002/diff/140001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/140001/remoting/host/audio_capturer_win.cc#newcode307 remoting/host/audio_capturer_win.cc:307: return wave_format_ex_.get() && nit: now it's enough to ...
4 years, 5 months ago (2016-07-23 06:36:08 UTC) #50
Hzj_jie
https://codereview.chromium.org/2163473002/diff/140001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/2163473002/diff/140001/remoting/host/audio_capturer_win.cc#newcode307 remoting/host/audio_capturer_win.cc:307: return wave_format_ex_.get() && On 2016/07/23 06:36:08, Sergey Ulanov wrote: ...
4 years, 5 months ago (2016-07-24 18:51:56 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2163473002/160001
4 years, 5 months ago (2016-07-24 19:22:46 UTC) #58
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 5 months ago (2016-07-24 19:28:30 UTC) #60
commit-bot: I haz the power
4 years, 5 months ago (2016-07-24 19:30:14 UTC) #62
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b40182aceb9f9ab588a296ace041360fa40bac88
Cr-Commit-Position: refs/heads/master@{#407390}

Powered by Google App Engine
This is Rietveld 408576698