The embodiment of the invention provides a terminal and a method for compatible an intercom earphone and a stereo earphone. The terminal comprises an earphone interface and a CPU, wherein the CPU comprises a detection module, a determination module and a control module. The working method includes: detecting a headset interface at a preset level channel terminal; according to the preset level to determine the channel terminal into the headset headset interface for intercom headset or stereo headset; when the headset is plugged in interface headset intercom headset, intercom button control terminal connected to control the preset channel terminal and CPU; when the headset is plugged in interface headset for stereo headset, the corresponding channel terminal connected to control the preset channel terminal and CPU. The proposal provided by the embodiment of the invention effectively reduces the earphone cost and realizes the compatibility and universal use of the intercommunication earphone and the stereo earphone at the terminal.
【技术实现步骤摘要】
【技术保护点】
1.一种终端,包括:耳机接口和CPU,其特征在于:所述CPU包括:检测模块、确定模块和控制模块;所述检测模块用于检测耳机接口处预设声道端子的电平;所述确定模块用于根据所述预设声道端子的电平确定插入耳机接口的耳机为对讲耳机或者立体声耳机;所述控制模块用于当所述确定模块确定插入耳机接口的耳机为对讲耳机时,控制所述预设声道端子与CPU的对讲按键控制端子接通;当所述确定模块确定插入耳机接口的耳机为立体声耳机时,控制所述预设声道端子与CPU的相应声道端子接通。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。