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

Issue 866863004: Replace AudioScheduler with AudioPump. (Closed)

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

Description

Replace AudioScheduler with AudioPump. This is similar to the VideoScheduler refactoring. AudioPump now is not ref-counted, but otherwise works the same as AudioScheduler. Also simplified AudioCapturer interface. Committed: https://crrev.com/7bc87603f0d16d150a1759b7196c1e65f54f8fd6 Cr-Commit-Position: refs/heads/master@{#316277}

Patch Set 1 : #

Total comments: 15

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -320 lines) Patch
M remoting/host/audio_capturer.h View 1 chunk +0 lines, -5 lines 0 comments Download
M remoting/host/audio_capturer_linux.h View 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/host/audio_capturer_linux.cc View 2 chunks +1 line, -9 lines 0 comments Download
M remoting/host/audio_capturer_win.h View 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/host/audio_capturer_win.cc View 1 2 chunks +1 line, -19 lines 0 comments Download
A remoting/host/audio_pump.h View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A remoting/host/audio_pump.cc View 1 2 1 chunk +133 lines, -0 lines 0 comments Download
D remoting/host/audio_scheduler.h View 1 chunk +0 lines, -85 lines 0 comments Download
D remoting/host/audio_scheduler.cc View 1 chunk +0 lines, -109 lines 0 comments Download
M remoting/host/client_session.h View 3 chunks +5 lines, -15 lines 0 comments Download
M remoting/host/client_session.cc View 1 9 chunks +50 lines, -61 lines 0 comments Download
M remoting/host/ipc_audio_capturer.h View 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/host/ipc_audio_capturer.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M remoting/remoting_host_srcs.gypi View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Sergey Ulanov
5 years, 10 months ago (2015-02-06 00:40:01 UTC) #3
Sergey Ulanov
ping
5 years, 10 months ago (2015-02-10 19:39:18 UTC) #4
Wez
https://codereview.chromium.org/866863004/diff/20001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/866863004/diff/20001/remoting/host/audio_capturer_win.cc#newcode47 remoting/host/audio_capturer_win.cc:47: AudioCapturerWin::~AudioCapturerWin() { Add thread-check here, since you no longer ...
5 years, 10 months ago (2015-02-11 01:41:13 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/866863004/diff/20001/remoting/host/audio_capturer_win.cc File remoting/host/audio_capturer_win.cc (right): https://codereview.chromium.org/866863004/diff/20001/remoting/host/audio_capturer_win.cc#newcode47 remoting/host/audio_capturer_win.cc:47: AudioCapturerWin::~AudioCapturerWin() { On 2015/02/11 01:41:12, Wez wrote: > Add ...
5 years, 10 months ago (2015-02-11 21:18:12 UTC) #6
Wez
lgtm https://codereview.chromium.org/866863004/diff/20001/remoting/host/audio_pump.cc File remoting/host/audio_pump.cc (right): https://codereview.chromium.org/866863004/diff/20001/remoting/host/audio_pump.cc#newcode133 remoting/host/audio_pump.cc:133: audio_stub_->ProcessAudioPacket(packet.Pass(), base::Closure()); On 2015/02/11 21:18:12, Sergey Ulanov wrote: ...
5 years, 10 months ago (2015-02-12 02:26:18 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/866863004/diff/40001/remoting/host/audio_pump.cc File remoting/host/audio_pump.cc (right): https://codereview.chromium.org/866863004/diff/40001/remoting/host/audio_pump.cc#newcode34 remoting/host/audio_pump.cc:34: scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; On 2015/02/12 02:26:18, Wez wrote: > nit: ...
5 years, 10 months ago (2015-02-13 17:40:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866863004/60001
5 years, 10 months ago (2015-02-13 18:47:15 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 10 months ago (2015-02-13 20:33:47 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 20:34:33 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7bc87603f0d16d150a1759b7196c1e65f54f8fd6
Cr-Commit-Position: refs/heads/master@{#316277}

Powered by Google App Engine
This is Rietveld 408576698