CN105260159B - A kind of audio frequency playing method and device - Google Patents

A kind of audio frequency playing method and device Download PDF

Info

Publication number
CN105260159B
CN105260159B CN201510607411.1A CN201510607411A CN105260159B CN 105260159 B CN105260159 B CN 105260159B CN 201510607411 A CN201510607411 A CN 201510607411A CN 105260159 B CN105260159 B CN 105260159B
Authority
CN
China
Prior art keywords
audio
loudspeaker
played
loudness
power
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
CN201510607411.1A
Other languages
Chinese (zh)
Other versions
CN105260159A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710855477.1A priority Critical patent/CN107621933B/en
Priority to CN201510607411.1A priority patent/CN105260159B/en
Publication of CN105260159A publication Critical patent/CN105260159A/en
Application granted granted Critical
Publication of CN105260159B publication Critical patent/CN105260159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of audio frequency playing method and device, this method may include:Receive for the first audio to be carried out into the first playing request that outer sound is played;Control the first loudspeaker that first audio is carried out into outer sound according to first playing request to play, and the second loudspeaker of control plays power with the first audio and plays first audio, wherein, it is that the audio for being used to carry out outer sound broadcasting pre-set plays power that the first audio, which plays power,;When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, control second loudspeaker to play power with the second audio according to second playing request and play second audio, wherein, it is that the audio for being used to carry out handset mode broadcasting pre-set plays power that second audio, which plays power,.The embodiment of the present invention can improve the effect that communication terminal plays audio.

Description

