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

Issue 10907041: Implement Linux audio capturer. (Closed)

Created:
8 years, 3 months ago by Sergey Ulanov
Modified:
8 years, 3 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Implement audio capturer for chromoting host on Linux. This change adds AudioCapturerLinux which works by reading audio stream from a named pipe. The name of the pipe is passed via command line. me2me_virtual_host.py will need to configure pulseaudio to stream audio to the the same pipe , that's coming in a separate CL. BUG=145891 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156060

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -9 lines) Patch
M remoting/host/audio_capturer.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
A remoting/host/audio_capturer_linux.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M remoting/host/audio_capturer_linux.cc View 1 2 3 4 5 1 chunk +160 lines, -3 lines 0 comments Download
M remoting/host/audio_capturer_mac.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/audio_capturer_win.h View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M remoting/host/audio_capturer_win.cc View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M remoting/remoting.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Sergey Ulanov
8 years, 3 months ago (2012-09-01 00:51:11 UTC) #1
Wez
http://codereview.chromium.org/10907041/diff/1/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/10907041/diff/1/remoting/host/audio_capturer_linux.cc#newcode81 remoting/host/audio_capturer_linux.cc:81: void AudioCapturerLinux::OnFileCanWriteWithoutBlocking(int fd) { nit: NOTREACHED()? http://codereview.chromium.org/10907041/diff/1/remoting/host/audio_capturer_linux.cc#newcode98 remoting/host/audio_capturer_linux.cc:98: stream_position_samples ...
8 years, 3 months ago (2012-09-04 21:41:45 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10907041/diff/1/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/10907041/diff/1/remoting/host/audio_capturer_linux.cc#newcode81 remoting/host/audio_capturer_linux.cc:81: void AudioCapturerLinux::OnFileCanWriteWithoutBlocking(int fd) { On 2012/09/04 21:41:45, Wez wrote: ...
8 years, 3 months ago (2012-09-05 01:35:49 UTC) #3
Wez
http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc#newcode53 remoting/host/audio_capturer_linux.cc:53: Sleep(); Why do this here, rather than in Start? ...
8 years, 3 months ago (2012-09-06 21:47:29 UTC) #4
Sergey Ulanov
http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc#newcode53 remoting/host/audio_capturer_linux.cc:53: Sleep(); On 2012/09/06 21:47:29, Wez wrote: > Why do ...
8 years, 3 months ago (2012-09-06 23:18:53 UTC) #5
Wez
lgtm http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc#newcode53 remoting/host/audio_capturer_linux.cc:53: Sleep(); On 2012/09/06 23:18:53, sergeyu wrote: > On ...
8 years, 3 months ago (2012-09-06 23:32:39 UTC) #6
Sergey Ulanov
http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/10907041/diff/5001/remoting/host/audio_capturer_linux.cc#newcode53 remoting/host/audio_capturer_linux.cc:53: Sleep(); On 2012/09/06 23:32:39, Wez wrote: > On 2012/09/06 ...
8 years, 3 months ago (2012-09-07 00:22:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10907041/9001
8 years, 3 months ago (2012-09-07 00:39:44 UTC) #8
commit-bot: I haz the power
Failed to apply patch for remoting/host/desktop_environment_factory.cc: While running patch -p1 --forward --force; patching file remoting/host/desktop_environment_factory.cc ...
8 years, 3 months ago (2012-09-07 00:39:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10907041/9
8 years, 3 months ago (2012-09-10 19:34:18 UTC) #10
commit-bot: I haz the power
Try job failure for 10907041-9 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-10 19:51:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10907041/14007
8 years, 3 months ago (2012-09-10 23:13:11 UTC) #12
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary filesare still unsupported at ...
8 years, 3 months ago (2012-09-10 23:19:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10907041/10003
8 years, 3 months ago (2012-09-10 23:19:40 UTC) #14
commit-bot: I haz the power
Try job failure for 10907041-10003 (retry) on win for step "runhooks". It's a second try, ...
8 years, 3 months ago (2012-09-10 23:33:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10907041/10003
8 years, 3 months ago (2012-09-10 23:41:35 UTC) #16
commit-bot: I haz the power
Try job failure for 10907041-10003 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-11 00:00:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10907041/10004
8 years, 3 months ago (2012-09-11 00:09:32 UTC) #18
commit-bot: I haz the power
8 years, 3 months ago (2012-09-11 00:44:02 UTC) #19
Try job failure for 10907041-10004 (retry) on win_rel for step "runhooks"
(clobber build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698