CN106851488B - Audio output control method, device and circuit - Google Patents

Audio output control method, device and circuit Download PDF

Info

Publication number
CN106851488B
CN106851488B CN201710202784.XA CN201710202784A CN106851488B CN 106851488 B CN106851488 B CN 106851488B CN 201710202784 A CN201710202784 A CN 201710202784A CN 106851488 B CN106851488 B CN 106851488B
Authority
CN
China
Prior art keywords
earphone
audio
power amplifier
output end
playing
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.)
Active
Application number
CN201710202784.XA
Other languages
Chinese (zh)
Other versions
CN106851488A (en
Inventor
王桂金
熊锐
张建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Huiye IOT Technology Co.,Ltd.
Original Assignee
Chongqing Huiye Communication Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Huiye Communication Technology Co ltd filed Critical Chongqing Huiye Communication Technology Co ltd
Priority to CN201710202784.XA priority Critical patent/CN106851488B/en
Publication of CN106851488A publication Critical patent/CN106851488A/en
Application granted granted Critical
Publication of CN106851488B publication Critical patent/CN106851488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Abstract

The embodiment of the invention discloses a method and a device for controlling audio output. The method comprises the following steps: when a playing switching instruction for switching the play state of the external audio amplifier to the playing state of the earphone is detected, adjusting the setting parameters of the basic audio amplifier from the play parameters of the external audio amplifier to the playing parameters of the earphone; and a connecting passage between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is switched on, and the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter is sent to the audio input end of the earphone. The technical problems that when music is played in an external playing mode, if a user inserts an earphone into an earphone interface instantly, the earphone can be damaged, sound pressure impact is brought to ears of people and the like are solved, the existing audio output control technology is optimized, and the use experience of the user is greatly improved.

Description

Audio output control method, device and circuit
Technical Field
The present invention relates to data processing technologies, and in particular, to a method, an apparatus, and a circuit for controlling audio output.
Background
The smart terminal plays an increasingly important role in the current social life, wherein one of the most important functions used by users is the audio playing function of the smart terminal. For better experience of sound loudness, the prior art usually adopts a mode of externally connecting a K-class power amplifier (typically, an AW8737 chip) to realize output of an audio signal based on an external amplifier and an earphone.
As shown in fig. 1a, an audio signal output by an audio encoder is amplified by a class K power amplifier, and then is sent to an external power amplifier to be provided to an external speaker; and also to the left channel output in the headphone interface for the left channel of the headphone. Generally, when a user selects to play an audio signal by using an earphone or an external speaker, setting parameters of the class K power amplifier are different. The amplification gain value required by the loudspeaker is far larger than that required by the earphone, so that when a user switches from one play mode to another play mode, the setting parameters of the K-type power amplifier can be adaptively adjusted.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: under the condition that the user used the mode broadcast music of playing outward, because K class power amplifier used this moment is the parameter setting of playing the mode outward, if the user inserts the earphone in the earphone interface in the twinkling of an eye this moment, probably arouses to insert the earphone in the twinkling of an eye, and the audio signal power that the earphone received exceeds standard, and then causes the damage to the earphone, simultaneously, even do not cause the damage to the earphone, the sound pressure impact of a short time also can be received to user's ear, experiences extremely badly.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a circuit for controlling audio output, which aim to optimize the existing audio output control technology and improve the use experience of a user.
In a first aspect, an embodiment of the present invention provides a method for controlling audio output, including:
when a playing switching instruction for switching the play state of the external audio amplifier to the playing state of the earphone is detected, adjusting the setting parameters of the basic audio amplifier from the play parameters of the external audio amplifier to the playing parameters of the earphone;
when the setting parameter of the basic audio power amplifier is an external playing parameter, the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are in an open circuit state;
and a connecting passage between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is switched on, and the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter is sent to the audio input end of the earphone.
Further, the method also comprises the following steps: and under the state that the jack of the earphone is inserted into the earphone interface, if an external playing state starting instruction is detected, setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface are correspondingly adjusted according to the audio output requirement of a user in the earphone.
Further, according to the audio output requirement of the user in the earphone, the setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are correspondingly adjusted, specifically including:
if an earphone audio shielding instruction sent by the user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from earphone playing parameters to playing parameters;
and if receiving an earphone audio synchronous output instruction sent by the user, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface and the earphone playing parameters of the basic audio power amplifier.
Further, detecting a play switching instruction for switching the play state of the external player to the play state of the headphone includes:
when detecting that the jack of the earphone is inserted into the earphone interface, determining that the playing switching instruction is detected; and
and under the conditions that the jack of the earphone is inserted into the earphone interface, the current playing state is the play-out state and the earphone audio is shielded, if the opening instruction of the earphone playing state is detected, determining that the playing switching instruction is detected.
In a second aspect, an embodiment of the present invention further provides a control apparatus for audio output, including:
the setting parameter adjusting module is used for adjusting the setting parameter of the basic audio power amplifier from the play-out playing parameter to the earphone playing parameter when a play switching instruction for switching the play-out playing state to the earphone playing state is detected;
when the setting parameter of the basic audio power amplifier is an external playing parameter, the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are in an open circuit state;
and the connection path conduction module is used for conducting the connection path between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface, and sending the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter to the audio input end of the earphone.
Further, the method further comprises the following steps:
and the audio output control module is used for correspondingly adjusting the setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface according to the audio output requirement of a user in the earphone if an external playing state starting instruction is detected in the state that the jack of the earphone is inserted into the earphone interface.
Further, the adjusting module is specifically configured to:
if an earphone audio shielding instruction sent by the user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from earphone playing parameters to playing parameters;
and if receiving an earphone audio synchronous output instruction sent by the user, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface and the earphone playing parameters of the basic audio power amplifier.
Further, a parameter adjusting module is provided, specifically configured to:
when detecting that the jack of the earphone is inserted into the earphone interface, determining that the playing switching instruction is detected; and
and under the conditions that the jack of the earphone is inserted into the earphone interface, the current playing state is the play-out state and the earphone audio is shielded, if the opening instruction of the earphone playing state is detected, determining that the playing switching instruction is detected.
In a third aspect, an embodiment of the present invention further provides a control circuit for audio output, including: the device comprises a processor, an audio decoder, a basic audio power amplifier, a first program control switch, a second program control switch, an external power amplifier, an external loudspeaker and an earphone interface;
the output end of the audio decoder is connected with the input end of the basic audio power amplifier; the first audio output end of the basic audio power amplifier is connected with the right channel audio output end of the earphone interface through the first program-controlled switch;
the second audio output end of the basic audio power amplifier is connected with the left channel audio output end of the earphone interface through the second program-controlled switch, and
the second audio output end of the basic audio power amplifier is sequentially connected with the external amplifier and the external loudspeaker;
the basic audio power amplifier, the first program-controlled switch and the second program-controlled switch are respectively connected with the processor.
Further, the first program-controlled switch and the second program-controlled switch are realized by using a double-path single-pole double-throw change-over switch chip.
The embodiment of the invention provides a method, a device and a circuit for controlling audio output, wherein when a play switching instruction for switching an external play state to an earphone play state is detected, setting parameters of a basic audio power amplifier are adjusted to the earphone play parameters from the external play parameters; switch on the signal output part of basic audio power amplifier with the connecting channel between the audio output in the earphone interface will via after basic audio power amplifier adjusts, with the audio signal that earphone broadcast parameter corresponds sends to the audio input of earphone has solved when playing the music in the mode of playing, if the user inserts the earphone in the earphone interface in the twinkling of an eye, the earphone that probably causes damages and gives other people the ear and brings technical problem such as sound pressure impact, has optimized current audio output's control technique, has improved user's use greatly and has experienced.
Drawings
Fig. 1a is a schematic block diagram of an audio signal output based on an external amplifier and an earphone implemented by using an external K-class power amplifier in the prior art;
FIG. 1b is a flowchart of a method for controlling audio output according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for controlling audio output according to a second embodiment of the present invention;
fig. 3 is a structural diagram of an audio output control apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic block diagram of a control circuit for audio output according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1b is a flowchart of a method for controlling audio output according to an embodiment of the present invention, where the method of this embodiment is applicable to a case of controlling audio output of an audio playing device (the audio playing device can implement both headphone playing and external playing), and the method can be executed by a control apparatus for audio output according to an embodiment of the present invention, and the apparatus can be implemented in a software and/or hardware manner, and can be generally integrated in an audio playing device. Typically, the audio playing device may be a smart phone or a tablet computer, and as shown in fig. 1b, the method of this embodiment specifically includes:
s110, when a playing switching instruction for switching the play state of the external audio amplifier to the play state of the earphone is detected, adjusting the setting parameters of the basic audio amplifier from the play parameters of the external audio amplifier to the play parameters of the earphone.
Generally, an audio signal output by an audio encoder cannot directly drive an earphone or an external loudspeaker, and must be first power-amplified by a basic audio power amplifier, and then connected with an earphone interface and the external loudspeaker through a certain typical circuit, wherein before being connected with the external loudspeaker, the audio signal is generally secondarily amplified by an external power amplifier. A typical basic audio power amplifier may include an AW8736 chip or an AW8737 chip, which is not limited in this embodiment.
When the setting parameter of the basic audio power amplifier is an external playing parameter, the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are in an open circuit state.
In the embodiment of the present invention, in order to solve the defects of the prior art, the inventor proposes to disconnect the connection between the signal output terminal of the basic audio power amplifier and the audio output terminal in the earphone interface when the setting parameter of the basic audio power amplifier is the play-out parameter. Therefore, even if a user suddenly triggers a play switching instruction for switching the play state of the external audio amplifier to the play state of the earphone, the audio signal output by the basic audio amplifier cannot be directly transmitted to the earphone of the user. Correspondingly, after the play switching instruction is received, the setting parameter of the basic audio power amplifier needs to be adjusted from the play parameter to the earphone play parameter, so as to ensure that the audio signal received by the earphone is adaptive to the earphone play parameter.
The basic audio power amplifier comprises a basic audio power amplifier, an earphone playing parameter and an external playing parameter, wherein the earphone playing parameter of the basic audio power amplifier is adaptive to an earphone playing state, and the external playing parameter of the basic audio power amplifier is adaptive to an external playing state. The setting parameters of the basic audio power amplifier may include parameters such as output signal power or amplification gain value. Because the power of the loudspeaker is larger, the required gain value is much larger than that of the earphone. Therefore, the value of the play-out parameter is generally much larger than that of the earphone play parameter.
S120, a connecting channel between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is conducted, and the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter is sent to the audio input end of the earphone.
After the setting parameters of the basic audio power amplifier are adjusted to the earphone playing parameters through the playing parameters, the basic audio power amplifier can further output audio signals corresponding to the earphone playing parameters, and at the moment, the signal output end of the basic audio power amplifier is conducted with a connecting channel between audio output ends in earphone interfaces, so that the defects of the prior art can be overcome, and the user experience is greatly improved.
Typically, a program-controlled switch may be added to a connection line between a signal output end of a basic audio power amplifier and an audio output end of the earphone interface, and the on/off of the program-controlled switch is controlled by using software, so as to implement the technical scheme of the embodiment of the present invention.
Typically, a program-controlled switch may be added to a connection line between the left channel audio output terminal of the headphone interface and the first audio signal output terminal of the basic audio power amplifier, and a connection line between the right channel audio output terminal of the headphone interface and the second audio signal output terminal of the basic audio power amplifier, and a processor of the audio playing device controls on/off of the two switches at the same time.
The embodiment of the invention provides a control method of audio output, which comprises the steps of adjusting setting parameters of a basic audio power amplifier from playing parameters to earphone playing parameters when a playing switching instruction for switching a playing state of playing outside to an earphone playing state is detected; switch on the signal output part of basic audio power amplifier with the connecting channel between the audio output in the earphone interface will via after basic audio power amplifier adjusts, with the audio signal that earphone broadcast parameter corresponds sends to the audio input of earphone has solved when playing the music in the mode of playing, if the user inserts the earphone in the earphone interface in the twinkling of an eye, the earphone that probably causes damages and gives other people the ear and brings technical problem such as sound pressure impact, has optimized current audio output's control technique, has improved user's use greatly and has experienced.
On the basis of the above embodiments, the method may further include: and under the state that the jack of the earphone is inserted into the earphone interface, if an external playing state starting instruction is detected, setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface are correspondingly adjusted according to the audio output requirement of a user in the earphone.
The reason for this is: in the prior art, if a play-out state starting instruction is detected in a state that a jack of an earphone is inserted into an earphone interface, the play-out state starting instruction is generally ignored, and the earphone is still used for playing audio signals; or the earphone and the loudspeaker are used simultaneously to play the audio signal corresponding to the playing parameter, so that the power of the audio signal in the earphone is too high, and the earphone and the ears of the user are affected. In this embodiment, for the above problems in the prior art, according to the requirement for the audio output in the earphone, typically, the requirement for the earphone to play music is continuously used while playing outside or the requirement for the earphone to play music is shielded, the setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is/are correspondingly adjusted, so as to further optimize the existing control technology for audio output and the user experience.
Example two
Fig. 2 is a flowchart of a method for controlling audio output according to a second embodiment of the present invention, where the second embodiment is optimized based on the above-described embodiment, in this embodiment, setting parameters of the basic audio power amplifier and/or an on-off state between a signal output end of the basic audio power amplifier and an audio output end of the earphone interface are adjusted correspondingly according to an audio output requirement of a user in the earphone, and specifically optimized as follows:
if an earphone audio shielding instruction sent by the user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from earphone playing parameters to playing parameters; and if receiving an earphone audio synchronous output instruction sent by the user, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface and the earphone playing parameters of the basic audio power amplifier. Correspondingly, the method of the embodiment of the invention comprises the following steps:
s210, when a play switching instruction for switching the play state of the external audio amplifier to the play state of the earphone is detected, adjusting the setting parameters of the basic audio amplifier from the play parameters of the external audio amplifier to the play parameters of the earphone.
In an optional implementation manner of this embodiment, detecting a playback switching instruction for switching a play-out playback state to a headphone playback state may include: when detecting that the jack of the earphone is inserted into the earphone interface, determining that the playing switching instruction is detected;
in another optional implementation manner of this embodiment, detecting a play switching instruction for switching a play-out state to a play state of an earphone may further include: and under the conditions that the jack of the earphone is inserted into the earphone interface, the current playing state is the play-out state and the earphone audio is shielded, if the opening instruction of the earphone playing state is detected, determining that the playing switching instruction is detected.
S220, a connecting channel between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is conducted, and the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter is sent to the audio input end of the earphone.
S230, judging whether a play-out state starting instruction is detected in the state that the jack of the earphone is inserted into the earphone interface: if yes, go to S240; otherwise, return to execute S230.
S240, determining the type of the received user input instruction: if receiving the earphone audio shielding instruction sent by the user, executing S250; if the earphone audio synchronous output instruction sent by the user is received, S260 is executed.
The earphone audio shielding instruction specifically means that when a user requires playing in an external playing mode, the audio in the earphone is not played any more. The earphone audio synchronous output instruction specifically means that when a user requires playing in an external mode, the earphone also needs to continue playing audio.
And S250, after the connecting path between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from the earphone playing parameters to the playing parameters.
S260, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface, and the earphone playing parameters of the basic audio power amplifier.
According to the technical scheme of the embodiment, if an earphone audio shielding instruction sent by a user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, setting parameters of the basic audio power amplifier are adjusted to playing parameters from playing parameters of an earphone; if the earphone audio synchronous output instruction sent by the user is received, the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface is kept, and the earphone playing parameter of the basic audio power amplifier is kept.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a control device for audio output according to a third embodiment of the present invention, as shown in fig. 3, the device includes: a parameter adjusting module 310 and a connection path conducting module 320, wherein:
a setting parameter adjusting module 310, configured to adjust a setting parameter of a basic audio power amplifier from a play-out playing parameter to an earphone playing parameter when a play switching instruction for switching the play-out playing state to the earphone playing state is detected;
when the setting parameter of the basic audio power amplifier is an external playing parameter, the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are in an open circuit state.
And the connection path conduction module 320 is used for conducting the connection path between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface, and sending the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter to the audio input end of the earphone.
The embodiment of the invention provides a control device for audio output, which is characterized in that when a play switching instruction for switching an external play state to an earphone play state is detected, setting parameters of a basic audio power amplifier are adjusted to earphone play parameters from the external play parameters; switch on the signal output part of basic audio power amplifier with the connecting channel between the audio output in the earphone interface will via after basic audio power amplifier adjusts, with the audio signal that earphone broadcast parameter corresponds sends to the audio input of earphone has solved when playing the music in the mode of playing, if the user inserts the earphone in the earphone interface in the twinkling of an eye, the earphone that probably causes damages and gives other people the ear and brings technical problem such as sound pressure impact, has optimized current audio output's control technique, has improved user's use greatly and has experienced.
On the basis of the foregoing embodiments, the method may further include:
and the audio output control module is used for correspondingly adjusting the setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface according to the audio output requirement of a user in the earphone if an external playing state starting instruction is detected in the state that the jack of the earphone is inserted into the earphone interface.
On the basis of the foregoing embodiments, the adjusting module may be specifically configured to:
if an earphone audio shielding instruction sent by the user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from earphone playing parameters to playing parameters;
and if receiving an earphone audio synchronous output instruction sent by the user, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface and the earphone playing parameters of the basic audio power amplifier.
On the basis of the foregoing embodiments, the parameter adjustment module is specifically configured to:
when detecting that the jack of the earphone is inserted into the earphone interface, determining that the playing switching instruction is detected; and
and under the conditions that the jack of the earphone is inserted into the earphone interface, the current playing state is the play-out state and the earphone audio is shielded, if the opening instruction of the earphone playing state is detected, determining that the playing switching instruction is detected.
The control device for audio output can execute the control method for audio output provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executed control method for audio output.
Example four
Fig. 4 is a schematic block diagram of a control circuit for audio output according to a fourth embodiment of the present invention, and the control circuit for audio output according to the fourth embodiment of the present invention may be used to implement the control method for audio output according to any embodiment of the present invention.
As shown in fig. 4, the control circuit of the audio output includes: the processor 410, the audio decoder 420, the basic audio power amplifier 430, the first program-controlled switch 440, the second program-controlled switch 450, the loudspeaker 460, the loudspeaker 470 and the earphone interface 480;
wherein, the output end of the audio decoder 420 is connected with the input end of the basic audio power amplifier 430; a first audio output end of the basic audio power amplifier 430 is connected with a right channel audio output end of the earphone interface 480 through the first program-controlled switch 440;
the second audio output of the basic audio power amplifier 430 is connected to the left channel audio output of the headset interface 480 through the second programmable switch 450, an
The second output end of the basic audio power amplifier 430 is connected with the external amplifier 460 and the external amplifier 470 in sequence;
the basic audio power amplifier 430, the first programmable switch 440 and the second programmable switch 450 are respectively connected to the processor 410.
Wherein, the processor 410 is specifically configured to: when a play switching instruction for switching the play state of the external audio amplifier 430 to the play state of the earphone is detected, adjusting the setting parameters of the basic audio amplifier from the play parameters to the play parameters of the earphone;
when the setting parameter of the basic audio power amplifier 430 is an external playing parameter, the signal output end of the basic audio power amplifier 430 and the audio output end in the earphone interface are in an open circuit state;
and (3) connecting a connecting channel between the signal output end of the basic audio power amplifier 430 and the audio output end in the earphone interface 480, and sending the audio signal which is adjusted by the basic audio power amplifier 430 and corresponds to the earphone playing parameter to the audio input end of the earphone.
Namely: a first conduction signal is sent to a first program control switch, and a path between the first audio output end and a right channel audio output end of the earphone interface is conducted; and a channel between the second audio output end and the left channel audio output end of the earphone interface is conducted by sending a conducting signal to the second program control switch.
On the basis of the above embodiments, the first program-controlled switch and the second program-controlled switch are implemented by using a two-way single-pole double-throw switch chip (typically, SGM3712 chip).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of controlling audio output, comprising:
when a playing switching instruction for switching the play state of the external audio amplifier to the play state of the earphone is detected, adjusting the setting parameters of the basic audio amplifier from the play parameters of the external audio amplifier to the play parameters of the earphone, wherein the setting parameters of the basic audio amplifier comprise output signal power or an amplification gain value;
when the setting parameter of the basic audio power amplifier is an external playing parameter, the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are in an open circuit state;
connecting a connecting passage between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface, and sending an audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter to an audio input end of the earphone;
and the signal output end of the basic audio power amplifier is connected with the audio output end in the earphone interface through the program-controlled switch.
2. The method of claim 1, further comprising:
and under the state that the jack of the earphone is inserted into the earphone interface, if an external playing state starting instruction is detected, setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface are correspondingly adjusted according to the audio output requirement of a user in the earphone.
3. The method according to claim 2, wherein the adjusting the setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface according to the audio output requirement of the user on the earphone specifically comprises:
if an earphone audio shielding instruction sent by the user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from earphone playing parameters to playing parameters;
and if receiving an earphone audio synchronous output instruction sent by the user, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface and the earphone playing parameters of the basic audio power amplifier.
4. The method according to any one of claims 1 to 3, wherein detecting a play switching instruction for switching a play-out state to a headphone play state comprises:
when detecting that the jack of the earphone is inserted into the earphone interface, determining that the playing switching instruction is detected; and
and under the conditions that the jack of the earphone is inserted into the earphone interface, the current playing state is the play-out state and the earphone audio is shielded, if the opening instruction of the earphone playing state is detected, determining that the playing switching instruction is detected.
5. An apparatus for controlling audio output, comprising:
the device comprises a setting parameter adjusting module, a playing switching module and a processing module, wherein the setting parameter adjusting module is used for adjusting the setting parameter of the basic audio power amplifier from the play parameter to the earphone play parameter when a play switching instruction for switching the play state of the external audio to the earphone play state is detected, and the setting parameter of the basic audio power amplifier comprises output signal power or an amplification gain value;
when the setting parameter of the basic audio power amplifier is an external playing parameter, the signal output end of the basic audio power amplifier and the audio output end in the earphone interface are in an open circuit state;
the connection path conduction module is used for conducting a connection path between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface, and sending the audio signal which is adjusted by the basic audio power amplifier and corresponds to the earphone playing parameter to the audio input end of the earphone;
and the signal output end of the basic audio power amplifier is connected with the audio output end in the earphone interface through the program-controlled switch.
6. The apparatus of claim 5, further comprising the adjustment module:
and the audio output control module is used for correspondingly adjusting the setting parameters of the basic audio power amplifier and/or the on-off state between the signal output end of the basic audio power amplifier and the audio output end of the earphone interface according to the audio output requirement of a user in the earphone if an external playing state starting instruction is detected in the state that the jack of the earphone is inserted into the earphone interface.
7. The apparatus of claim 6, wherein the adjustment module is specifically configured to:
if an earphone audio shielding instruction sent by the user is received, after a connecting path between a signal output end of the basic audio power amplifier and an audio output end in the earphone interface is disconnected, adjusting the setting parameters of the basic audio power amplifier from earphone playing parameters to playing parameters;
and if receiving an earphone audio synchronous output instruction sent by the user, maintaining the communication state between the signal output end of the basic audio power amplifier and the audio output end in the earphone interface and the earphone playing parameters of the basic audio power amplifier.
8. The apparatus according to any one of claims 5 to 7, wherein the parameter adjustment module is configured to:
when detecting that the jack of the earphone is inserted into the earphone interface, determining that the playing switching instruction is detected; and
and under the conditions that the jack of the earphone is inserted into the earphone interface, the current playing state is the play-out state and the earphone audio is shielded, if the opening instruction of the earphone playing state is detected, determining that the playing switching instruction is detected.
9. A control circuit for audio output, comprising: the system comprises a processor, an audio decoder, a basic audio power amplifier, a first program-controlled switch, a second program-controlled switch, an external power amplifier, an external loudspeaker and an earphone interface, and is used for realizing the control method of audio output according to any one of claims 1 to 4;
the output end of the audio decoder is connected with the input end of the basic audio power amplifier; the first audio output end of the basic audio power amplifier is connected with the right channel audio output end of the earphone interface through the first program-controlled switch;
the second audio output end of the basic audio power amplifier is connected with the left channel audio output end of the earphone interface through the second program-controlled switch, and
the second audio output end of the basic audio power amplifier is sequentially connected with the external amplifier and the external loudspeaker;
the basic audio power amplifier, the first program-controlled switch and the second program-controlled switch are respectively connected with the processor.
10. The control circuit of claim 9, wherein the first programmable switch and the second programmable switch are implemented using a two-way single-pole double-throw switch chip.
CN201710202784.XA 2017-03-30 2017-03-30 Audio output control method, device and circuit Active CN106851488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710202784.XA CN106851488B (en) 2017-03-30 2017-03-30 Audio output control method, device and circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710202784.XA CN106851488B (en) 2017-03-30 2017-03-30 Audio output control method, device and circuit

Publications (2)

Publication Number Publication Date
CN106851488A CN106851488A (en) 2017-06-13
CN106851488B true CN106851488B (en) 2020-06-30

Family

ID=59142582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710202784.XA Active CN106851488B (en) 2017-03-30 2017-03-30 Audio output control method, device and circuit

Country Status (1)

Country Link
CN (1) CN106851488B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426443A (en) * 2017-09-22 2017-12-01 深圳市万普拉斯科技有限公司 Audio output switching method, equipment, mobile terminal and computer-readable storage medium
CN108495234B (en) * 2018-04-19 2020-01-07 北京微播视界科技有限公司 Multi-channel audio processing method, apparatus and computer-readable storage medium
CN109788114B (en) * 2019-03-12 2021-04-02 维沃移动通信有限公司 Call processing method and terminal
CN111615034A (en) * 2020-05-14 2020-09-01 上海创功通讯技术有限公司 Electronic equipment and audio playing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226766A (en) * 2007-01-19 2008-07-23 鸿富锦精密工业(深圳)有限公司 Audio play device automatically adjusting play parameter
CN101924971A (en) * 2009-06-09 2010-12-22 三星电子株式会社 Apparatus and method for outputting audio signal in portable terminal
CN102413402A (en) * 2010-09-26 2012-04-11 康佳集团股份有限公司 Audio frequency control method of audio frequency output device and audio frequency output device
CN104581515A (en) * 2013-10-15 2015-04-29 联想(北京)有限公司 Audio playing device and method as well as mobile terminal
CN104683917A (en) * 2015-01-27 2015-06-03 上海闻泰电子科技有限公司 Audio control method for mobilephone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7003123B2 (en) * 2001-06-27 2006-02-21 International Business Machines Corp. Volume regulating and monitoring system
US20070142942A1 (en) * 2005-12-16 2007-06-21 Sony Ericsson Mobile Communications Ab Audio profiles for portable music playback device
US8094836B2 (en) * 2008-04-08 2012-01-10 Mediatek Inc. Multi-channel decoding systems capable of reducing noise and methods thereof
CN101610439B (en) * 2008-06-19 2013-02-27 鸿富锦精密工业(深圳)有限公司 Electronic device
JP6089478B2 (en) * 2012-07-24 2017-03-08 ティアック株式会社 Audio device with mute function
US20150161979A1 (en) * 2013-12-10 2015-06-11 Merry Electronics (Shenzhen) Co., Ltd. Handheld electronic apparatus and corresponding noise-canceling headphones

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226766A (en) * 2007-01-19 2008-07-23 鸿富锦精密工业(深圳)有限公司 Audio play device automatically adjusting play parameter
CN101924971A (en) * 2009-06-09 2010-12-22 三星电子株式会社 Apparatus and method for outputting audio signal in portable terminal
CN102413402A (en) * 2010-09-26 2012-04-11 康佳集团股份有限公司 Audio frequency control method of audio frequency output device and audio frequency output device
CN104581515A (en) * 2013-10-15 2015-04-29 联想(北京)有限公司 Audio playing device and method as well as mobile terminal
CN104683917A (en) * 2015-01-27 2015-06-03 上海闻泰电子科技有限公司 Audio control method for mobilephone

Also Published As

Publication number Publication date
CN106851488A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106851488B (en) Audio output control method, device and circuit
CN102325216B (en) Mobile communication equipment and volume control method thereof
US9264823B2 (en) Audio headset with automatic equalization
US9652197B2 (en) Information processing method, electronic apparatus and system
CN107621933B (en) Audio playing method and device and related medium product
CN107566618B (en) Volume adjusting method and device, terminal equipment and storage medium
CN102843464A (en) System and method utilizing distance sensor to adjust call audio output mode
WO2017148270A1 (en) Volume control method and device, and terminal
CN104869517A (en) Bluetooth mobile phone hearing aid
CN106060711A (en) Audio playing device, terminal device and method
CN102768558A (en) All-in-one computer having function of muting loudspeaker
CN102656800A (en) Acoustic apparatus, acoustic system, and audio signal control method
JP2009194890A (en) Mobile terminal, audio apparatus discrimination method, audio apparatus discrimination program, and program recording medium
CN113411707A (en) Auxiliary listening earphone, control method, device and system thereof, and readable medium
CN111031435A (en) Audio circuit, head-mounted display equipment and head-mounted display system
CN111988770A (en) Control method and system of wireless equipment
WO2019062717A1 (en) Playback device, and plaback method based on playback device
CN105322896A (en) Amplifier and switch configured as multiplexor
CN103702048A (en) Method and system for eliminating television noise
US20200012477A1 (en) Audio device, audio system, and volume value control method
CN211378222U (en) Audio circuit, head-mounted display equipment and head-mounted display system
KR100609878B1 (en) Audio outputting apparatus and control method thereof
CN110730399A (en) Display device earphone control circuit and display device
US20060009984A1 (en) Computer apparatus and control method thereof
CN113038317B (en) Earphone control method and device, bluetooth earphone and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200415

Address after: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.

Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309

Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200518

Address after: 400030 Chongqing City, Shapingba District, No. 6, Paul Road, No. 4

Applicant after: Chongqing Huiye Communication Technology Co., Ltd

Address before: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant before: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 400030 No. 6, No. 4, comprehensive security road, Shapingba District, Chongqing.

Patentee after: Chongqing Huiye IOT Technology Co.,Ltd.

Address before: 400030 No. 6, No. 4, comprehensive security road, Shapingba District, Chongqing.

Patentee before: Chongqing Huiye Communication Technology Co.,Ltd.