A kind of audio frequency playing method and device
Technical field
The present invention relates to the communications field, more particularly to a kind of audio frequency playing method and device.
Background technology
Often it is equipped with audio carrying out loudspeaker and the handset mode broadcasting that outer sound is played on current communication terminal Receiver, wherein, outer sound here, which is played, can be understood as high-power broadcasting audio, and handset mode is played and can be understood as small work( Rate plays audio.When so playing audio using loudspeaker, user can just listen without communication terminal is placed near ear To audio.For example:When communication terminal receives call request, tone will be called by loudspeaker and carry out outer sound broadcasting, so that logical Know that user has call request;Or communication terminal is when playing video or playing game, can by loudspeaker to video or Audio in game carries out outer sound and played, to improve Consumer's Experience.However, the loudspeaker and receiver of current communication terminal are often Different positions are all disposed within, for example:Loudspeaker is all disposed within the rear shell of communication terminal, and receiver is arranged on communication terminal On fore shell.So when communication terminal is just being placed on the soft object such as sofa, loudspeaker may be plugged, and cause user can Audio can not be heard, so that missed call is asked, or viewing video can not hear audio with when playing game.It can be seen that, lead to Believe that the effect of terminal plays audio is poor.
The content of the invention
The embodiments of the invention provide a kind of audio frequency playing method and device, the effect that communication terminal plays audio can be improved Really.
In a first aspect, the embodiment of the present invention provides a kind of audio frequency playing method, including:
Receive for the first audio to be carried out into the first playing request that outer sound is played;
Control the first loudspeaker that first audio is carried out into outer sound according to first playing request to play, and control Second loudspeaker plays power with the first audio and plays first audio, wherein, the first audio plays power to pre-set Be used for carry out outer sound broadcasting audio play power;
When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, broadcast according to described second Put request control second loudspeaker and power broadcasting second audio is played with the second audio, wherein, second audio It is that the audio for being used to carry out handset mode broadcasting pre-set plays power to play power.
Optionally, methods described also includes:
Judge whether the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, if It is then to perform the second loudspeaker of the control to play the step of power plays first audio with the first audio.
Optionally, whether the loudness for judging first audio that first loudspeaker is played out is less than default sound Threshold value is spent, including:
First audio that first loudspeaker is played out is gathered, to obtain collection audio, and the collection is judged Whether the loudness of audio is less than default loudness threshold, if, it is determined that first audio that first loudspeaker is played out Loudness be less than default loudness threshold;Or
Judge whether the sound hole of first loudspeaker is plugged, if, it is determined that what first loudspeaker was played out The loudness of first audio is less than default loudness threshold.
Optionally, methods described also includes:
When the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, stop described First loudspeaker plays first audio.
Optionally, first playing request received for the first audio to be carried out to outer sound broadcasting, including:
Receive the call request that calling terminal is sent;
Second playing request for being used to carrying out the second audio into handset mode broadcasting, including:
The connection request that call is connected is set up with the calling terminal.
Second aspect, the embodiment of the present invention provides a kind of audio playing apparatus, including:Receiving unit, the first broadcast unit, Second broadcast unit and the 3rd broadcast unit, wherein:
The receiving unit, is used to the first audio carrying out the first playing request that outer sound is played for receiving;
First broadcast unit, for controlling the first loudspeaker by first audio according to first playing request Outer sound is carried out to play;
Second broadcast unit, for controlling the second loudspeaker to be played with the first audio according to first playing request Power plays first audio, wherein, it is the audio for being used to carry out outer sound broadcasting pre-set that the first audio, which plays power, Play power;
3rd broadcast unit, is played for working as to receive for the second audio to be carried out into the second of handset mode broadcasting During request, control second loudspeaker to play power with the second audio according to second playing request and play second sound Frequently, wherein, it is that the audio for being used to carry out handset mode broadcasting pre-set plays power that second audio, which plays power,.
Optionally, described device also includes:
Judging unit, for judging it is default whether the loudness for first audio that first loudspeaker is played out is less than Loudness threshold;
Second broadcast unit is used to judge first loudspeaker is played out described first in the judging unit When the loudness of audio is less than default loudness threshold, the second loudspeaker is controlled to be played with the first audio according to first playing request Power plays first audio.
Optionally, the judging unit is used to gather first audio that first loudspeaker is played out, to obtain Audio is gathered, and judges whether the loudness of the collection audio is less than default loudness threshold, if, it is determined that described first raises one's voice The loudness for first audio that device is played out is less than default loudness threshold;Or
The judging unit is used to judge whether the sound hole of first loudspeaker is plugged, if, it is determined that described the The loudness for first audio that one loudspeaker is played out is less than default loudness threshold.
Optionally, described device also includes:
Stop element, the sound for judging first audio that first loudspeaker is played out when the judging unit When degree is less than default loudness threshold, stops first loudspeaker and play first audio.
Optionally, the receiving unit is used for the call request for receiving calling terminal transmission;
Second playing request for being used to carrying out the second audio into handset mode broadcasting, including:
The connection request that call is connected is set up with the calling terminal.
In above-mentioned technical proposal, receive for the first audio to be carried out into the first playing request that outer sound is played;According to described First playing request controls the first loudspeaker that first audio is carried out into outer sound broadcasting, and the second loudspeaker of control with first Audio plays power and plays first audio, wherein, it is being used for of pre-setting to carry out outer sound to broadcast that the first audio, which plays power, The audio put plays power;When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, according to Second playing request controls second loudspeaker to play power with the second audio and plays second audio, wherein, institute It is that the audio for being used to carry out handset mode broadcasting pre-set plays power to state the second audio and play power.It can so realize When the first loudspeaker is plugged, the second loudspeaker can play the first audio by sound in addition, and the second loudspeaker can also listen cylinder mould Formula plays the second audio, so as to avoid user from hearing not the first audio, to improve the effect that communication terminal plays audio.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of audio frequency playing method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another audio frequency playing method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of audio playing apparatus provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another audio playing apparatus provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another audio playing apparatus provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another audio playing apparatus provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of audio frequency playing method provided in an embodiment of the present invention, such as Fig. 1 institutes Show, comprise the following steps:
101st, receive for the first audio to be carried out into the first playing request that outer sound is played.
Wherein, above-mentioned first audio can be the audio stored on communication terminal, for example:The tone of mobile phone;Certain first Audio can also be the audio that the application program that communication terminal is currently run is exported, for example:The music of broadcasting or broadcasting Communication speech etc..
102nd, control the first loudspeaker that first audio is carried out into outer sound according to first playing request to play, and Control the second loudspeaker to play power with the first audio and play first audio, wherein, it is advance that the first audio, which plays power, The audio for being used to carry out outer sound broadcasting set plays power.
Wherein, above-mentioned first loudspeaker can be that acquiescence carries out the loudspeaker that outer sound is played on communication terminal, for example:Mobile phone Middle acquiescence plays the loudspeaker of tone.Above-mentioned second loudspeaker can be that communication terminal is another in addition to above-mentioned first loudspeaker Loudspeaker, for example:It is used as the loudspeaker of receiver in mobile phone, the audio of the loudspeaker plays power adjustable section, i.e., the loudspeaker can Handset mode broadcasting audio can also be carried out to carry out outer sound broadcasting.In addition, above-mentioned first loudspeaker and the second loudspeaker can be with The diverse location of communication terminal is arranged on, for example:First loudspeaker is arranged on the shell on the back of mobile phone, and the second loudspeaker is arranged on mobile phone Fore shell, often simply a loudspeaker is blocked when such mobile phone is placed, so as to avoid user from only arriving not tone.
In the present embodiment, can be by step 102 when under the application scenarios such as music, video playback, object for appreciation game User provides former and later two loudspeakers and carries out outer sound broadcasting, to realize three-dimensional phonoreception.
103rd, when receiving the second playing request for the second audio to be carried out to handset mode broadcasting, according to described the Two playing requests control second loudspeaker to play power with the second audio and play second audio, wherein, described second It is that the audio for being used to carry out handset mode broadcasting pre-set plays power that audio, which plays power,.
Wherein, above-mentioned second audio can be the audio separate with the first audio, for example:First audio is incoming call Tone, voice when the second audio is call.In addition, above-mentioned second audio can also be with the continuous audio of the first audio, i.e., First audio and the second audio are the audio of different periods in same audio signal, for example:When communication terminal plays video, the One audio can in the video the previous period audio, and the second audio can be the audio of latter period in the video.
In addition, above-mentioned first audio play power and the second audio play power can user pre-set, example Such as:Second audio plays power within 30mW, and the first audio plays power in more than 150mW.
In the present embodiment, the above method can apply to communication terminal, the communication terminal can be tablet personal computer, mobile phone, Electronic reader, remote control, mobile unit, wearable device etc. have the smart machine of network function.
In the present embodiment, receive for the first audio to be carried out into the first playing request that outer sound is played;According to described first Playing request controls the first loudspeaker that first audio is carried out into outer sound broadcasting, and the second loudspeaker of control with the first audio Play power and play first audio, wherein, it is to pre-set for carrying out outer sound broadcasting that the first audio, which plays power, Audio plays power;When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, according to described Second playing request controls second loudspeaker to play power with the second audio and plays second audio, wherein, described the It is that the audio for being used to carry out handset mode broadcasting pre-set plays power that two audios, which play power,.It can so realize when the When one loudspeaker is plugged, the second loudspeaker can play the first audio by sound in addition, and the second loudspeaker can be broadcast with handset mode The second audio is put, so as to avoid user from hearing not the first audio, to improve the effect that communication terminal plays audio.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another audio frequency playing method provided in an embodiment of the present invention, such as Fig. 2 It is shown, comprise the following steps:
201st, receive for the first audio to be carried out into the first playing request that outer sound is played.
202nd, control the first loudspeaker that first audio is carried out into outer sound according to first playing request to play.
203rd, judge whether the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, If so, step 204 is then performed, if it is not, can then terminate to be illustrated exemplified by terminating flow in flow, accompanying drawing.In addition, When judging that the loudness for first audio that first loudspeaker is played out is not less than default loudness threshold, it can continue to hold Row step 204, to realize that two loudspeakers play the first audio, to realize stereophonic effect.
In the present embodiment, it is pre- whether the above-mentioned loudness for judging first audio that first loudspeaker is played out is less than If the step of loudness threshold, it can include:
First audio that first loudspeaker is played out is gathered, to obtain collection audio, and the collection is judged Whether the loudness of audio is less than default loudness threshold, if, it is determined that first audio that first loudspeaker is played out Loudness be less than default loudness threshold.
In the embodiment, the first audio that the first loudspeaker is played can be gathered by the microphone of communication terminal, then By the collection audio transmission collected to processor, judge whether the loudness for gathering audio is less than default loudness threshold by processor Value, if, it is determined that the loudness for first audio that first loudspeaker is played out is less than default loudness threshold.
In the present embodiment, it is pre- whether the above-mentioned loudness for judging first audio that first loudspeaker is played out is less than If the step of loudness threshold, it can include:
Judge whether the sound hole of first loudspeaker is plugged, if, it is determined that what first loudspeaker was played out The loudness of first audio is less than default loudness threshold.
In the embodiment, whether the above-mentioned sound hole for judging the first loudspeaker is plugged to be mounted in is raised one's voice with first The camera collection image of device the same face, when the graphical representation camera that the camera is collected is blocked by object, it is determined that Whether the sound hole of the first loudspeaker is plugged.For example:The completely black then expression camera of image of camera collection is by object Block.It is, of course, also possible to which the image gathered by the set location camera close with the set location of the first loudspeaker judges Whether the sound hole of first loudspeaker is plugged.
204th, the second loudspeaker of control plays power with the first audio and plays first audio, wherein, the first audio is broadcast It is that the audio for being used to carry out outer sound broadcasting pre-set plays power to put power.
It can just realize that the loudness for the first audio played when the first loudspeaker is smaller by step 203 and step 204 When, the outer sound of the second loudspeaker of control plays the first audio, to avoid user from can't hear the first audio, for example:User is avoided to listen not Arrival electric bell sound.
205th, when receiving the second playing request for the second audio to be carried out to handset mode broadcasting, according to described the Two playing requests control second loudspeaker to play power with the second audio and play second audio, wherein, described second It is that the audio for being used to carry out handset mode broadcasting pre-set plays power that audio, which plays power,.
In the present embodiment, the above method can also comprise the following steps:
When the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, stop described First loudspeaker plays first audio.
When being less than default loudness threshold due to the loudness of the audio of the first loudspeaker broadcasting, then it is considered that the first loudspeaker The audio user that outer sound is played possibly can not be heard, first sound is played so as to directly stop first loudspeaker Frequently, to save equipment power dissipation.
In the present embodiment, above-mentioned reception is used to the first audio carrying out the first playing request that outer sound is played, and can include:
Receive the call request that calling terminal is sent.
I.e. above-mentioned first audio is received the tone played during the call request of calling terminal transmission, example by communication terminal Such as:Mobile phone receives the incoming call tone played during incoming call.In addition, call request here can be phone call request, may be used also To be the call request in instant messaging.
In the embodiment, above-mentioned the second playing request for being used to carrying out the second audio into handset mode broadcasting can be wrapped Include:
The connection request that call is connected is set up with the calling terminal.
So above-mentioned second audio can be just to set up the voice transmitted after call connection in call connection.
In the embodiment, it is possible to achieve communication terminal controls the first loudspeaker and second to raise when receiving call request Sound device plays tone, and after call connection is set up, the second loudspeaker of control plays call voice with handset mode.It can so keep away Exempt from when the first loudspeaker is plugged, user can not exhale tone.
In the present embodiment, the embodiment of plurality of optional is added on the basis of the embodiment shown in Fig. 1, and can Realize and improve the effect that communication terminal plays audio.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is used to perform the inventive method embodiment one to two The method of realization, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details is not disclosed , it refer to the embodiment of the present invention one and embodiment two.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of audio playing apparatus provided in an embodiment of the present invention, such as Fig. 3 institutes Show, including:Receiving unit 31, the first broadcast unit 32, the second broadcast unit 33 and the 3rd broadcast unit 34, wherein:
Receiving unit 31, is used to the first audio carrying out the first playing request that outer sound is played for receiving.
Wherein, above-mentioned first audio can be the audio stored on communication terminal, for example:The tone of mobile phone;Certain first Audio can also be the audio that the application program that communication terminal is currently run is exported, for example:The music of broadcasting or broadcasting Communication speech etc..
First broadcast unit 32, for controlling the first loudspeaker to enter first audio according to first playing request The outer sound of row is played.
Second broadcast unit 33, for controlling the second loudspeaker to play work(with the first audio according to first playing request Rate plays first audio, wherein, it is that the audio for being used to carry out outer sound broadcasting pre-set is broadcast that the first audio, which plays power, Put power;
Wherein, above-mentioned first loudspeaker can be that acquiescence carries out the loudspeaker that outer sound is played on communication terminal, for example:Mobile phone Middle acquiescence plays the loudspeaker of tone.Above-mentioned second loudspeaker can be that communication terminal is another in addition to above-mentioned first loudspeaker Loudspeaker, for example:It is used as the loudspeaker of receiver in mobile phone, the audio of the loudspeaker plays power adjustable section, i.e., the loudspeaker can Handset mode broadcasting audio can also be carried out to carry out outer sound broadcasting.In addition, above-mentioned first loudspeaker and the second loudspeaker can be with The diverse location of communication terminal is arranged on, for example:First loudspeaker is arranged on the shell on the back of mobile phone, and the second loudspeaker is arranged on mobile phone Fore shell, often simply a loudspeaker is blocked when such mobile phone is placed, so as to avoid user from only arriving not tone.
In the present embodiment, the first broadcast unit 32 is passed through when under the application scenarios such as music, video playback, object for appreciation game Former and later two loudspeakers can be provided the user with the second broadcast unit 33 and carry out outer sound broadcasting, to realize three-dimensional phonoreception.
3rd broadcast unit 34, please for working as the second broadcasting received for the second audio to be carried out to handset mode broadcasting When asking, control second loudspeaker to play power with the second audio according to second playing request and play second sound Frequently, wherein, it is that the audio for being used to carry out handset mode broadcasting pre-set plays power that second audio, which plays power,.
Wherein, above-mentioned second audio can be the audio separate with the first audio, for example:First audio is incoming call Tone, voice when the second audio is call.In addition, above-mentioned second audio can also be with the continuous audio of the first audio, i.e., First audio and the second audio are the audio of different periods in same audio signal, for example:When communication terminal plays video, the One audio can in the video the previous period audio, and the second audio can be the audio of latter period in the video.
In addition, above-mentioned first audio play power and the second audio play power can user pre-set, example Such as:Second audio plays power within 30mW, and the first audio plays power in more than 150mW.
In the present embodiment, said apparatus can apply to communication terminal, the communication terminal can be tablet personal computer, mobile phone, Electronic reader, remote control, mobile unit, wearable device etc. have the smart machine of network function.
In the present embodiment, receive for the first audio to be carried out into the first playing request that outer sound is played;According to described first Playing request controls the first loudspeaker that first audio is carried out into outer sound broadcasting, and the second loudspeaker of control with the first audio Play power and play first audio, wherein, it is to pre-set for carrying out outer sound broadcasting that the first audio, which plays power, Audio plays power;When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, according to described Second playing request controls second loudspeaker to play power with the second audio and plays second audio, wherein, described the It is that the audio for being used to carry out handset mode broadcasting pre-set plays power that two audios, which play power,.It can so realize when the When one loudspeaker is plugged, the second loudspeaker can play the first audio by sound in addition, so as to avoid user from hearing not the first sound Frequently, with improve communication terminal play audio effect.
Referring to Fig. 4, Fig. 4 is the structural representation of another audio playing apparatus provided in an embodiment of the present invention, such as Fig. 4 It is shown, including:Receiving unit 41, the first broadcast unit 42, judging unit 43, the second broadcast unit 44 and the 3rd broadcast unit 45, wherein:
Receiving unit 41, is used to the first audio carrying out the first playing request that outer sound is played for receiving.
First broadcast unit 42, for controlling the first loudspeaker to enter first audio according to first playing request The outer sound of row is played;
Judging unit 43, for judging it is pre- whether the loudness for first audio that first loudspeaker is played out is less than If loudness threshold.
In the present embodiment, judging unit 43 can be used for gathering first audio that first loudspeaker is played out, To obtain collection audio, and judge whether the loudness of the collection audio is less than default loudness threshold, if, it is determined that described the The loudness for first audio that one loudspeaker is played out is less than default loudness threshold.
In the embodiment, the first audio that the first loudspeaker is played can be gathered by the microphone of communication terminal, then By the collection audio transmission collected to processor, judge whether the loudness for gathering audio is less than default loudness threshold by processor Value, if, it is determined that the loudness for first audio that first loudspeaker is played out is less than default loudness threshold.
In the present embodiment, judging unit 43 can be used for judging whether the sound hole of first loudspeaker is plugged, if so, Then determine that the loudness for first audio that first loudspeaker is played out is less than default loudness threshold.
In the embodiment, whether the above-mentioned sound hole for judging the first loudspeaker is plugged to be mounted in is raised one's voice with first The camera collection image of device the same face, when the graphical representation camera that the camera is collected is blocked by object, it is determined that Whether the sound hole of the first loudspeaker is plugged.For example:The completely black then expression camera of image of camera collection is by object Block.It is, of course, also possible to which the image gathered by the set location camera close with the set location of the first loudspeaker judges Whether the sound hole of first loudspeaker is plugged.
Second broadcast unit 44, for judging first loudspeaker is played out described first in the judging unit 43 When the loudness of audio is less than default loudness threshold, the second loudspeaker is controlled to be played with the first audio according to first playing request Power plays first audio, wherein, it is the audio for being used to carry out outer sound broadcasting pre-set that the first audio, which plays power, Play power.
The first audio played when the first loudspeaker can just be realized by the broadcast unit 44 of judging unit 43 and second When loudness is smaller, the outer sound of the second loudspeaker of control plays the first audio, to avoid user from can't hear the first audio, for example:Keep away Exempt from user and can't hear incoming call tone.
3rd broadcast unit 45, please for working as the second broadcasting received for the second audio to be carried out to handset mode broadcasting When asking, control second loudspeaker to play power with the second audio according to second playing request and play second sound Frequently, wherein, it is that the audio for being used to carry out handset mode broadcasting pre-set plays power that second audio, which plays power,.
In the present embodiment, as shown in figure 5, described device can also include:
Stop element 46, for judging first audio that first loudspeaker is played out when the judging unit 43 Loudness when being less than default loudness threshold, stop first loudspeaker and play first audio.
When being less than default loudness threshold due to the loudness of the audio of the first loudspeaker broadcasting, then it is considered that the first loudspeaker The audio user that outer sound is played possibly can not be heard, first sound is played so as to directly stop first loudspeaker Frequently, to save equipment power dissipation.
In the present embodiment, above-mentioned reception is used to the first audio carrying out the first playing request that outer sound is played, and can include:
Receive the call request that calling terminal is sent.
I.e. above-mentioned first audio is received the tone played during the call request of calling terminal transmission, example by communication terminal Such as:Mobile phone receives the incoming call tone played during incoming call.In addition, call request here can be phone call request, may be used also To be the call request in instant messaging.
In the embodiment, above-mentioned the second playing request for being used to carrying out the second audio into handset mode broadcasting can be wrapped Include:
The connection request that call is connected is set up with the calling terminal.
So above-mentioned second audio can be just to set up the voice transmitted after call connection in call connection.
In the embodiment, it is possible to achieve communication terminal controls the first loudspeaker and second to raise when receiving call request Sound device plays tone, and after call connection is set up, the second loudspeaker of control plays call voice with handset mode.It can so keep away Exempt from when the first loudspeaker is plugged, user can not exhale tone.
In the present embodiment, the embodiment of plurality of optional is added on the basis of the embodiment shown in Fig. 3, and can Realize and improve the effect that communication terminal plays audio.
Referring to Fig. 6, Fig. 6 is the structural representation of another audio playing apparatus provided in an embodiment of the present invention, such as Fig. 6 It is shown, including:Processor 61, network interface 62, memory 63 and communication bus 64, wherein, the communication bus 64 is used for real Connection communication between the existing processor 61, network interface 62 and memory 63, the processor 61 performs the memory 63 The program of middle storage is used to realize following operation:
Receive for the first audio to be carried out into the first playing request that outer sound is played;
Control the first loudspeaker that first audio is carried out into outer sound according to first playing request to play, and control Second loudspeaker plays power with the first audio and plays first audio, wherein, the first audio plays power to pre-set Be used for carry out outer sound broadcasting audio play power;
When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, broadcast according to described second Put request control second loudspeaker and power broadcasting second audio is played with the second audio, wherein, second audio It is that the audio for being used to carry out handset mode broadcasting pre-set plays power to play power.
In the present embodiment, the operation that processor 61 is performed can also include:
Judge whether the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, if It is then to perform the second loudspeaker of the control to play the step of power plays first audio with the first audio.
In the present embodiment, the loudness for judging first audio that first loudspeaker is played out that processor 61 is performed Whether it is less than the operation of default loudness threshold, can includes:
First audio that first loudspeaker is played out is gathered, to obtain collection audio, and the collection is judged Whether the loudness of audio is less than default loudness threshold, if, it is determined that first audio that first loudspeaker is played out Loudness be less than default loudness threshold;Or
Judge whether the sound hole of first loudspeaker is plugged, if, it is determined that what first loudspeaker was played out The loudness of first audio is less than default loudness threshold.
In the present embodiment, the operation that processor 61 is performed can also include:
When the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, stop described First loudspeaker plays first audio.
It is described to receive for the first audio to be carried out into the first playing request that outer sound is played in the present embodiment, it can include:
Receive the call request that calling terminal is sent;
Second playing request for being used to carrying out the second audio into handset mode broadcasting, can include:
The connection request that call is connected is set up with the calling terminal.
In the present embodiment, said apparatus can apply to communication terminal, the communication terminal can be tablet personal computer, mobile phone, Electronic reader, remote control, mobile unit, wearable device etc. have the smart machine of network function.
In the present embodiment, receive for the first audio to be carried out into the first playing request that outer sound is played;According to described first Playing request controls the first loudspeaker that first audio is carried out into outer sound broadcasting, and the second loudspeaker of control with the first audio Play power and play first audio, wherein, it is to pre-set for carrying out outer sound broadcasting that the first audio, which plays power, Audio plays power;When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, according to described Second playing request controls second loudspeaker to play power with the second audio and plays second audio, wherein, described the It is that the audio for being used to carry out handset mode broadcasting pre-set plays power that two audios, which play power,.It can so realize when the When one loudspeaker is plugged, the second loudspeaker can play the first audio by sound in addition, so as to avoid user from hearing not the first sound Frequently, with improve communication terminal play audio effect.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (6)

1. a kind of audio frequency playing method, it is characterised in that including:
Receive for the first audio to be carried out into the first playing request that outer sound is played;
Control the first loudspeaker that first audio is carried out into outer sound according to first playing request to play, and control second Loudspeaker plays power with the first audio and plays first audio, wherein, it is the use pre-set that the first audio, which plays power, Power is played in the audio for carrying out outer sound broadcasting;
When receiving the second playing request for the second audio to be carried out to handset mode broadcasting, being played according to described second please Ask control second loudspeaker to play power with the second audio and play second audio, wherein, second audio is played Power is that the audio for being used to carry out handset mode broadcasting pre-set plays power;
Wherein, methods described also includes:
Judge whether the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, if so, then Perform the second loudspeaker of the control and the step of power plays first audio is played with the first audio;
Wherein, whether the loudness for judging first audio that first loudspeaker is played out is less than default loudness threshold Value, including:
First audio that first loudspeaker is played out is gathered, to obtain collection audio, and the collection audio is judged Loudness whether be less than default loudness threshold, if, it is determined that the sound for first audio that first loudspeaker is played out Degree is less than default loudness threshold;Or
Judge whether the sound hole of first loudspeaker is plugged, if, it is determined that it is described that first loudspeaker is played out The loudness of first audio is less than default loudness threshold.
2. the method as described in claim 1, it is characterised in that methods described also includes:
When the loudness for first audio that first loudspeaker is played out is less than default loudness threshold, stop described first Loudspeaker plays first audio.
3. the method as described in claim 1, it is characterised in that the reception is used to carrying out the first audio into the of outer sound broadcasting One playing request, including:
Receive the call request that calling terminal is sent;
Second playing request for being used to carrying out the second audio into handset mode broadcasting, including:
The connection request that call is connected is set up with the calling terminal.
4. a kind of audio playing apparatus, it is characterised in that including:Receiving unit, the first broadcast unit, the second broadcast unit and Three broadcast units, wherein:
The receiving unit, is used to the first audio carrying out the first playing request that outer sound is played for receiving;
First broadcast unit, for controlling the first loudspeaker to carry out first audio according to first playing request Outer sound is played;
Second broadcast unit, for controlling the second loudspeaker to play power with the first audio according to first playing request First audio is played, wherein, it is that the audio for being used to carry out outer sound broadcasting pre-set is played that the first audio, which plays power, Power;
3rd broadcast unit, for working as the second playing request received for the second audio to be carried out to handset mode broadcasting When, control second loudspeaker to play power with the second audio according to second playing request and play second audio, Wherein, it is that the audio for being used to carry out handset mode broadcasting pre-set plays power that second audio, which plays power,;
Wherein, described device also includes:
Judging unit, for judging whether the loudness for first audio that first loudspeaker is played out is less than default loudness Threshold value;
Second broadcast unit is used to judge first audio that first loudspeaker is played out in the judging unit Loudness when being less than default loudness threshold, control the second loudspeaker to play power with the first audio according to first playing request Play first audio;
Wherein, the judging unit is used to gather first audio that first loudspeaker is played out, to obtain collection sound Frequently, and judge whether the loudness of the collection audio is less than default loudness threshold, if, it is determined that first loudspeaker is played The loudness of first audio gone out is less than default loudness threshold;Or
The judging unit is used to judge whether the sound hole of first loudspeaker is plugged, if, it is determined that described first raises The loudness for first audio that sound device is played out is less than default loudness threshold.
5. device as claimed in claim 4, it is characterised in that described device also includes:
Stop element, for judging that the loudness for first audio that first loudspeaker is played out is small when the judging unit When default loudness threshold, stop first loudspeaker and play first audio.
6. device as claimed in claim 4, it is characterised in that the receiving unit is used for the calling for receiving calling terminal transmission Request;
Second playing request for being used to carrying out the second audio into handset mode broadcasting, including:
The connection request that call is connected is set up with the calling terminal.
CN201510607411.1A 2015-09-22 2015-09-22 A kind of audio frequency playing method and device Active CN105260159B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710855477.1A CN107621933B (en) 2015-09-22 2015-09-22 Audio playing method and device and related medium product
CN201510607411.1A CN105260159B (en) 2015-09-22 2015-09-22 A kind of audio frequency playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510607411.1A CN105260159B (en) 2015-09-22 2015-09-22 A kind of audio frequency playing method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710855477.1A Division CN107621933B (en) 2015-09-22 2015-09-22 Audio playing method and device and related medium product

Publications (2)

Publication Number Publication Date
CN105260159A CN105260159A (en) 2016-01-20
CN105260159B true CN105260159B (en) 2017-10-17

Family

ID=55099865

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710855477.1A Active CN107621933B (en) 2015-09-22 2015-09-22 Audio playing method and device and related medium product
CN201510607411.1A Active CN105260159B (en) 2015-09-22 2015-09-22 A kind of audio frequency playing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710855477.1A Active CN107621933B (en) 2015-09-22 2015-09-22 Audio playing method and device and related medium product

Country Status (1)

Country Link
CN (2) CN107621933B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255000A (en) * 2016-07-29 2016-12-21 维沃移动通信有限公司 A kind of audio signal sample method and mobile terminal
CN106959838A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Audio control method, audio control apparatus and electronic installation
CN108762476B (en) * 2018-03-21 2021-04-09 Oppo广东移动通信有限公司 Equipment prompting method and related product
CN109343820A (en) * 2018-10-12 2019-02-15 Oppo广东移动通信有限公司 A kind of control method, device and terminal that audio plays
CN109996161B (en) * 2019-04-23 2021-04-27 Oppo广东移动通信有限公司 Mobile terminal, voice control method thereof and device with storage function
CN112822665A (en) * 2019-11-18 2021-05-18 阿里巴巴集团控股有限公司 Audio playing method, device, equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946246A (en) * 2005-10-09 2007-04-11 宏达国际电子股份有限公司 Arbitral method for audio output device
CN103811033A (en) * 2012-11-14 2014-05-21 北京新媒传信科技有限公司 Method and device for controlling voice playing modes
CN103985397A (en) * 2014-04-18 2014-08-13 青岛尚慧信息技术有限公司 Electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6359984B1 (en) * 1998-07-28 2002-03-19 Samsung Electronics Co., Ltd. Flip-up type or folder type mobile telephone terminal which enables user to answer call without opening flip or folder
KR100283570B1 (en) * 1998-08-25 2001-03-02 윤종용 PC control device and method according to whether headphone is inserted or not
CN1946089A (en) * 2005-10-09 2007-04-11 华硕电脑股份有限公司 Portable communication device
CN102143421B (en) * 2010-02-02 2013-06-05 华为终端有限公司 Terminal and method for processing audio of terminal
CN102176730B (en) * 2011-01-06 2014-12-10 中兴通讯股份有限公司 Electronic terminal and ringtone prompt method of electronic terminal
CN104640029A (en) * 2013-11-06 2015-05-20 索尼公司 Audio outputting method and device, and electronic device
CN103985396A (en) * 2014-04-18 2014-08-13 青岛尚慧信息技术有限公司 Audio playing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946246A (en) * 2005-10-09 2007-04-11 宏达国际电子股份有限公司 Arbitral method for audio output device
CN103811033A (en) * 2012-11-14 2014-05-21 北京新媒传信科技有限公司 Method and device for controlling voice playing modes
CN103985397A (en) * 2014-04-18 2014-08-13 青岛尚慧信息技术有限公司 Electronic device

Also Published As

Publication number Publication date
CN107621933A (en) 2018-01-23
CN107621933B (en) 2020-08-04
CN105260159A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105260159B (en) A kind of audio frequency playing method and device
US8290537B2 (en) Sidetone adjustment based on headset or earphone type
CN104521247B (en) Bluetooth headset hearing aid and anti-noise method and apparatus
CN112055349B (en) Wireless communication method and Bluetooth device
US11501779B2 (en) Bluetooth speaker base, method and system for controlling thereof
CN106210960B (en) Headphone device with local call situation affirmation mode
CN105049977A (en) Automatic earphone volume adjusting method and device
CN110493678A (en) The control method and device of earphone
CN106797508A (en) Method and earphone for improving tonequality
CN102170493A (en) Mobile phone as well as method and device for controlling video calls of mobile phone
WO2020019843A1 (en) Microphone hole blockage detection method and related product
US20230147435A1 (en) Audio Processing Method, Apparatus, and System
CN104217750A (en) A holographic audio record and playback method
CN111770404A (en) Recording method, recording device, electronic equipment and readable storage medium
CN110381215B (en) Audio distribution method and device, storage medium and computer equipment
CN111107226A (en) Volume control method applied to mobile terminal
CN113347307B (en) Method for suppressing leakage, related device and computer readable storage medium
CN105187993B (en) A kind of three-dimension stereo Headphone device and restoring method
CN107171696A (en) Communication equipment connects the stereo implementation method of call of wireless headset
CN104168534A (en) Holographic audio device and control method
CN105007364A (en) Voice conversation method and voice conversation apparatus
CN105554231A (en) Voice communication method and apparatus
CN108154886A (en) Noise suppressing method and device, electronic device and computer readable storage medium
CN202759583U (en) Audio acquisition device and audio recording device
CN105933816A (en) Wireless headset, playing method and device of wireless headset, headset data line and playing equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder