diff options
author | hshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 18:58:58 +0000 |
---|---|---|
committer | hshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 18:58:58 +0000 |
commit | f75204bedc56872cc0b76626fd53c34dd2d42c75 (patch) | |
tree | 490c4ba5f0cf09a82ac0755d2cea2f21926cde06 /content/content_browser.gypi | |
parent | 0eb936f3cdcded92a08f9a720e76bb847f6ded9c (diff) | |
download | chromium_src-f75204bedc56872cc0b76626fd53c34dd2d42c75.zip chromium_src-f75204bedc56872cc0b76626fd53c34dd2d42c75.tar.gz chromium_src-f75204bedc56872cc0b76626fd53c34dd2d42c75.tar.bz2 |
Enable audio desktop mirroring.
Define getUserMedia mandatory constraint {chromeMediaSource:"system"}
to indicate audio loopback (post-mix system audio). Add plumbing in
MediaCaptureDevicesDispatcher, AudioManagerCras and CrasInputStream
classes to support the loopback path.
BUG=261383
TEST=manually verify audio mirroring with a modified extension
R=dalecurtis@chromium.org, miu@chromium.org, piman@chromium.org, xians@chromium.org
Review URL: https://codereview.chromium.org/20847002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_browser.gypi')
-rw-r--r-- | content/content_browser.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/content_browser.gypi b/content/content_browser.gypi index d7120cb..47bb068 100644 --- a/content/content_browser.gypi +++ b/content/content_browser.gypi @@ -3,6 +3,9 @@ # found in the LICENSE file. { + 'variables': { + 'use_cras%': 0, + }, 'dependencies': [ 'browser/speech/proto/speech_proto.gyp:speech_proto', '../base/base.gyp:base_static', @@ -1346,6 +1349,11 @@ '../build/linux/system.gyp:x11', ], }], + ['use_cras==1', { + 'defines': [ + 'USE_CRAS', + ], + }], ['use_pango==1', { 'dependencies': [ '../build/linux/system.gyp:pangocairo', |