自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
3.5 毫米耳机:配件规范
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本文介绍了有关使 3.5 毫米插头耳机在整个 Android 生态系统中实现一致功能的要求。
有关其他要求,设备制造商应参考 3.5 毫米耳机插孔规范和 Android 兼容性定义文档 (CDD)。
函数
函数 |
配件支持 |
立体声音频输出 |
必需 |
音频输入(麦克风) |
必需 |
接地 |
必需 |
控制功能映射
控制功能 |
配件支持 |
说明 |
功能 A |
必需 |
播放/暂停/接挂机(短按)、触发辅助(长按)、下一个(双击) |
功能 B |
可选 |
调高音量 |
功能 C |
可选 |
Vol- |
功能 D |
可选 |
保留(Pixel 设备使用此功能来启动语音命令)
|
按钮的功能分配如下:
- 所有单按钮耳机都必须实现功能 A。
- 多按钮耳机必须按照以下模式实现相关功能:
- 2 个功能:A 和 D
- 3 个功能:A、B、C
- 4 个功能:A、B、C、D
机械
函数 |
配件支持 |
备注 |
4 段式 3.5 毫米插头 |
必需 |
参考号:EIAJ-RC5325A 标准 |
CTIA 引脚顺序 (LRGM) |
必需 |
对 OMTP 引脚有法律要求的区域除外 |
OMTP 引脚顺序 (LRMG) |
可选 |
|
麦克风 |
必需 |
在操作耳机控件时不能被遮挡 |
电气
函数 |
配件支持 |
说明 |
耳机扬声器阻抗 |
16 欧姆或更高 |
推荐 32 - 300 欧姆 |
麦克风直流电阻 |
1000 欧姆或更高 |
麦克风特性必须符合最新 Android CDD 中第 5.4 节“音频录制”的要求 |
控制功能等效阻抗* |
0 欧姆 |
[功能 A] 播放/暂停/接挂机 |
240 欧姆 +/- 1% 电阻 |
[功能 B] |
470 欧姆 ± 1% 电阻 |
[功能 C] |
135 欧姆 +/- 1% 电阻 |
[功能 D] |
*按下按钮(通过 2.2 千欧姆电阻施加 2.2 伏麦克风偏置电压)时从正极麦克风端子到 GND 的总阻抗
在下图中,按钮 A 对应功能 A,按钮 B 对应功能 B,依此类推。
参考耳机测试电路
下图“参考耳机测试电路 1”显示了 4 段式插头的 CTIA 引脚。对于 OMTP 引脚,交换 MIC 段和 GND 段的位置。
图 1. 参考耳机测试电路 1
下图“参考耳机测试电路 2”显示了如何更改实际电阻值 (R1 - R4) 以符合本规范。
图 2. 参考耳机测试电路 2
与麦克风平行的按钮的实际电阻 (R1 - R4) 基于麦克风套管电阻 (Rmic) 和等效阻抗值 (ReqA - ReqD)。使用以下公式:
ReqN=(Rmic*Rn)/(Rmic+Rn)
其中,Rn 是按钮的实际电阻,ReqN 是该按钮的等效阻抗值(已提供),Rmic 是麦克风阻抗值。
以上示例假设麦克风阻抗 (Rmic) 为 5 千欧姆;为达到 135 欧姆的等效 R4 阻抗 (ReqD),实际电阻值 (R4) 必须为 139 欧姆。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","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"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# 3.5 mm headset: Accessory specification\n\nThis article specifies requirements for 3.5 mm plug headsets to\nfunction uniformly across the Android ecosystem.\n\nDevice manufacturers should consult the [3.5 mm\njack specification](/docs/core/interaction/accessories/headset/jack-headset-spec) and the\n[Android Compatibility Definition Document](/docs/compatibility/android-cdd)\n(CDD) for additional requirements.\n\nFunctions\n---------\n\n| Function | Accessory Support |\n|------------------|-------------------|\n| Stereo Audio Out | Required |\n| Audio in (Mic) | Required |\n| Ground | Required |\n\nControl-function mapping\n------------------------\n\n| Control Function | Accessory Support | Description |\n|------------------|-------------------|---------------------------------------------------------------------------------|\n| Function A | Required | Play/pause/hook (Short Press), Trigger Assist (Long Press), Next (Double Press) |\n| Function B | Optional | Vol+ |\n| Function C | Optional | Vol- |\n| Function D | Optional | Reserved (Pixel devices use this to launch voice commands) |\n\nAssign functions to buttons as follows:\n\n- All one-button headsets must implement Function A.\n- Headsets with multiple buttons must implement functions according to the following pattern:\n - 2 functions: A and D\n - 3 functions: A, B, C\n - 4 functions: A, B, C, D\n\nMechanical\n----------\n\n| Function | Accessory Support | Notes |\n|--------------------------|-------------------|-----------------------------------------------------------|\n| 4 conductor 3.5 mm plug | Required | Ref: EIAJ-RC5325A standard |\n| CTIA pinout order (LRGM) | Required | Except in regions with legal requirements for OMTP pinout |\n| OMTP pinout order (LRMG) | Optional | |\n| Microphone | Required | Must not be obstructed when operating headset controls |\n\nElectrical\n----------\n\n| Function | Accessory Support | Description |\n|-----------------------------------------|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Ear speaker impedance | 16 ohms or higher | Recommend 32 - 300 ohms |\n| Mic DC resistance | 1000 ohms or higher | Mic characteristics must be compliant with section 5.4 *Audio Recording* of the current [Android CDD](/docs/compatibility/android-cdd#5_4_audio_recording) |\n| Control Function Equivalent impedance\\* | 0 ohm | \\[Function A\\] Play/Pause/Hook |\n| Control Function Equivalent impedance\\* | 240 ohm +/- 1% resistance | \\[Function B\\] |\n| Control Function Equivalent impedance\\* | 470 ohm +/- 1% resistance | \\[Function C\\] |\n| Control Function Equivalent impedance\\* | 135 ohm +/- 1% resistance | \\[Function D\\] |\n\n*\\*Total impedance from positive mic terminal to GND when button is\npressed with 2.2 V mic bias applied through 2.2 kOhm resistor*\n\nIn the following diagrams, Button A maps to Function A, Button B to\nFunction B, and so on.\n\nReference headset test circuits\n-------------------------------\n\nThe following diagram for Reference Headset Test Circuit 1 shows the CTIA\npinout for a 4-segment plug. For the OMTP pinout, switch the positions of the\nMIC and GND segments.\n\n**Figure 1.** Reference headset test circuit 1\n\nThe following diagram for Reference Headset Test Circuit 2 shows how the\nactual resistor values (R1 - R4) are altered to meet this specification.\n\n**Figure 2.** Reference headset test circuit 2\n\nThe actual resistance of the buttons parallel with the microphone (R1-R4) is\nbased on the microphone capsule resistance (Rmic) and the equivalent impedance\nvalues (ReqA-ReqD). Use the following formula:\n\n*Req~N~=(R~mic~\\*R~n~)/(R~mic~+R~n~)*\n\nWhere R*n* is the actual resistance of a button, Req*N* is the\nequivalent impedance value of that button (provided), and Rmic is the\nmicrophone impedance value.\n\nThe example above assumes a 5 kohm microphone impedance (Rmic); to achieve\nan equivalent R4 impedance of 135 ohm (ReqD), the actual resistor value (R4)\nmust be 139 ohms."]]