diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 01:15:17 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 01:15:17 +0000 |
commit | dcb41734dcf22b7a2150209e26e42bf3447077fc (patch) | |
tree | 2836275e33b3f1795f4ca338b9947e47c192b735 /remoting/tools | |
parent | 904e9138fb2ca78ba6ae1f1054f9ce8cfe19eda5 (diff) | |
download | chromium_src-dcb41734dcf22b7a2150209e26e42bf3447077fc.zip chromium_src-dcb41734dcf22b7a2150209e26e42bf3447077fc.tar.gz chromium_src-dcb41734dcf22b7a2150209e26e42bf3447077fc.tar.bz2 |
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
Review URL: https://codereview.chromium.org/11316010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/tools')
-rwxr-xr-x | remoting/tools/me2me_virtual_host.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py index 55fb5e4..2275781 100755 --- a/remoting/tools/me2me_virtual_host.py +++ b/remoting/tools/me2me_virtual_host.py @@ -233,7 +233,7 @@ class Desktop: pulse_config.write("load-module module-native-protocol-unix\n") pulse_config.write( ("load-module module-pipe-sink sink_name=%s file=\"%s\" " + - "rate=44100 channels=2 format=s16le\n") % + "rate=48000 channels=2 format=s16le\n") % (sink_name, pipe_name)) pulse_config.close() except IOError, e: |