blob: fb4b527baf130a336083b0697cb2141e03a1b4fe [file] [log] [blame]
Glenn Kasten9f5130c2014-11-10 14:36:08 -08001page.title=FunPlug Audio Dongle
2@jd:body
3
4<!--
5 Copyright 2014 The Android Open Source Project
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18-->
19<div id="qv-wrapper">
20 <div id="qv">
21 <h2>In this document</h2>
22 <ol id="auto-toc">
23 </ol>
24 </div>
25</div>
26
27<p>
28The diagram and photo below show an audio loopback
29<a href="http://en.wikipedia.org/wiki/Dongle">dongle</a>
30for the
31<a href="http://en.wikipedia.org/wiki/Phone_connector_(audio)">headset connector</a>
Clay Murphyb53ec722014-11-11 11:30:30 -080032that we call the "FunPlug."
33The Chrome hardware team designed this circuit and plug for functional testing;
Glenn Kasten9f5130c2014-11-10 14:36:08 -080034however it has many other uses too. The Android audio team uses it to measure
Clay Murphy714cd072014-12-01 13:07:52 -080035<a href="latency_measure.html#measuringRoundTrip">round-trip audio latency</a>,
Glenn Kasten9f5130c2014-11-10 14:36:08 -080036via the Larsen effect (feedback loop).
37</p>
38
39<h2 id="funplugCircuit">FunPlug circuit</h2>
40
Clay Murphy1b77cc22014-12-17 18:20:06 -080041<img src="images/funplug_circuit.png" alt="FunPlug circuit" id="figure1" />
42<p class="img-caption">
43 <strong>Figure 1.</strong> FunPlug circuit diagram
44</p>
Glenn Kasten9f5130c2014-11-10 14:36:08 -080045
46<p>
47To ensure that the output signal will not overload the microphone input,
Clay Murphyb53ec722014-11-11 11:30:30 -080048we cut it down by about 20dB.
Glenn Kasten9f5130c2014-11-10 14:36:08 -080049The resistor loads are there to tell the microphone polarity switch that
50it is a US/CTIA pinout plug.
51</p>
52
53<h2 id="funplugAssembled">FunPlug assembled</h2>
54
Clay Murphy1b77cc22014-12-17 18:20:06 -080055<img src="images/funplug_assembled.jpg" alt="FunPlug fully assembled" id="figure2" />
56<p class="img-caption">
57 <strong>Figure 2.</strong> Assembled FunPlug
58</p>