WO2018023927A1 - 耳机接口的复用方法及装置 - Google Patents
耳机接口的复用方法及装置 Download PDFInfo
- Publication number
- WO2018023927A1 WO2018023927A1 PCT/CN2016/112316 CN2016112316W WO2018023927A1 WO 2018023927 A1 WO2018023927 A1 WO 2018023927A1 CN 2016112316 W CN2016112316 W CN 2016112316W WO 2018023927 A1 WO2018023927 A1 WO 2018023927A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- earphone
- interface
- audio
- speaker
- playback device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers
Definitions
- the present invention relates to the field of audio playback devices, and in particular, to a method and an apparatus for multiplexing a headphone interface.
- the audio output of the audio playback device includes, in addition to its own speaker or speaker, an external earphone and an audio playback device that are connected to the earphone and the RCA type (Lotus plug) analog audio output interface.
- the current RCA-type analog audio output interface adopts side-out or back-out methods in audio playback devices such as TVs, which not only occupies equipment panel space, but also increases production. Cost, and also affect the aesthetics of the product.
- the frequency of the user using the headphone jack and the RCA type analog audio output interface is not high, and the probability of using both interfaces at the same time is very small.
- the main purpose of the present invention is to provide a multiplexing method and device for a headphone interface, which aims to multiplex the headphone interface into an RCA type analog audio output interface, which solves the high production cost of the RCA type analog audio output interface in the prior art, and A problem that affects the aesthetics of the product.
- the present invention provides a multiplexing method for a headset interface, where the method includes:
- the earphone insertion detection signal changes, determining that the earphone interface has a headphone device access, and setting a speaker of the audio playback device to a mute state;
- the earphone insertion detection signal remains unchanged, it is determined that the earphone interface has no device access or has an audio adapter access, and the speaker of the audio playback device is kept in an external state.
- determining that the earphone interface has the earphone device access specifically includes:
- the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a first period of time, and the first time period is less than a preset time threshold. Then, it is determined that the earphone interface has a headphone device access.
- the method further includes:
- the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a second period of time, and the second time period is greater than or equal to a preset position.
- the time threshold is set to set the speaker of the audio playback device to an external state.
- the audio adapter comprises two ports, one end is a headphone jack and the other end is an RCA type analog audio output interface.
- the method further includes:
- the volume gain output by the audio output interface is set to a preset gain.
- the present invention further provides a multiplexing device for a headphone interface, the device comprising:
- a detecting module configured to detect whether a headphone insertion detection signal in the earphone interface of the audio playing device changes
- a first setting module configured to: if the earphone insertion detection signal changes, determine that the earphone interface has a headphone device access, and set a speaker of the audio playback device to a mute state;
- a second setting module if the earphone insertion detection signal remains unchanged, determining that the earphone interface has no device access or has an audio adapter access, and the speaker of the audio playback device is kept externally status.
- the first setting module comprises:
- a determining module configured to: if the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a first period of time, and the first time period is less than a pre Setting a time threshold determines that the earphone interface has a headphone device access.
- the first setting module further includes:
- a third setting module configured to: after determining that the earphone interface has a headphone device access, if the earphone insertion detection signal changes from a high level to a low level, the low level continues for a second period of time Returning to a high level, and the second time period is greater than or equal to the preset time threshold, the speaker of the audio playback device is set to an external state.
- the audio adapter comprises two ports, one end is a headphone jack and the other end is an RCA type analog audio output interface.
- the device further comprises:
- a fourth setting module configured to set a volume gain output by the audio output interface to an accepted volume control if the speaker of the audio playback device is in a mute state
- a fifth setting module configured to set a volume gain output by the audio output interface to a preset gain if the speaker of the audio playback device is in an external state.
- the method and device for multiplexing a headphone interface include: detecting whether a headphone insertion detection signal in an earphone interface of an audio playback device changes; if the earphone insertion detection signal changes, determining the earphone interface Having a headphone device accessing, and setting a speaker of the audio playback device to a mute state; if the earphone insertion detection signal remains unchanged, determining that the earphone interface has no device access or has an audio adapter access, And keeping the speaker of the audio playback device in an external state.
- the earphone interface of the audio playing device can be connected to the earphone and can be connected to the RCA type analog audio output interface, that is, the earphone interface of the audio playing device can replace the RCA type analog audio output interface, thereby achieving the purpose of reducing production cost and improving product appearance. .
- FIG. 1 is a schematic flow chart of a first embodiment of a method for multiplexing a headphone interface according to the present invention
- FIG. 2 is a circuit diagram of a headphone jack of the present invention
- Figure 3 is a circuit diagram of the earphone connector of the present invention.
- FIG. 4 is a schematic structural view of an audio adapter of the present invention.
- FIG. 5 is a schematic flow chart of a second embodiment of a method for multiplexing a headphone interface according to the present invention.
- FIG. 6 is a schematic diagram of functional modules of a first embodiment of a multiplexing device for a headphone interface of the present invention
- FIG. 7 is a schematic diagram of functional modules of a second embodiment of a multiplexing device for a headphone jack of the present invention.
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a multiplexing method of a headphone interface according to the present invention.
- the multiplexing method of the earphone interface includes:
- step S10 it is detected whether the earphone insertion detection signal in the earphone interface of the audio playback device changes.
- FIG 2 is a circuit diagram of the headphone jack of the present invention.
- the earphone interface includes five pins, and the five pins respectively correspond to five function signals, specifically: the “1” pin corresponds to the earphone insertion detection signal “HP_DET”, and the “2” pin corresponds to the right channel.
- the signal “AUDIO_R”, the “3” pin corresponds to the ground signal “GND”, and the "4" and "5" pins correspond to the left channel signal "AUDIO_L”.
- the earphone interface further includes two built-in resistors R1, R2 and a built-in capacitor C1, and a power terminal "VDD" and a ground terminal "GND”.
- the headset insertion detection signal “HP_DET” when the headset interface is not connected, the headset insertion detection signal “HP_DET” is kept at a high level, and after the device is inserted, the headset inserts the detection signal according to the type of the access device. Will change or remain the same.
- Step S20 If the earphone insertion detection signal changes, it is determined that the earphone interface has a headphone device access, and the speaker of the audio playback device is set to a mute state.
- the earphone insertion detection signal changes from a high level to a low level, and at this time, it is determined that the earphone interface has a headphone device access. And setting the speaker of the audio playback device to a mute state.
- the earphone insertion detection signal is still at a high level.
- the earphone insertion detection signal may change, and if the change of the earphone insertion detection signal is detected, it may be determined that the earphone interface has the earphone device access, and The speaker of the audio playback device is set to a mute state.
- the audio playback device while the speaker of the audio playback device is set to the mute state, if the audio playback device has an audio signal, the audio signal is output to the earphone for playing.
- FIG. 3 is a schematic structural diagram of the earphone connector of the present invention.
- the "1&3" pin of the three-segment earphone connector corresponds to the ground signal "END ground”
- the "2" pin corresponds to the right channel signal “R channel”
- the "4&5" pin corresponds to the left channel signal "L sound”. Road”.
- the "1&3" pin of the earphone connector is correspondingly connected with the "3" pin of the earphone interface
- the "2" pin of the earphone connector is correspondingly connected to the “2” pin of the earphone interface
- the "4&5" pin of the earphone connector is correspondingly connected with the "4" and "5" pins of the earphone interface.
- the "1" pin in the earphone interface shown in Figure 2 will be high after the three-segment earphone connector is connected.
- the "1" pin is grounded, so the headphone insertion detection signal "HP_DET" changes from a high level to a low level.
- the "1" pin of the four-segment earphone connector shown in FIG. 3 is connected to the "3" pin through the "answer key", and the "3" pin corresponds to the ground signal "END", and the "2" pin corresponds to The right channel signal "AUDIO_R”, the "4&5" pin corresponds to the left channel signal “AUDIO_L”.
- the "1" pin also corresponds to the "MIC” signal that is connected to the headphones.
- the "1&3" pin of the earphone connector is correspondingly connected with the "3" pin of the earphone interface
- the "2" pin of the earphone connector is correspondingly connected to the “2” pin of the earphone interface
- the "4&5" pin of the earphone connector is correspondingly connected with the "4" and "5" pins of the earphone interface.
- Step S30 if the earphone insertion detection signal remains unchanged, it is determined that the earphone interface has no device access or has an audio adapter access, and the speaker of the audio playback device is kept in an external state.
- the speaker of the audio playback device remains in an external state.
- the audio signal is externally discharged through the built-in speaker, and after the audio adapter is connected, the earphone insertion detection signal remains unchanged.
- the speaker of the audio playback device remains in the external state, and the audio signal of the audio playback device is simultaneously output to the external speaker device through the audio adapter.
- FIG. 4 is a schematic structural diagram of the audio adapter of the present invention.
- the audio adapter includes two ports, one end is a four-segment standard earphone plug, and the other end is a standard RCA seat sub-interface, that is, an RCA type analog audio output interface.
- the four-segment standard earphone plug is a four-segment earphone connector as shown in FIG.
- the “1” pin is an idle pin
- the “3” pin corresponds to a ground signal “END”
- the “2” pin corresponds to The right channel signal "AUDIO_R”
- the "4" pin corresponds to the left channel signal "AUDIO_L”.
- the standard RCA sub-interface includes two ports, one port is connected to the right channel signal “AUDIO_R” corresponding to the “2” pin of the earphone connector, and the other port is connected to the left end of the “4” pin of the earphone connector.
- the above embodiment detects whether the earphone insertion detection signal in the earphone interface of the audio playback device changes; if the earphone insertion detection signal changes, it is determined that the earphone interface has the earphone device access, and the audio playback device is The speaker is set to a mute state; if the earphone insertion detection signal remains unchanged, it is determined that the earphone interface has no device access or has an audio adapter access, and the speaker of the audio playback device is kept in an external state. .
- the earphone interface of the audio playing device can be connected to the earphone and can be connected to the RCA type analog audio output interface, that is, the earphone interface of the audio playing device can replace the RCA type analog audio output interface, thereby achieving the purpose of reducing production cost and improving product appearance. .
- FIG. 5 is a schematic flowchart diagram of a second embodiment of a multiplexing method of a headphone interface according to the present invention. The method includes:
- step S10 it is detected whether the earphone insertion detection signal in the earphone interface of the audio playback device changes.
- Step S20 If the earphone insertion detection signal changes, it is determined that the earphone interface has a headphone device access, and the speaker of the audio playback device is set to a mute state.
- the earphone insertion detection signal is still at a high level.
- the earphone insertion detection signal changes, and if the earphone insertion detection signal changes from a high level to a low level, the low level continues for the first time. After the segment is restored to a high level, and the first time period is less than a preset time threshold, it is determined that the device accessed by the earphone interface is a headset.
- the time threshold is 3 seconds
- the earphone insertion detection signal changes from a high level to a low level, and the low level continues for less than 3 seconds and then returns to a high level, then the determination is made.
- the headphone jack has access to the headphone device.
- Step S40 if the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a second period of time, and the second time period is greater than or equal to a pre-
- the time threshold is set to set the speaker of the audio playback device to an external state.
- the earphone insertion detection signal changes from a high level to a low level
- the low level returns to a high level after continuing for a second period of time.
- the second time period is greater than or equal to the preset time threshold, and the speaker of the audio playing device is set to an external state.
- the audio playing device is in a mute state. In the case that the user needs to pull out the earphone, the user needs to set the audio playing device to the external state, and only needs to press and hold the answering button of the earphone more than 3. In seconds, the audio player will unmute the state to the external state.
- the volume gain output by the audio output interface is set to the subject volume control; if the speaker of the audio playback device is in the external state, the The volume gain of the audio output interface output is set to the preset gain.
- the above embodiment detects whether the earphone insertion detection signal in the earphone interface of the audio playback device changes; if the earphone insertion detection signal changes, it is determined that the earphone interface has the earphone device access, and the audio playback device is The speaker is set to a mute state; if the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a second period of time, and the second time period is greater than Or equal to the preset time threshold, the speaker of the audio playback device is set to the external release state.
- the earphone interface of the audio playing device can be connected to the earphone and can be connected to the RCA type analog audio output interface, that is, the earphone interface of the audio playing device can replace the RCA type analog audio output interface, thereby achieving the purpose of reducing production cost and improving product appearance. .
- FIG. 6 is a schematic diagram of functional modules of a first embodiment of a multiplexing device for a headphone jack of the present invention.
- the multiplexing device 300 of the earphone interface includes: a detecting module 310, a first setting module 320, and a second setting module 330. among them:
- the detecting module 310 is configured to detect whether a headphone insertion detection signal in the earphone interface of the audio playing device changes.
- FIG 2 is a circuit diagram of the headphone jack of the present invention.
- the earphone interface includes five pins, and the five pins respectively correspond to five function signals, specifically: the “1” pin corresponds to the earphone insertion detection signal “HP_DET”, and the “2” pin corresponds to the right channel.
- the signal “AUDIO_R”, the “3” pin corresponds to the ground signal “GND”, and the "4" and "5" pins correspond to the left channel signal "AUDIO_L”.
- the earphone interface further includes two built-in resistors R1, R2 and a built-in capacitor C1, and a power terminal "VDD" and a ground terminal "GND”.
- the headset insertion detection signal “HP_DET” when the headset interface is not connected, the headset insertion detection signal “HP_DET” is kept at a high level, and after the device is inserted, the headset inserts the detection signal according to the type of the access device. Will change or remain the same.
- the first setting module 320 is configured to: if the earphone insertion detection signal changes, determine that the earphone interface has a headphone device access, and set the speaker of the audio playback device to a mute state.
- the earphone insertion detection signal changes from a high level to a low level, and at this time, it is determined that the earphone interface has a headphone device access. And setting the speaker of the audio playback device to a mute state.
- the earphone insertion detection signal is still at a high level.
- the earphone insertion detection signal may change, and if the change of the earphone insertion detection signal is detected, it may be determined that the earphone interface has the earphone device access, and The speaker of the audio playback device is set to a mute state.
- the audio playback device while the speaker of the audio playback device is set to the mute state, if the audio playback device has an audio signal, the audio signal is output to the earphone for playing.
- FIG. 3 is a schematic structural diagram of the earphone connector of the present invention.
- the "1&3" pin of the three-segment earphone connector corresponds to the ground signal "END ground”
- the "2" pin corresponds to the right channel signal “R channel”
- the "4&5" pin corresponds to the left channel signal "L sound”. Road”.
- the "1&3" pin of the earphone connector is correspondingly connected with the "3" pin of the earphone interface
- the "2" pin of the earphone connector is correspondingly connected to the “2” pin of the earphone interface
- the "4&5" pin of the earphone connector is correspondingly connected with the "4" and "5" pins of the earphone interface.
- the "1" pin in the earphone interface shown in Figure 2 will be high after the three-segment earphone connector is connected.
- the "1" pin is grounded, so the headphone insertion detection signal "HP_DET" changes from a high level to a low level.
- the "1" pin of the four-segment earphone connector shown in FIG. 3 is connected to the "3" pin through the "answer key", and the "3" pin corresponds to the ground signal "END", and the "2" pin corresponds to The right channel signal "AUDIO_R”, the "4&5" pin corresponds to the left channel signal “AUDIO_L”.
- the "1" pin also corresponds to the "MIC” signal that is connected to the headphones.
- the "1&3" pin of the earphone connector is correspondingly connected with the "3" pin of the earphone interface
- the "2" pin of the earphone connector is correspondingly connected to the “2” pin of the earphone interface
- the "4&5" pin of the earphone connector is correspondingly connected with the "4" and "5" pins of the earphone interface.
- a second setting module 330 configured to determine that the earphone interface has no device access or has an audio adapter access if the earphone insertion detection signal remains unchanged, and keep the speaker of the audio playback device external Put the status.
- the speaker of the audio playback device remains in an external state.
- the audio signal is externally discharged through the built-in speaker, and after the audio adapter is connected, the earphone insertion detection signal remains unchanged.
- the speaker of the audio playback device remains in the external state, and the audio signal of the audio playback device is simultaneously output to the external speaker device through the audio adapter.
- FIG. 4 is a schematic structural diagram of the audio adapter of the present invention.
- the audio adapter includes two ports, one end is a four-segment standard earphone plug, and the other end is a standard RCA seat sub-interface, that is, an RCA type analog audio output interface.
- the four-segment standard earphone plug is a four-segment earphone connector as shown in FIG.
- the “1” pin is an idle pin
- the “3” pin corresponds to a ground signal “END”
- the “2” pin corresponds to The right channel signal "AUDIO_R”
- the "4" pin corresponds to the left channel signal "AUDIO_L”.
- the standard RCA sub-interface includes two ports, one port is connected to the right channel signal “AUDIO_R” corresponding to the “2” pin of the earphone connector, and the other port is connected to the left end of the “4” pin of the earphone connector.
- the multiplexing device 300 of the headset interface of the foregoing embodiment includes: a detecting module 310, configured to detect whether a headset insertion detection signal in the earphone interface of the audio playback device changes.
- the first setting module 320 is configured to: if the earphone insertion detection signal changes, determine that the earphone interface has a headphone device access, and set the speaker of the audio playback device to a mute state.
- a second setting module 330 configured to determine that the earphone interface has no device access or has an audio adapter access if the earphone insertion detection signal remains unchanged, and keep the speaker of the audio playback device external Put the status.
- the earphone interface of the audio playing device can be connected to the earphone and can be connected to the RCA type analog audio output interface, that is, the earphone interface of the audio playing device can replace the RCA type analog audio output interface, thereby achieving the purpose of reducing production cost and improving product appearance. .
- FIG. 7 is a schematic diagram of functional modules of a second embodiment of a multiplexing device for a headphone jack of the present invention.
- the multiplexing device 300 of the earphone interface includes: a detecting module 310, a first setting module 320, and a third setting module 340. among them,
- the detecting module 310 is configured to detect whether a headphone insertion detection signal in the earphone interface of the audio playing device changes.
- the first setting module 320 is configured to: if the earphone insertion detection signal changes, determine that the earphone interface has a headphone device access, and set the speaker of the audio playback device to a mute state.
- the earphone insertion detection signal is still at a high level.
- the earphone insertion detection signal changes, and if the earphone insertion detection signal changes from a high level to a low level, the low level continues for the first time. After the segment is restored to a high level, and the first time period is less than a preset time threshold, it is determined that the device accessed by the earphone interface is a headset.
- the time threshold is 3 seconds
- the earphone insertion detection signal changes from a high level to a low level, and the low level continues for less than 3 seconds and then returns to a high level, then the determination is made.
- the headphone jack has access to the headphone device.
- a third setting module 340 configured to: if the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a second period of time, and the second time The segment is greater than or equal to the preset time threshold, and the speaker of the audio playback device is set to the external release state.
- the earphone insertion detection signal changes from a high level to a low level
- the low level returns to a high level after continuing for a second period of time.
- the second time period is greater than or equal to the preset time threshold, and the speaker of the audio playing device is set to an external state.
- the audio playing device is in a mute state. In the case that the user needs to pull out the earphone, the user needs to set the audio playing device to the external state, and only needs to press and hold the answering button of the earphone more than 3. In seconds, the audio player will unmute the state to the external state.
- the volume gain output by the audio output interface is set to the subject volume control; if the speaker of the audio playback device is in the external state, the The volume gain of the audio output interface output is set to the preset gain.
- the multiplexing device 300 of the headset interface of the foregoing embodiment includes: a detecting module 310, configured to detect whether a headset insertion detection signal in the earphone interface of the audio playback device changes.
- the first setting module 320 is configured to: if the earphone insertion detection signal changes, determine that the earphone interface has a headphone device access, and set the speaker of the audio playback device to a mute state.
- a third setting module 340 configured to: if the earphone insertion detection signal changes from a high level to a low level, the low level returns to a high level after continuing for a second period of time, and the second time The segment is greater than or equal to the preset time threshold, and the speaker of the audio playback device is set to the external release state.
- the earphone interface of the audio playing device can be connected to the earphone and can be connected to the RCA type analog audio output interface, that is, the earphone interface of the audio playing device can replace the RCA type analog audio output interface, thereby achieving the purpose of reducing production cost and improving product appearance. .
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
- Stereophonic Arrangements (AREA)
- Headphones And Earphones (AREA)
Abstract
本发明公开了一种耳机接口的复用方法,方法包括:检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。本发明还公开了一种耳机接口的复用装置。本发明所公开的耳机接口的复用方法及装置,实现了音频播放设备的耳机接口既可以接入耳机又可以接入RCA型模拟音频输出接口,即可以利用耳机接口代替RCA型模拟音频输出接口,实现了降低生产成本,提升产品美观的目的。
Description
技术领域
本发明涉及音频播放设备技术领域,尤其涉及一种耳机接口的复用方法及装置。
背景技术
当前,音频播放设备的声音输出除本身自带的喇叭或音箱外,大部分还包含耳机和RCA型(莲花插头)模拟音频输出接口接入的外部耳机和音频播放设备。随着消费者对产品外观超薄、好看、好用等极致要求,目前RCA型模拟音频输出接口在电视机等音频播放设备中采用侧出或背出等方式,不仅占用设备面板空间,增加生产成本,并且也影响产品的美观。同时,用户使用耳机接口和RCA型的模拟音频输出接口的频率不高,且同时使用这两种接口的概率更是非常小。
发明内容
本发明的主要目的在于提出一种耳机接口的复用方法及装置,旨在将耳机接口复用为RCA型模拟音频输出接口,解决现有技术中RCA型模拟音频输出接口生产成本较高,且影响产品美观的问题。
为实现上述目的,本发明提供一种耳机接口的复用方法,所述方法包括:
检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;
若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;
若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。
优选地,所述若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入具体包括:
若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第一时间段后又恢复为高电平,并且所述第一时间段小于预设的时间阈值,则确定所述耳机接口有耳机设备接入。
优选地,所述确定所述耳机接口有耳机设备接入之后还包括:
若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
优选地,所述音频转接器包括两个端口,一端为耳机接头,另一端为RCA型模拟音频输出接口。
优选地,所述方法还包括:
若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;
若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
此外,为实现上述目的,本发明还提供一种耳机接口的复用装置,所述装置包括:
检测模块,用于检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;
第一设置模块,用于若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;
第二设置模块,用于若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。
优选地,所述第一设置模块包括:
确定模块,用于若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第一时间段后又恢复为高电平,并且所述第一时间段小于预设的时间阈值,则确定所述耳机接口有耳机设备接入。
优选地,所述第一设置模块还包括:
第三设置模块,用于在确定所述耳机接口有耳机设备接入之后,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
优选地,所述音频转接器包括两个端口,一端为耳机接头,另一端为RCA型模拟音频输出接口。
优选地,所述装置还包括:
第四设置模块,用于若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;
第五设置模块,用于若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
本发明所提供的一种耳机接口的复用方法及装置,包括:检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。使得音频播放设备的耳机接口既可以接入耳机又可以接入RCA型模拟音频输出接口,即音频播放设备的耳机接口可以代替RCA型模拟音频输出接口,实现了降低生产成本,提升产品美观的目的。
附图说明
图1是本发明耳机接口的复用方法第一实施例的流程示意图;
图2是本发明耳机接口的电路示意图;
图3是本发明耳机接头的电路示意图;
图4是本发明音频转接器的结构示意图;
图5是本发明耳机接口的复用方法第二实施例的流程示意图;
图6是本发明耳机接口的复用装置第一实施例的功能模块示意图;
图7是本发明耳机接口的复用装置第二实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明,并且在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。
参照图1,图1是本发明耳机接口的复用方法第一实施例的流程示意图。所述耳机接口的复用方法包括:
步骤S10,检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化。
参照图2,图2是本发明耳机接口的电路示意图。其中,所述耳机接口包括5个引脚,这5个引脚分别对应5个功能信号,具体为:“1”引脚对应耳机插入检测信号“HP_DET”,“2”引脚对应右声道信号“AUDIO_R”,“3”引脚对应接地信号“GND”,“4”、“5”引脚对应左声道信号“AUDIO_L”。另外,所述耳机接口还包括两个内置电阻器R1、R2和一个内置电容器C1,以及电源端“VDD”与接地端“GND”。
本实施例中,所述耳机接口在没有设备接入时,所述耳机插入检测信号“HP_DET”保持为高电平,在有设备插入后,根据接入设备的类型,所述耳机插入检测信号会产生变化或者保持不变。
步骤S20,若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
本实施例中,若所述耳机接口有三段式耳机接头接入,则所述耳机插入检测信号会从高电平变为低电平,此时则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
若所述耳机接口有四段式耳机接头接入,所述耳机插入检测信号仍为高电平。其中,在按压四段式耳机的接听键时,所述耳机插入检测信号会产生变化,若检测到所述耳机插入检测信号产生变化,则可以确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
其中,在将所述音频播放设备的扬声器设置为静音状态的同时,若所述音频播放设备存在音频信号,则将该音频信号输出至耳机进行播放。
进一步地,为了更好的理解本实施例所提供的耳机接口的复用方法,参照图3,图3是本发明耳机接头的结构示意图。其中,三段式耳机接头的“1&3”引脚对应接地信号“END地”,“2”引脚对应右声道信号“R声道”,“4&5”引脚对应左声道信号“L声道”。
其中,当图3所示的三段式耳机接头接入图2所示的耳机接口后,所述耳机接头的“1&3”引脚与所述耳机接口的“3”引脚对应连接,所述耳机接头的“2”引脚与所述耳机接口的“2”引脚对应连接,所述耳机接头的“4&5”引脚与所述耳机接口的“4”、“5”引脚对应连接。
其中,由于三段式耳机接头的“1”、“3”引脚是连接在一起的,所以图2所示耳机接口中的“1”引脚会在三段式耳机接头接入后由高电平变为低电平,即将“1”引脚接地,故所述耳机插入检测信号“HP_DET”会由高电平变为低电平。
进一步地,图3所示的四段式耳机接头的“1”引脚通过“接听键”与“3”引脚连接,“3”引脚对应接地信号“END”,“2”引脚对应右声道信号“AUDIO_R”,“4&5”引脚对应左声道信号“AUDIO_L”。另外,“1”引脚还对应连接耳机的“MIC”信号。
其中,当图3所示的四段式耳机接头接入图2所示的耳机接口后,所述耳机接头的“1&3”引脚与所述耳机接口的“3”引脚对应连接,所述耳机接头的“2”引脚与所述耳机接口的“2”引脚对应连接,所述耳机接头的“4&5”引脚与所述耳机接口的“4”、“5”引脚对应连接。
其中,由于四段式耳机接头的“1”、“3”引脚之间是通过“接听键”连接在一起的,所以在未按压该“接听键”时,“1”、“3”引脚之间属于断路,故图2所示的“1”引脚对应的耳机插入检测信号“HP_DET”会保持高电平不变。在按压该“接听键”时,“1”、“3”引脚之间属于通路,所以图2所示的耳机接口中的“1”引脚会从耳机接头接入之前的高电平变为低电平,即将“1”引脚接地,故所述耳机插入检测信号“HP_DET”会由高电平变为低电平。
步骤S30,若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。
本实施例中,若所述耳机插入检测信号保持不变,则确定所述耳机接口没有设备接入或者有音频转接器接入,此时,所述音频播放设备的扬声器保持为外放状态。例如,所述音频播放设备的耳机接口在没有设备接入时,其音频信号会通过自带的扬声器外放,在接入音频转接器后,所述耳机插入检测信号会保持不变,所述音频播放设备的扬声器仍保持为外放状态,并且所述音频播放设备的音频信号同时会通过音频转接器输出至外接音箱设备。
进一步地,为了更好的理解本实施例所提供的耳机接口的复用方法,参照图4,图4是本发明音频转接器的结构示意图。所述音频转接器包括两个端口,一端为四段式标准耳机插头,另一端为标准RCA座子接口,即RCA型模拟音频输出接口。其中,所述四段式标准耳机插头为图3所示的四段式耳机接头,“1”引脚为闲置引脚,“3”引脚对应接地信号“END”,“2”引脚对应右声道信号“AUDIO_R”,“4”引脚对应左声道信号“AUDIO_L”。所述标准RCA座子接口包括两个端口,一个端口连接所述耳机接头“2”引脚对应的右声道信号“AUDIO_R”,另一个端口连接所述耳机接头“4”引脚对应的左声道信号“AUDIO_L”。
上述实施例通过检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。使得音频播放设备的耳机接口既可以接入耳机又可以接入RCA型模拟音频输出接口,即音频播放设备的耳机接口可以代替RCA型模拟音频输出接口,实现了降低生产成本,提升产品美观的目的。
参照图5,图5是本发明耳机接口的复用方法第二实施例的流程示意图。所述方法包括:
步骤S10,检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化。
步骤S20,若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
本实施例中,若所述耳机接口接入的是四段式耳机接头,则所述耳机插入检测信号仍为高电平。其中,在按压四段式耳机的接听键时,所述耳机插入检测信号会产生变化,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第一时间段后又恢复为高电平,并且所述第一时间段小于预设的时间阈值,则确定所述耳机接口接入的设备为耳机。例如:设所述时间阈值为3秒,如果所述耳机插入检测信号由高点平变为低电平,且该低电平持续的时间不足3秒后又恢复为高电平,则确定所述耳机接口有耳机设备接入。
步骤S40,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
其中,在确定所述耳机接口有耳机设备接入之后,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。例如,用户在接入耳机后,所述音频播放设备处于静音状态,在需要拔出耳机的情况下,用户需要将音频播放设备设置为外放状态,则只需要按住耳机的接听键超过3秒钟,则所述音频播放器就会取消静音状态设置为外放状态。
进一步地,若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
上述实施例通过检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。使得音频播放设备的耳机接口既可以接入耳机又可以接入RCA型模拟音频输出接口,即音频播放设备的耳机接口可以代替RCA型模拟音频输出接口,实现了降低生产成本,提升产品美观的目的。
参照图6,图6是本发明耳机接口的复用装置第一实施例的功能模块示意图。所述耳机接口的复用装置300包括:检测模块310,第一设置模块320,第二设置模块330。其中:
检测模块310,用于检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化。
参照图2,图2是本发明耳机接口的电路示意图。其中,所述耳机接口包括5个引脚,这5个引脚分别对应5个功能信号,具体为:“1”引脚对应耳机插入检测信号“HP_DET”,“2”引脚对应右声道信号“AUDIO_R”,“3”引脚对应接地信号“GND”,“4”、“5”引脚对应左声道信号“AUDIO_L”。另外,所述耳机接口还包括两个内置电阻器R1、R2和一个内置电容器C1,以及电源端“VDD”与接地端“GND”。
本实施例中,所述耳机接口在没有设备接入时,所述耳机插入检测信号“HP_DET”保持为高电平,在有设备插入后,根据接入设备的类型,所述耳机插入检测信号会产生变化或者保持不变。
第一设置模块320,用于若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
本实施例中,若所述耳机接口有三段式耳机接头接入,则所述耳机插入检测信号会从高电平变为低电平,此时则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
若所述耳机接口有四段式耳机接头接入,所述耳机插入检测信号仍为高电平。其中,在按压四段式耳机的接听键时,所述耳机插入检测信号会产生变化,若检测到所述耳机插入检测信号产生变化,则可以确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
其中,在将所述音频播放设备的扬声器设置为静音状态的同时,若所述音频播放设备存在音频信号,则将该音频信号输出至耳机进行播放。
进一步地,为了更好的理解本实施例所提供的耳机接口的复用装置,参照图3,图3是本发明耳机接头的结构示意图。其中,三段式耳机接头的“1&3”引脚对应接地信号“END地”,“2”引脚对应右声道信号“R声道”,“4&5”引脚对应左声道信号“L声道”。
其中,当图3所示的三段式耳机接头接入图2所示的耳机接口后,所述耳机接头的“1&3”引脚与所述耳机接口的“3”引脚对应连接,所述耳机接头的“2”引脚与所述耳机接口的“2”引脚对应连接,所述耳机接头的“4&5”引脚与所述耳机接口的“4”、“5”引脚对应连接。
其中,由于三段式耳机接头的“1”、“3”引脚是连接在一起的,所以图2所示耳机接口中的“1”引脚会在三段式耳机接头接入后由高电平变为低电平,即将“1”引脚接地,故所述耳机插入检测信号“HP_DET”会由高电平变为低电平。
进一步地,图3所示的四段式耳机接头的“1”引脚通过“接听键”与“3”引脚连接,“3”引脚对应接地信号“END”,“2”引脚对应右声道信号“AUDIO_R”,“4&5”引脚对应左声道信号“AUDIO_L”。另外,“1”引脚还对应连接耳机的“MIC”信号。
其中,当图3所示的四段式耳机接头接入图2所示的耳机接口后,所述耳机接头的“1&3”引脚与所述耳机接口的“3”引脚对应连接,所述耳机接头的“2”引脚与所述耳机接口的“2”引脚对应连接,所述耳机接头的“4&5”引脚与所述耳机接口的“4”、“5”引脚对应连接。
其中,由于四段式耳机接头的“1”、“3”引脚之间是通过“接听键”连接在一起的,所以在未按压该“接听键”时,“1”、“3”引脚之间属于断路,故图2所示的“1”引脚对应的耳机插入检测信号“HP_DET”会保持高电平不变。在按压该“接听键”时,“1”、“3”引脚之间属于通路,所以图2所示的耳机接口中的“1”引脚会从耳机接头接入之前的高电平变为低电平,即将“1”引脚接地,故所述耳机插入检测信号“HP_DET”会由高电平变为低电平。
第二设置模块330,用于若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。
本实施例中,若所述耳机插入检测信号保持不变,则确定所述耳机接口没有设备接入或者有音频转接器接入,此时,所述音频播放设备的扬声器保持为外放状态。例如,所述音频播放设备的耳机接口在没有设备接入时,其音频信号会通过自带的扬声器外放,在接入音频转接器后,所述耳机插入检测信号会保持不变,所述音频播放设备的扬声器仍保持为外放状态,并且所述音频播放设备的音频信号同时会通过音频转接器输出至外接音箱设备。
进一步地,为了更好的理解本实施例所提供的耳机接口的复用装置,参照图4,图4是本发明音频转接器的结构示意图。所述音频转接器包括两个端口,一端为四段式标准耳机插头,另一端为标准RCA座子接口,即RCA型模拟音频输出接口。其中,所述四段式标准耳机插头为图3所示的四段式耳机接头,“1”引脚为闲置引脚,“3”引脚对应接地信号“END”,“2”引脚对应右声道信号“AUDIO_R”,“4”引脚对应左声道信号“AUDIO_L”。所述标准RCA座子接口包括两个端口,一个端口连接所述耳机接头“2”引脚对应的右声道信号“AUDIO_R”,另一个端口连接所述耳机接头“4”引脚对应的左声道信号“AUDIO_L”。
上述实施例所述耳机接口的复用装置300包括:检测模块310,用于检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化。第一设置模块320,用于若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。第二设置模块330,用于若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。使得音频播放设备的耳机接口既可以接入耳机又可以接入RCA型模拟音频输出接口,即音频播放设备的耳机接口可以代替RCA型模拟音频输出接口,实现了降低生产成本,提升产品美观的目的。
参照图7,图7是本发明耳机接口的复用装置第二实施例的功能模块示意图。所述耳机接口的复用装置300包括:检测模块310,第一设置模块320,第三设置模块340。其中,
检测模块310,用于检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化。
第一设置模块320,用于若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。
本实施例中,若所述耳机接口接入的是四段式耳机接头,则所述耳机插入检测信号仍为高电平。其中,在按压四段式耳机的接听键时,所述耳机插入检测信号会产生变化,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第一时间段后又恢复为高电平,并且所述第一时间段小于预设的时间阈值,则确定所述耳机接口接入的设备为耳机。例如:设所述时间阈值为3秒,如果所述耳机插入检测信号由高点平变为低电平,且该低电平持续的时间不足3秒后又恢复为高电平,则确定所述耳机接口有耳机设备接入。
第三设置模块340,用于若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
其中,在确定所述耳机接口有耳机设备接入之后,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。例如,用户在接入耳机后,所述音频播放设备处于静音状态,在需要拔出耳机的情况下,用户需要将音频播放设备设置为外放状态,则只需要按住耳机的接听键超过3秒钟,则所述音频播放器就会取消静音状态设置为外放状态。
进一步地,若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
上述实施例所述耳机接口的复用装置300包括:检测模块310,用于检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化。第一设置模块320,用于若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态。第三设置模块340,用于若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。使得音频播放设备的耳机接口既可以接入耳机又可以接入RCA型模拟音频输出接口,即音频播放设备的耳机接口可以代替RCA型模拟音频输出接口,实现了降低生产成本,提升产品美观的目的。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (20)
- 一种耳机接口的复用方法,其特征在于,所述耳机接口的复用方法包括:检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。
- 根据权利要求1所述的耳机接口的复用方法,其特征在于,所述若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入具体包括:若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第一时间段后又恢复为高电平,并且所述第一时间段小于预设的时间阈值,则确定所述耳机接口有耳机设备接入。
- 根据权利要求1所述的耳机接口的复用方法,其特征在于,所述确定所述耳机接口有耳机设备接入之后还包括:若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
- 根据权利要求2所述的耳机接口的复用方法,其特征在于,所述确定所述耳机接口有耳机设备接入之后还包括:若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
- 根据权利要求1所述的耳机接口的复用方法,其特征在于,所述音频转接器包括两个端口,一端为耳机接头,另一端为RCA型模拟音频输出接口。
- 根据权利要求1所述的耳机接口的复用方法,其特征在于,将所述音频播放设备的扬声器设置为静音状态之后还包括:若所述音频播放设备存在音频信号,则将所述音频信号输出至所述耳机设备进行播放。
- 根据权利要求1所述的耳机接口的复用方法,其特征在于,所述耳机接口的复用方法还包括:若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 根据权利要求3所述的耳机接口的复用方法,其特征在于,所述耳机接口的复用方法还包括:若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 根据权利要求4所述的耳机接口的复用方法,其特征在于,所述耳机接口的复用方法还包括:若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 根据权利要求6所述的耳机接口的复用方法,其特征在于,所述耳机接口的复用方法还包括:若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 一种耳机接口的复用装置,其特征在于,所述耳机接口的复用装置包括:检测模块,用于检测音频播放设备耳机接口中的耳机插入检测信号是否发生变化;第一设置模块,用于若所述耳机插入检测信号发生变化,则确定所述耳机接口有耳机设备接入,并将所述音频播放设备的扬声器设置为静音状态;第二设置模块,用于若所述耳机插入检测信号保持不变,则确定所述耳机接口无设备接入或者有音频转接器接入,并将所述音频播放设备的扬声器保持为外放状态。
- 根据权利要求11所述的耳机接口的复用装置,其特征在于,所述第一设置模块包括:确定模块,用于若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第一时间段后又恢复为高电平,并且所述第一时间段小于预设的时间阈值,则确定所述耳机接口有耳机设备接入。
- 根据权利要求11所述的耳机接口的复用装置,其特征在于,所述第一设置模块还包括:第三设置模块,用于在确定所述耳机接口有耳机设备接入之后,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
- 根据权利要求12所述的耳机接口的复用装置,其特征在于,所述第一设置模块还包括:第三设置模块,用于在确定所述耳机接口有耳机设备接入之后,若所述耳机插入检测信号由高电平变为低电平,所述低电平在持续第二时间段后又恢复为高电平,并且所述第二时间段大于或等于预设的所述时间阈值,则将所述音频播放设备的扬声器设置为外放状态。
- 根据权利要求11所述的耳机接口的复用装置,其特征在于,所述音频转接器包括两个端口,一端为耳机接头,另一端为RCA型模拟音频输出接口。
- 根据权利要求11所述的耳机接口的复用装置,其特征在于,所述第一设置模块还用于:将所述音频播放设备的扬声器设置为静音状态之后,若所述音频播放设备存在音频信号,则将所述音频信号输出至所述耳机设备进行播放。
- 根据权利要求11所述的耳机接口的复用装置,其特征在于,所述装置还包括:第四设置模块,用于若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;第五设置模块,用于若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 根据权利要求13所述的耳机接口的复用装置,其特征在于,所述装置还包括:第四设置模块,用于若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;第五设置模块,用于若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 根据权利要求14所述的耳机接口的复用装置,其特征在于,所述装置还包括:第四设置模块,用于若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;第五设置模块,用于若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
- 根据权利要求16所述的耳机接口的复用装置,其特征在于,所述装置还包括:第四设置模块,用于若所述音频播放设备的扬声器处于静音状态,则将所述音频输出接口输出的音量增益设置为受主音量控制;第五设置模块,用于若所述音频播放设备的扬声器处于外放状态,则将所述音频输出接口输出的音量增益设置为预置增益。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610629942.5 | 2016-08-03 | ||
| CN201610629942.5A CN106231460B (zh) | 2016-08-03 | 2016-08-03 | 耳机接口的复用方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018023927A1 true WO2018023927A1 (zh) | 2018-02-08 |
Family
ID=57536512
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/112316 Ceased WO2018023927A1 (zh) | 2016-08-03 | 2016-12-27 | 耳机接口的复用方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106231460B (zh) |
| WO (1) | WO2018023927A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109871196A (zh) * | 2019-03-15 | 2019-06-11 | 维沃移动通信有限公司 | 移动终端及移动终端的控制方法 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106231460B (zh) * | 2016-08-03 | 2019-05-31 | 深圳Tcl数字技术有限公司 | 耳机接口的复用方法及装置 |
| CN107371078B (zh) * | 2017-06-28 | 2019-10-15 | 维沃移动通信有限公司 | 一种移动终端及耳机 |
| CN115550827A (zh) * | 2022-10-21 | 2022-12-30 | 北京朝歌数码科技股份有限公司 | Rca同轴传输信号端插拔状态检测装置、检测方法 |
| CN118900381B (zh) * | 2024-06-28 | 2025-07-25 | 荣耀终端股份有限公司 | 音频播放方法、电子设备及芯片系统 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101610439A (zh) * | 2008-06-19 | 2009-12-23 | 鸿富锦精密工业(深圳)有限公司 | 电子装置 |
| US7780478B2 (en) * | 2007-06-28 | 2010-08-24 | Apple Inc. | Apparatus and methods for connecting two electrical devices together |
| CN202310062U (zh) * | 2011-09-02 | 2012-07-04 | 广东欧珀移动通信有限公司 | 一种兼容三段式耳机插入检测电路 |
| CN106231460A (zh) * | 2016-08-03 | 2016-12-14 | 深圳Tcl数字技术有限公司 | 耳机接口的复用方法及装置 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201869241U (zh) * | 2010-10-22 | 2011-06-15 | 蒲业臣 | 通讯设备音频接口 |
| CN202197393U (zh) * | 2011-08-03 | 2012-04-18 | 深圳市金康特通讯技术有限公司 | 一种传感器和耳机共用的耳机接口及移动终端 |
| CN103260108A (zh) * | 2012-02-20 | 2013-08-21 | 深圳富泰宏精密工业有限公司 | 实现耳机兼容的电子装置及方法 |
| CN204836549U (zh) * | 2015-07-31 | 2015-12-02 | 南京信息工程大学 | 一种多功能音频转接线 |
-
2016
- 2016-08-03 CN CN201610629942.5A patent/CN106231460B/zh active Active
- 2016-12-27 WO PCT/CN2016/112316 patent/WO2018023927A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7780478B2 (en) * | 2007-06-28 | 2010-08-24 | Apple Inc. | Apparatus and methods for connecting two electrical devices together |
| CN101610439A (zh) * | 2008-06-19 | 2009-12-23 | 鸿富锦精密工业(深圳)有限公司 | 电子装置 |
| CN202310062U (zh) * | 2011-09-02 | 2012-07-04 | 广东欧珀移动通信有限公司 | 一种兼容三段式耳机插入检测电路 |
| CN106231460A (zh) * | 2016-08-03 | 2016-12-14 | 深圳Tcl数字技术有限公司 | 耳机接口的复用方法及装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109871196A (zh) * | 2019-03-15 | 2019-06-11 | 维沃移动通信有限公司 | 移动终端及移动终端的控制方法 |
| CN109871196B (zh) * | 2019-03-15 | 2022-08-02 | 维沃移动通信有限公司 | 移动终端及移动终端的控制方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106231460B (zh) | 2019-05-31 |
| CN106231460A (zh) | 2016-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021162267A1 (en) | Apparatus and method for converting audio output | |
| WO2015194693A1 (ko) | 영상 표시 기기 및 그의 동작 방법 | |
| WO2014180023A1 (zh) | 一种利用电子设备的电源向anc耳机供电的方法及设备 | |
| WO2017177524A1 (zh) | 音视频同步播放的方法及装置 | |
| WO2017036209A1 (zh) | 基于智能电视的音频数据播放方法、智能电视及系统 | |
| WO2017084280A1 (zh) | 音响控制方法和装置 | |
| WO2017188648A1 (ko) | 이어셋 및 그 제어 방법 | |
| WO2021029447A1 (ko) | 디스플레이 장치 및 그의 동작 방법 | |
| WO2021145659A1 (en) | Audio output device and method for controlling output speed of audio data thereof | |
| WO2018028124A1 (zh) | 电视机及其信号源的切换方法 | |
| WO2022030857A1 (ko) | 오디오 신호 처리 장치 및 그 동작 방법 | |
| WO2021194096A1 (ko) | 하우징 디바이스 | |
| WO2019114255A1 (zh) | 语音采集方法、遥控器及计算机可读存储介质 | |
| WO2020222418A1 (ko) | 사용자를 인증하기 위한 방법 및 지원하는 전자 장치 | |
| WO2017096764A1 (zh) | 音频数据输出方法及装置 | |
| WO2016058471A1 (zh) | 显示设备及对mhl信源实现来电通功能的方法 | |
| WO2022124493A1 (ko) | 전자 장치 및 전자 장치에서 기억 서비스를 제공하는 방법 | |
| WO2016086462A1 (zh) | 电视机及电视机馈电检测方法 | |
| WO2022169116A1 (ko) | 전자 장치 및 그 제어 방법 | |
| WO2021015525A1 (en) | Content reproducing electronic apparatus and controlling method thereof | |
| WO2017016308A1 (zh) | 菜单背景颜色处理方法及装置 | |
| WO2022092729A1 (ko) | 전자장치 및 그 제어방법 | |
| WO2019083138A1 (en) | ELECTRONIC DEVICE, AUDIO OUTPUT DEVICE, AND METHOD FOR OPERATING ELECTRONIC DEVICE | |
| WO2021137558A1 (ko) | 전자장치 및 그 제어방법 | |
| WO2024058281A1 (ko) | 디스플레이 장치 및 그의 회로 보드 소음 제거 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16911522 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/07/2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16911522 Country of ref document: EP Kind code of ref document: A1 |