aboutsummaryrefslogtreecommitdiff
path: root/en/devices/audio
diff options
context:
space:
mode:
authorAndroid Partner Docs <noreply@android.com>2018-10-26 10:56:08 -0700
committerMark Hecomovich <mheco@google.com>2018-10-26 14:26:23 -0700
commit4ba4ea56ab8aec0d24df1254bcbe01d7b2bd2512 (patch)
tree880f10c16e1daf2eb4ca993e526fc1a0097b92cf /en/devices/audio
parent98a440bcd336b9b5e6102c5b921eec7f9b14ac02 (diff)
downloadsource.android.com-4ba4ea56ab8aec0d24df1254bcbe01d7b2bd2512.tar.gz
Docs: Changes to source.android.com
- 218879518 Add Configuration tuning section to Wi-Fi debug page by Kenneth Lau <kennethlau@google.com> - 218712036 Devsite localized content from translation request 1008371. by Android Partner Docs <noreply@android.com> - 218712025 Devsite localized content from translation request 1005928. by Android Partner Docs <noreply@android.com> - 218712020 Devsite localized content from translation request 1007339. by Android Partner Docs <noreply@android.com> - 218684781 Fix formatting by Android Partner Docs <noreply@android.com> - 218542171 Update acknowledgement for CVE-2017-13270 by Danielle Roberts <daroberts@google.com> - 218533117 Update RFoV zip file to 1.3 by Kenneth Lau <kennethlau@google.com> - 218530006 Devsite localized content from translation request 1008213. by Android Partner Docs <noreply@android.com> - 218529978 Devsite localized content from translation request 1002445. by Android Partner Docs <noreply@android.com> - 218529963 Devsite localized content from translation request 972165. by Android Partner Docs <noreply@android.com> - 218437924 Add a note about Hardware requirements if downloading a m... by Christina Nguyen <cqn@google.com> - 218368944 Fix broken link. by Mark Hecomovich <mheco@google.com> - 218359370 Devsite localized content from translation request 1008218. by Android Partner Docs <noreply@android.com> - 218359361 Devsite localized content from translation request 1007771. by Android Partner Docs <noreply@android.com> - 218359349 Devsite localized content from translation request 1007338. by Android Partner Docs <noreply@android.com> - 218258283 Add Pixel 2, Pixel 2 XL, Pixel 3 and Pixel 3 XL to the ru... by Android Partner Docs <noreply@android.com> - 218229160 Improve link text. by Mark Hecomovich <mheco@google.com> - 218221208 Add Dr. Rick O'Rang loopback app to SAC. by Mark Hecomovich <mheco@google.com> - 218204284 AOSP source requires more disk space nowadays, update the... by Android Partner Docs <noreply@android.com> - 218185116 Automated g4 rollback of changelist 217173674. by Android Partner Docs <noreply@android.com> - 218179268 Devsite localized content from translation request 980063. by Android Partner Docs <noreply@android.com> - 217957597 Publish localized bulletins by Danielle Roberts <daroberts@google.com> - 217908051 Devsite localized content from translation request 1003354. by Android Partner Docs <noreply@android.com> - 217893115 Devsite localized content from translation request 964303. by Android Partner Docs <noreply@android.com> - 217893097 Devsite localized content from translation request 1005895. by Android Partner Docs <noreply@android.com> - 217889812 Fix typo in library name by Christina Nguyen <cqn@google.com> - 217886741 Automated g4 rollback of changelist 217699000. by Android Partner Docs <noreply@android.com> - 217779012 Update Sensor Fusion zip file from revision 1.4 to 1.5 by Kenneth Lau <kennethlau@google.com> - 217765958 Update build numbers for pi dr1 releases by Android Partner Docs <noreply@android.com> - 217750196 Devsite localized content from translation request 1001123. by Android Partner Docs <noreply@android.com> - 217743339 Devsite localized content from translation request 990059. by Android Partner Docs <noreply@android.com> - 217743327 Devsite localized content from translation request 1003746. by Android Partner Docs <noreply@android.com> - 217743322 Devsite localized content from translation request 1007147. by Android Partner Docs <noreply@android.com> - 217699000 Updating the links in the USB audio interface section to ... by Android Partner Docs <noreply@android.com> - 217645344 Changed headings to sentence case by Android Partner Docs <noreply@android.com> - 217556428 Devsite localized content from translation request 1004748. by Android Partner Docs <noreply@android.com> - 217556410 Devsite localized content from translation request 1004737. by Android Partner Docs <noreply@android.com> - 217547197 Automated g4 rollback of changelist 213015576. by Android Partner Docs <noreply@android.com> - 217352540 Devsite localized content from translation request 999860. by Android Partner Docs <noreply@android.com> - 217352528 Devsite localized content from translation request 999858. by Android Partner Docs <noreply@android.com> - 217304729 Devsite localized content from translation request 1001062. by Android Partner Docs <noreply@android.com> - 217303399 Delete _freeze.yaml file to publish: by Christina Nguyen <cqn@google.com> - 217227763 Fix the hyper link for Vulkan Implementor's Guide by Android Partner Docs <noreply@android.com> - 217175480 Devsite localized content from translation request 1001099. by Android Partner Docs <noreply@android.com> - 217175474 Devsite localized content from translation request 1002304. by Android Partner Docs <noreply@android.com> - 217175455 Devsite localized content from translation request 999876. by Android Partner Docs <noreply@android.com> - 217173674 The USB Audio CTS Verifier Tests page is updated to add t... by Android Partner Docs <noreply@android.com> - 216872776 Devsite localized content from translation request 999606. by Android Partner Docs <noreply@android.com> - 216866964 Add test group to android source whitelist by Android Partner Docs <noreply@android.com> - 216863256 Create temporary files to test whitelists on source.andro... by Android Partner Docs <noreply@android.com> - 216770677 Update content license to android by Danielle Roberts <daroberts@google.com> - 216755328 Update broken link to point to correct path. by Christina Nguyen <cqn@google.com> - 216746846 Updates to intsan by Danielle Roberts <daroberts@google.com> - 216721226 Devsite localized content from translation request 976999. by Android Partner Docs <noreply@android.com> - 216714261 Devsite localized content from translation request 995323. by Android Partner Docs <noreply@android.com> - 216713954 Devsite localized content from translation request 969253. by Android Partner Docs <noreply@android.com> - 216713937 Devsite localized content from translation request 1003362. by Android Partner Docs <noreply@android.com> - 216713923 Devsite localized content from translation request 999285. by Android Partner Docs <noreply@android.com> - 216625979 Devsite localized content from translation request 972168. by Android Partner Docs <noreply@android.com> - 216623489 Publish Enterprise Security report by Danielle Roberts <daroberts@google.com> - 216557488 Fix try > tray typo in managed profile by Danielle Roberts <daroberts@google.com> - 216555020 Devsite localized content from translation request 1001113. by Android Partner Docs <noreply@android.com> - 216555003 Devsite localized content from translation request 998044. by Android Partner Docs <noreply@android.com> - 216553118 Add ADB to the developer tools bug component table. by Android Partner Docs <noreply@android.com> - 216552360 Add Janet to Android OWNERS file by Christina Nguyen <cqn@google.com> - 216547801 [SAC Bug] Update CTS/CTS-Verifier/CTS_Instant downloads f... by Android Partner Docs <noreply@android.com> - 216436716 Updated ro.product.first_api_level requirement to differe... by Christina Nguyen <cqn@google.com> - 216374672 Devsite localized content from translation request 995326. by Android Partner Docs <noreply@android.com> - 216260547 Change "Assembly" to "Details" in left nav by Kenneth Lau <kennethlau@google.com> - 216255124 Update images and components for Sensor Fusion Box by Kenneth Lau <kennethlau@google.com> - 216225168 Devsite localized content from translation request 1056411. by Android Partner Docs <noreply@android.com> - 216225159 Devsite localized content from translation request 977320. by Android Partner Docs <noreply@android.com> - 215985064 Fix links on the Accessories for Android page by Kenneth Lau <kennethlau@google.com> - 215983993 Fix errors in EuiccManager/EuiccCardManager sample code by Kenneth Lau <kennethlau@google.com> PiperOrigin-RevId: 218879518 Change-Id: Idaf13561fe53a45d8a10d7965ff7a5ee26ef9802
Diffstat (limited to 'en/devices/audio')
-rw-r--r--en/devices/audio/latency/loopback.html2
-rw-r--r--en/devices/audio/latency/measure.html37
-rw-r--r--en/devices/audio/warmup.html6
3 files changed, 28 insertions, 17 deletions
diff --git a/en/devices/audio/latency/loopback.html b/en/devices/audio/latency/loopback.html
index bef46c69..af1ca6d4 100644
--- a/en/devices/audio/latency/loopback.html
+++ b/en/devices/audio/latency/loopback.html
@@ -31,7 +31,7 @@ for the
that we call the "Dr. Rick O'Rang audio loopback dongle."
The Chrome hardware team designed this circuit and plug for functional testing;
however it has many other uses too. The Android audio team uses it to measure
-<a href="latency_measure.html#measuringRoundTrip">round-trip audio latency</a>,
+<a href="measure.html#measuringRoundTrip">round-trip audio latency</a>,
via the Larsen effect (feedback loop).
</p>
diff --git a/en/devices/audio/latency/measure.html b/en/devices/audio/latency/measure.html
index 44cba6c3..a9612ed7 100644
--- a/en/devices/audio/latency/measure.html
+++ b/en/devices/audio/latency/measure.html
@@ -102,6 +102,17 @@ If your production device does not have an LED, you can install the
by itself because of the nature of the test, but it can be useful for
calibrating other tests, and for establishing an upper bound.</p>
+ <p>This method does not break down the
+ component times, which is important when the output latency
+ and input latency are independent. So this method is not recommended for measuring
+ precise output latency or input latency values in isolation, but might be useful
+ for establishing rough estimates.</p>
+
+ <p>
+ Output latency to on-device speaker can be significantly larger than
+ output latency to headset connector. This is due to speaker correction and protection.
+ </p>
+
<p>To conduct this test:</p>
<ol>
<li>Run an app that captures audio from the microphone and immediately plays the
@@ -112,25 +123,25 @@ If your production device does not have an LED, you can install the
<li>Measure the time between feedback pulses to get the sum of the output latency, input latency, and application overhead.</li>
</ol>
- <p>This method does not break down the
- component times, which is important when the output latency
- and input latency are independent. So this method is not recommended for measuring
- precise output latency or input latency values in isolation, but might be useful
- for establishing rough estimates.</p>
-
- <p>
- Output latency to on-device speaker can be significantly larger than
- output latency to headset connector. This is due to speaker correction and protection.
- </p>
+<p>Here are some resources for getting an app for the Larsen test:</p>
-<p>
-We have published an example implementation at
+<ul>
+<li>
+The Dr. Rick O'Rang loopback app is an Android app for audio feedback testing. You can
+<a href="https://play.google.com/store/apps/details?id=org.drrickorang.loopback"> download the app from Google Play</a>
+or <a href="https://www.google.com/url?q=https://github.com/gkasten/drrickorang/tree/master/LoopbackApp&sa=D&usg=AFQjCNFT8D7QTkhLdkZSNyvhmoU5yt_zvg">
+get the source code from GitHub</a>.
+</li>
+<li>
+We also published an example implementation at
<a href="https://android.googlesource.com/platform/frameworks/wilhelm/+/master/tests/examples/slesTestFeedback.cpp">slesTestFeedback.cpp</a>.
This is a command-line app and is built using the platform build environment;
however it should be straightforward to adopt the code for other environments.
You will also need the <a href="avoiding_pi.html#nonBlockingAlgorithms">non-blocking</a> FIFO code
located in the <code>audio_utils</code> library.
-</p>
+</li>
+</ul>
+
<h3 id="loopback">Audio Loopback Dongle</h3>
diff --git a/en/devices/audio/warmup.html b/en/devices/audio/warmup.html
index 7c37cd66..a12841f8 100644
--- a/en/devices/audio/warmup.html
+++ b/en/devices/audio/warmup.html
@@ -32,7 +32,7 @@ the circuit.
<p>This document describes how to measure audio warmup time and possible ways to decrease
warmup time.</p>
-<h2 id="measuringOutput">Measuring Output Warmup</h2>
+<h2 id="measuringOutput">Measuring output warmup</h2>
<p>
AudioFlinger's FastMixer thread automatically measures output warmup
@@ -86,7 +86,7 @@ sampleRate=44100 frameCount=256 measuredWarmup=X ms, warmupCycles=X
</ol>
-<h2 id="measuringInput">Measuring Input Warmup</h2>
+<h2 id="measuringInput">Measuring input warmup</h2>
<p>
There are currently no tools provided for measuring audio input warmup.
@@ -96,7 +96,7 @@ sampleRate=44100 frameCount=256 measuredWarmup=X ms, warmupCycles=X
</p>
-<h2 id="reducing">Reducing Warmup Time</h2>
+<h2 id="reducing">Reducing warmup time</h2>
<p>
Warmup time can usually be reduced by a combination of: