2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
3.5 mm ヘッドセット ジャック: デバイス仕様
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
3.5 mm プラグ ヘッドセット仕様との互換性を実現するには、4 コンダクター 3.5 mm オーディオ ジャックを備えたデバイスが下記の仕様を満たす必要があります。Android の互換性要件については、Android CDD のアナログ オーディオ ポートのセクションをご覧ください。
関数
機能 |
デバイスのサポート |
ステレオ音声出力 |
必須 |
音声入力(マイク) |
必須 |
アース |
必須 |
ソフトウェアのマッピング
機能 |
デバイスのサポート |
説明 |
ファンクション A 制御イベント |
必須 |
入力イベント: KEY_MEDIA
Android キー: KEYCODE_MEDIA_PLAY_PAUSE
|
ファンクション D 制御イベント |
必須 |
入力イベント: KEY_VOICECOMMAND
Android キー: KEYCODE_VOICE_ASSIST |
ファンクション B 制御イベント |
必須 |
入力イベント: KEY_VOLUMEUP
Android キー: VOLUME_UP |
ファンクション C 制御イベント |
必須 |
入力イベント: KEY_VOLUMEDOWN
Android キー: VOLUME_DOWN |
ヘッドセット挿入検出 |
必須 |
入力イベント: SW_JACK_PHYSICAL_INSERT 7 |
ヘッドセット タイプ検出 |
マイク |
入力イベント: SW_MICROPHONE_INSERT 4 |
マイクなし |
入力イベント: SW_HEADPHONE_INSERT 2 |
ヘッドセット スピーカーのインピーダンス |
必須のヘッドフォン(低) |
障害モードではヘッドフォンを示すため、制限がオンになります |
必須のライン入力(高) |
入力イベント: SW_LINEOUT_INSERT 6 |
メカニカル
機能 |
デバイスのサポート |
説明 |
4 コンダクター 3.5 mm ジャック |
必須 |
|
CTIA ピン配列順序(LRGM) |
必須 |
3 ピンおよびモノラルプラグ対応 |
OMTP ピン配列順序(LRMG) |
オプションですが、強くおすすめします |
|
ヘッドセット検出シーケンス |
必須 |
プラグ挿入の通知は、プラグのすべての接点が該当のセグメントに接触した後ではじめてトリガーする必要があります(これにより、ゆっくりした挿入でヘッドセットの検出が不安定になることを防ぎます)。 |
電気
全般
機能 |
デバイスのサポート |
注 |
最大出力電圧ドライブ |
150 mV |
32 オームで 150 mV 以上
テスト条件: EN50332-2 |
マイクのバイアス抵抗 |
必須 |
検出方法とマイクのバイアス抵抗器は柔軟に選択できます。下記に示すボタン抵抗値の全範囲を検出して、それぞれの機能に関連付ける必要があります。 |
マイクのバイアス電圧 |
1.8 V~2.9 V |
一般的なマイクカプセルとの互換性を保証するための仕様。 |
機能インピーダンスとしきい値検出
デバイスは、アクセサリー上の以下の抵抗器ラダーを検出する必要があります。アクセサリは、前に示した図(リファレンス ヘッドセット試験回路)の標準回路図でテストされます。2.2 キロオームの抵抗器を通して 2.2 V のマイクバイアスを加えた状態でボタンが押されたときの、MIC 端子から GND までの合計インピーダンスが測定されます。これは、マイクをボタン抵抗器と並列でつないだボタン検出回路の実効抵抗と同じです。
ボタンのインピーダンス レベル |
デバイスのサポート |
注 |
70 オーム以下 |
必須 |
[ファンクション A] |
110~180 オーム |
必須 |
[ファンクション D] |
210~290 オーム |
必須 |
[ファンクション B] |
360~680 オーム |
必須 |
[ファンクション C] |
ヘッドセット スピーカーのインピーダンス レベル |
デバイスのサポート |
注 |
最低しきい値検出 |
必須 |
ヘッドフォン(最低)< 1 キロオーム |
最高しきい値検出 |
必須 |
ライン入力(最高)> 5 キロオーム |
4 セグメント プラグ検出抵抗(3 番目と 4 番目のセグメント間) |
デバイスのサポート |
注 |
4 セグメント プラグのしきい値 |
必須 |
抵抗 >= 100 オーム |
3 セグメント プラグのしきい値 |
必須 |
抵抗 < 100 オーム |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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,["# 3.5 mm headset jack: Device specification\n\nTo achieve compatibility with the [3.5 mm plug\nheadset specification](/docs/core/interaction/accessories/headset/plug-headset-spec), devices that include a 4 conductor 3.5 mm audio jack\nmust meet the following specifications. For Android compatibility requirements,\nrefer to the *Analog audio ports* section of the [Android CDD](/docs/compatibility/android-cdd#7_8_audio).\n\nFunctions\n---------\n\n| Function | Device Support |\n|------------------|----------------|\n| Stereo Audio Out | Required |\n| Audio in (Mic) | Required |\n| Ground | Required |\n\nSoftware mapping\n----------------\n\n| Function | Device Support | Description |\n|-----------------------------|--------------------------|---------------------------------------------------------------------|\n| Function A control event | Required | Input event: `KEY_MEDIA` Android key: `KEYCODE_MEDIA_PLAY_PAUSE` |\n| Function D control event | Required | Input event: `KEY_VOICECOMMAND` Android key: `KEYCODE_VOICE_ASSIST` |\n| Function B control event | Required | Input event: `KEY_VOLUMEUP` Android key: `VOLUME_UP` |\n| Function C control event | Required | Input event: `KEY_VOLUMEDOWN` Android key: `VOLUME_DOWN` |\n| Headset insertion detection | Required | Input event: `SW_JACK_PHYSICAL_INSERT 7` |\n| Headset type detection | Mic | Input event: `SW_MICROPHONE_INSERT 4` |\n| Headset type detection | No Mic | Input event: `SW_HEADPHONE_INSERT 2` |\n| Headset speaker impedance | Required Headphone (low) | Failure mode is to indicate headphones so limitation would be on |\n| Headset speaker impedance | Required Line In (high) | Input event: `SW_LINEOUT_INSERT 6` |\n\nMechanical\n----------\n\n| Function | Device Support | Description |\n|--------------------------|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 4 conductor 3.5 mm jack | Required | |\n| CTIA pinout order (LRGM) | Required | 3 Pin \\& Mono Plug Compatible |\n| OMTP pinout order (LRMG) | Optional but strongly recommended | |\n| Headset detect sequence | Required | Plug insert notification must be triggered only after all contacts on plug are touching their relevant segments (this prevents unreliable headset detection due to slow insertion. |\n\nElectrical\n----------\n\n### General\n\n| Function | Device Support | Notes |\n|------------------------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Maximum output voltage drive | 150mV | \\\u003e= 150mV on 32 ohm Test conditions: EN50332-2 |\n| Mic bias resistance | Required | Flexible on detection method used and microphone bias resistor selection. Require that all button resistance value ranges specified below be detected and related to their respective function |\n| Mic bias voltage | 1.8V - 2.9V | To guarantee compatibility to common microphone capsules. |\n\n### Function impedance and threshold detection\n\nDevices must detect the following resistor ladder on the accessories. The\naccessories will be tested to the standardized circuit diagram in the diagram\nillustrated earlier (Reference Headset Test Circuit) where the total impedance\nis measured from MIC terminal to GND when a button is pressed with 2.2V mic\nbias applied through 2.2 kOhm resistor. This is the same effective resistance\nas the button detection circuit with the microphone in parallel with the button\nresistor.\n\n| Button Impedance Level | Device Support | Notes |\n|------------------------|----------------|----------------|\n| 70 ohm or less | Required | \\[Function A\\] |\n| 110 - 180 ohm | Required | \\[Function D\\] |\n| 210 - 290 ohm | Required | \\[Function B\\] |\n| 360 - 680 ohm | Required | \\[Function C\\] |\n\n| Headset Speaker Impedance Level | Device Support | Notes |\n|---------------------------------|----------------|---------------------------|\n| Low Threshold Detection | Required | Headphone (low) \\\u003c 1 Kohm |\n| High Threshold Detection | Required | Line In (high) \\\u003e 5 Kohm |\n\n| 4-Segment Plug Detection Resistance (between 3rd and 4th segment) | Device Support | Notes |\n|-------------------------------------------------------------------|----------------|-------------------------|\n| 4-Segment Plug Threshold | Required | Resistance \\\u003e= 100 ohms |\n| 3-Segment Plug Threshold | Required | Resistance \\\u003c 100 ohms |"]]