summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrtoy@google.com <rtoy@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-25 19:35:42 +0000
committerrtoy@google.com <rtoy@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-25 19:35:42 +0000
commita3a720f04ca1871be157f6ad8af6e517f894c302 (patch)
tree127bfb99cb7e33a49668c9b1d989446b79d5fedd
parent09f0c9480069a96257653e0b99f4538043ab5d04 (diff)
downloadchromium_src-a3a720f04ca1871be157f6ad8af6e517f894c302.zip
chromium_src-a3a720f04ca1871be157f6ad8af6e517f894c302.tar.gz
chromium_src-a3a720f04ca1871be157f6ad8af6e517f894c302.tar.bz2
Add variable use_concatenated_impulse_responses to control whether webaudio uses concatenated impulse responses.
BUG=227141 This is a prerequisite for https://codereview.chromium.org/14304002/. Review URL: https://chromiumcodereview.appspot.com/14311015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196458 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 277b5b3..fa829b3 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -652,6 +652,10 @@
}],
],
+ # Set this to 1 to enable use of concatenated impulse responses
+ # for the HRTF panner in WebAudio.
+ 'use_concatenated_impulse_responses': 0,
+
# Set this to 1 to use the Google-internal file containing
# official API keys for Google Chrome even in a developer build.
# Setting this variable explicitly to 1 will cause your build to
@@ -1500,6 +1504,9 @@
['enable_google_now==1', {
'grit_defines': ['-D', 'enable_google_now'],
}],
+ ['use_concatenated_impulse_responses==1', {
+ 'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
+ }],
['clang_use_chrome_plugins==1 and OS!="win"', {
'clang_chrome_plugins_flags': [
'<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'