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

Issue 11316010: Fix AudioCapturer implementation to read from audio pipe even when there are no active clients. (Closed)

Created:
8 years, 1 month ago by Sergey Ulanov
Modified:
8 years, 1 month 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, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fix AudioCapturer implementation to read from audio pipe even when there are no active clients. Pulseaudio blocks playback when the host stops reading from the audio pipe. Previously the host was reading from the pipe only when there is an active client. Fixed the capturer to always read from the pipe, so that we don't halt playback when user disconnects. Also changed sampling rate to 48000 to avoid resampling in the host. BUG=153090 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165275

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 29

Patch Set 4 : #

Total comments: 18

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -240 lines) Patch
M remoting/host/audio_capturer_linux.h View 1 2 3 4 2 chunks +17 lines, -30 lines 0 comments Download
M remoting/host/audio_capturer_linux.cc View 1 2 3 4 4 chunks +25 lines, -143 lines 0 comments Download
A remoting/host/linux/audio_pipe_reader.h View 1 2 3 4 1 chunk +78 lines, -0 lines 0 comments Download
A + remoting/host/linux/audio_pipe_reader.cc View 1 2 3 4 7 chunks +31 lines, -58 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 2 chunks +15 lines, -8 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/tools/me2me_virtual_host.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
8 years, 1 month ago (2012-10-26 22:02:23 UTC) #1
Sergey Ulanov
ping
8 years, 1 month ago (2012-10-29 23:43:31 UTC) #2
Wez
http://codereview.chromium.org/11316010/diff/3002/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/11316010/diff/3002/remoting/host/audio_capturer_linux.cc#newcode168 remoting/host/audio_capturer_linux.cc:168: scoped_refptr<base::RefCountedString> data_ref = nit: Add a comment e.g. "Dispatch ...
8 years, 1 month ago (2012-10-30 04:20:11 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/11316010/diff/3002/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/11316010/diff/3002/remoting/host/audio_capturer_linux.cc#newcode168 remoting/host/audio_capturer_linux.cc:168: scoped_refptr<base::RefCountedString> data_ref = On 2012/10/30 04:20:11, Wez wrote: > ...
8 years, 1 month ago (2012-10-30 23:59:47 UTC) #4
Wez
LGTM w/ nits! http://codereview.chromium.org/11316010/diff/3002/remoting/host/audio_capturer_linux.h File remoting/host/audio_capturer_linux.h (right): http://codereview.chromium.org/11316010/diff/3002/remoting/host/audio_capturer_linux.h#newcode29 remoting/host/audio_capturer_linux.h:29: class AudioCapturerLinuxCore On 2012/10/30 23:59:48, sergeyu ...
8 years, 1 month ago (2012-10-31 00:56:27 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/11316010/diff/10001/remoting/host/audio_capturer_linux.cc File remoting/host/audio_capturer_linux.cc (right): http://codereview.chromium.org/11316010/diff/10001/remoting/host/audio_capturer_linux.cc#newcode74 remoting/host/audio_capturer_linux.cc:74: g_pulseaudio_pipe_sink_reader.Get(); On 2012/10/31 00:56:28, Wez wrote: > Perhaps the ...
8 years, 1 month ago (2012-10-31 18:41:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11316010/16001
8 years, 1 month ago (2012-10-31 18:41:40 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 1 month ago (2012-10-31 21:12:34 UTC) #8
commit-bot: I haz the power
8 years, 1 month ago (2012-11-01 00:39:44 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698