2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
USB-C - アナログ変換オーディオ アダプター
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
新しい Android スマートフォンには 3.5 mm ジャックがないものがありますが、そのようなデバイスで手持ちの 3.5 mm ヘッドセットを使用したいと望むユーザーも存在します。この記事では、そうしたニーズに応えて、USB-C ポートのみを装備したデバイスに 3.5 mm ヘッドセットを接続するための USB-C - アナログ変換オーディオ アダプターの仕様について詳しく説明します。
このドキュメントでは最小要件について説明します。アクセサリー メーカーは、これらの要件を念頭に置いて機能を追加することをおすすめします。
アダプターのタイプ
デジタル - アナログ変換アダプターのみを使用できます。USB.org の「USB Type-C ケーブルおよびコネクタ仕様リリース 1.2 付録 A」に準拠するアナログ専用アダプターはサポートされません。
機能の概要
このアダプターは、既存の 3.5 mm アクセサリーを USB-C ポートを備えたデバイスに接続できるようにします。そのためには、アダプターは以下をサポートする必要があります。
- ステレオ アナログ デバイス(マイク付き、またはマイクなし)
- 2 個の出力チャネルのデジタル - アナログ変換
- 1 個の入力チャネルのアナログ - デジタル変換
- アナログ デバイスの挿入を検出
- ヘッドセット マイクを検出
- 出力インピーダンスを検出
- ヘッドセット ボタンイベントを HID イベントに変換
アナログ インターフェース
アダプターは、デバイスが挿入されて正常に識別されるまで、UAC インターフェース、再生、キャプチャのエンドポイントを USB ホストに提示してはなりません。検出されたデバイスのタイプに応じて、次の UAC 端子タイプを報告する必要があります。
- ヘッドフォン: 低インピーダンス トランスデューサ、1 キロオーム未満、マイクなし: 0x0302
- ヘッドセット: 低インピーダンス トランスデューサ、マイク付き: 0x0402
- ライン入力: 高インピーダンス入力: 0x603
- ライン出力: 高インピーダンス出力: 0x604
- ライン入力とライン出力またはライン入力とマイク: 0x400
アダプターは、アナログ インターフェースから受信したボタンイベントを、Android アナログ ヘッドセット仕様に従って以下の HID イベントに変換する必要があります。
ファンクション |
マッピング |
A |
HID 使用ページ: 0x0C
HID 使用: 0x0CD |
B |
HID 使用ページ: 0x0C
HID 使用: 0x0E9 |
C |
HID 使用ページ: 0x0C
HID 使用: 0x0EA |
D |
HID 使用ページ: 0x0C
HID 使用: 0x0CF |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 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-07-27 UTC。"],[],[],null,["# USB-C-to-analog audio adapter\n\nWhile some new Android phones are being produced without a 3.5 mm jack, users\nmay still own 3.5 mm headsets that they want to use with those devices. To\nfacilitate that, this article specifies a USB-C-to-analog audio adapter spec to\nplug\n[3.5 mm headsets](/docs/core/interaction/accessories/headset/plug-headset-spec)\ninto devices that only have a\n[USB-C port](/docs/core/interaction/accessories/headset/usb-device).\n\n\nThis documentation specifies the minimum requirements: accessory manufacturers\nare encouraged to add features while keeping these requirements in mind.\n\nAdapter type\n------------\n\n\nOnly digital-to-analog adapters are allowed. Analog-only adapters following\n[USB.org's](http://www.usb.org/) \"USB Type-C Cable and Connector\nSpecification, Release 1.2, Appendix A\" are not supported.\n\nFunctional overview\n-------------------\n\n\nThe adapter allows users to plug their existing 3.5mm accessories into devices\nwith USB-C ports. To do this, the adapter supports:\n\n- Stereo analog devices with and without microphones\n- Digital to analog conversion of 2 output channels\n- Analog to digital conversion of 1 input channel\n- Detection of analog device insertion\n- Detection of headset microphone\n- Detection of output impedance\n- Translation of headset button events to HID events\n\nAnalog interface\n----------------\n\n\nThe adapter shall not present any UAC interface, playback, or capture endpoints\nto the USB host until a device is inserted and properly identified. Depending on\nthe type of device detected, the following UAC terminal types must be reported:\n\n- **Headphones**. Low impedance transducers, \\\u003c 1 kiloohm, no microphone: 0x0302\n- **Headset**. Low impedance transducers with microphone: 0x0402\n- **Line in**. High impedance input: 0x603\n- **Line out**. High impedance output: 0x604\n- **Line in and Line out** or **Line in and Mic**: 0x400\n\nButton functions\n----------------\n\n\nThe adapter shall convert button events received from the analog interface and\nconforming to the Android\n[analog headset\nspecification](/docs/core/interaction/accessories/headset/plug-headset-spec) to the following HID events:\n\n| Function | Mappings |\n|----------|---------------------------------------|\n| A | HID usage page: 0x0C HID usage: 0x0CD |\n| B | HID usage page: 0x0C HID usage: 0x0E9 |\n| C | HID usage page: 0x0C HID usage: 0x0EA |\n| D | HID usage page: 0x0C HID usage: 0x0CF |"]]