2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
音声ループバック ドングル
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
以下の図と写真は、ヘッドセット コネクタの音声ループバック ドングルを示しています。Chrome ハードウェア チームでは機能テスト用にこの回路とプラグを設計しましたが、他にも多くの利用方法があります。Android オーディオ チームではこれを使用し、エンコードされたシグナルを出力から送信し、該当する信号を入力で探すことによって、ラウンドトリップ オーディオ レイテンシを測定しています。この 2 つの間隔が、入力と出力のレイテンシの合計になります。この手法は OboeTester と CTS 検証ツールで使用されています。
以下の回路に基づくループバック ドングルは PassMark Software から入手できます。これは推奨や宣伝ではありません。Google は PassMark との協力関係はありません。
回路
図 1. 回路図
出力信号によりマイク入力に過剰な負荷がかからないようにするため、約 20 dB 減衰させています。この抵抗負荷によって、マイクの極性スイッチは、音声ループバック ドングルが US/CTIA ピンアウト Tip Ring Ring Shield(TRRS)プラグであることを検知します。
外観
図 2. 外観
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-02 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-02 UTC。"],[],[],null,["# Audio loopback dongle\n\nThe diagram and photo below show an audio loopback\n[dongle](http://en.wikipedia.org/wiki/Dongle)\nfor the\n[headset connector](http://en.wikipedia.org/wiki/Phone_connector_(audio)).\nThe Chrome hardware team designed this circuit and plug for functional testing;\nhowever it has many other uses too. The Android audio team uses it to measure\n[round-trip audio latency](/docs/core/audio/latency/measure#measuringRoundTrip),\nby sending an encoded signal through the output and then looking for that matching signal on the input.\nThe time between the two is the combined input plus output latency.\nThis technique is used in [OboeTester](https://github.com/google/oboe/tree/main/apps/OboeTester/docs) and in CTS Verifier.\n\nA Loopback Dongle based on the circuit below is available from\n[PassMark Software](https://www.passmark.com/products/audio-loopback-plug/index.php).\nThis isn't a recommendation or an endorsement. Google does not have a business relationship with PassMark.\n\nCircuit\n-------\n\n\n**Figure 1.** circuit diagram\n\n\nTo ensure that the output signal will not overload the microphone input,\nwe cut it down by about 20dB.\nThe resistor loads tell the microphone polarity switch that\nthe audio loopback dongle is a US/CTIA pinout Tip Ring Ring Shield (TRRS) plug.\n\nAssembled\n---------\n\n\n**Figure 2.** Assembled"]]