Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
First embodiment
As shown in figure 1, the first embodiment of the present invention provides a kind of method of playing audio-fequency data, the method includes:
Step 101, when the play instruction of voice data is received, whether the play mode for judging terminal is that earphone is played
Pattern.
Wherein, in an embodiment of the present invention, the play mode of terminal includes:Earphone play mode and/or loudspeaker are broadcast
Mode playback.And used as an example, above-mentioned terminal can be the equipment such as smart mobile phone, panel computer.
Wherein, after above-mentioned steps 101 have been performed, the above method also comprises the following steps:If the play mode of terminal
It is loudspeaker play mode, then by the loudspeaker playing audio-fequency data of terminal.That is, when the play mode of terminal is broadcast for loudspeaker
During mode playback, by the loudspeaker normal play voice data of terminal.
Step 102, if the play mode of terminal is earphone play mode, data processing is carried out to voice data, is obtained
Export the first played data of the earphone being extremely connected with terminal and export to the second played data of the loudspeaker of terminal.
Wherein, the first played data is different from the second played data, so that follow-up earphone and loudspeaker play audio simultaneously
Sound Ambience can be lifted during data.
Wherein, in an embodiment of the present invention, when the play mode of terminal is earphone play mode, voice data is entered
Row data processing, obtains output to the first played data of earphone be connected with terminal and exports to the of the loudspeaker of terminal
The specific implementation of two played datas can be:Detection terminal whether receive audio enhancing instruction, and if terminal receive
Audio enhancing instruction, then carry out data processing to voice data, obtains the first broadcasting number of output to the earphone being connected with terminal
According to this and output to terminal loudspeaker the second played data.Certainly whether audio enhancing instruction is received in detection terminal
After step, the above method also comprises the following steps:If terminal does not receive audio enhancing instruction, audio is played by earphone
Data.When i.e., equivalent to audio enhancing need not be carried out to the voice data that earphone is played, audio number is directly played by earphone
According to so that user will not cause noise jamming in the voice data for listening earphone to play to the environment where terminal.
In this as an example, can by the setting interface of terminal set one be used for control audio it is enhanced switch come
Realize the enhanced open and close of audio.Specifically, when the switch is open, it is determined that terminal have received audio enhancing and refer to
Order, and when the switch is closed, it is determined that terminal does not receive audio enhancing instruction.
Step 103, the first played data is played by earphone, and simultaneously by loudspeaker the second played data of broadcasting, shape
Into the broadcasting of voice data.
Wherein, in an embodiment of the present invention, while earphone plays the first played data, open loudspeaker and play the
Two played datas, i.e. equivalent to earphone and loudspeaker while playing audio-fequency data.It can be seen that, in an embodiment of the present invention, pass through
Increase the mode of sounding point, the effect of sound Ambience when having reached lifting by earphone playing audio-fequency data.
As can be seen here, in an embodiment of the present invention, by when the play instruction of voice data is received, judging terminal
Play mode whether be earphone play mode, and if terminal play mode be earphone play mode, voice data is entered
Row data processing, obtains output to the first played data of earphone be connected with terminal and exports to the of the loudspeaker of terminal
Two played datas (second played data is different from the first played data), the first played data is played eventually through earphone, and
The second played data is played by loudspeaker simultaneously, the broadcasting of voice data is formed, solved by earphone playing audio-fequency data
When, sound sounds that comparing is inaccessible, the problem for causing sound Ambience poor, has reached lifting by earphone playing audio-fequency data
When sound Ambience effect.
Second embodiment
As shown in Fig. 2 the second embodiment of the present invention provides a kind of method of playing audio-fequency data, the method includes:
Step 201, when the play instruction of voice data is received, whether the play mode for judging terminal is that earphone is played
Pattern.
Wherein, in an embodiment of the present invention, the play mode of terminal includes:Earphone play mode and/or loudspeaker are broadcast
Mode playback.And used as an example, above-mentioned terminal can be the equipment such as smart mobile phone, panel computer.
Wherein, after above-mentioned steps 201 have been performed, the above method also comprises the following steps:If the play mode of terminal
It is loudspeaker play mode, then by the loudspeaker playing audio-fequency data of terminal.That is, when the play mode of terminal is broadcast for loudspeaker
During mode playback, by the loudspeaker normal play voice data of terminal.
Step 202, if the play mode of terminal is earphone play mode, obtains the dual channel data of voice data.
Wherein, in an embodiment of the present invention, above-mentioned dual channel data can be left channel data and right data, i.e.,
For the channel data that general earphone is played.And in an embodiment of the present invention, can using at present obtain dual channel data by the way of,
The dual channel data of voice data is obtained, therefore here, the concrete mode for obtaining dual channel data is not repeated excessively.
Additionally, in an embodiment of the present invention, when the play mode of terminal is earphone play mode, only when terminal connects
When receiving audio enhancing instruction, the dual channel data of voice data can be just obtained;And work as terminal and do not receive audio enhancing instruction
When, terminal will be by earphone playing audio-fequency data.
Step 203, according to dual channel data, obtains output to the first played data of the earphone being connected with terminal and defeated
Go out to the second played data of the loudspeaker of terminal.
Wherein, the first played data is data of the output to the earphone being connected with terminal, and the second played data is to export extremely
The data of the loudspeaker of terminal, and the first played data is different from the second played data.It should be noted that in reality of the invention
Apply in example, it is in order that earphone subsequently plays audio number with loudspeaker simultaneously to obtain the first played data and the second played data
According to, reach lifting sound Ambience effect.
Step 204, the first played data is played by earphone, and simultaneously by loudspeaker the second played data of broadcasting, shape
Into the broadcasting of voice data.
Wherein, in an embodiment of the present invention, the corresponding relation of play mode and broadcast sound volume can be prestored in terminal.
The corresponding relation is specifically included:When the play mode of terminal is earphone play mode, the broadcast sound volume of earphone;When broadcasting for terminal
When mode playback is loudspeaker play mode, the broadcast sound volume of loudspeaker;When the play mode of terminal is earphone play mode and is raised
During sound device play mode, the broadcast sound volume of earphone and the broadcast sound volume of loudspeaker.And for ease of lifting sound surrounding effect, terminal
The broadcast sound volume of loudspeaker of play mode when being earphone play mode and loudspeaker play mode should be greater than, the broadcasting of terminal
The broadcast sound volume of loudspeaker when pattern is loudspeaker play mode.
Wherein, in an embodiment of the present invention, above-mentioned steps 203 include two kinds of concrete implementation modes.Wherein, step
203 the first specific implementation comprises the following steps:First using dual channel data as the first played data, and to alliteration
The default frequency range of track data is filtered treatment, obtains the channel data after filtering process;Then by the sound channel after filtering process
Data are used as the second played data.Wherein, above-mentioned default frequency range can be low frequency, or high frequency.It should be noted that right
The default frequency range of dual channel data is filtered treatment and can both be realized by software algorithm, can also be realized by hardware filtering.
But no matter being filtered by any realization in this two filtering mode, it belongs to public affairs for a person skilled in the art
Know general knowledge.Therefore here, not repeated excessively the concrete mode for filtering.
Wherein, second specific implementation of above-mentioned steps 203 comprises the following steps:Dual channel data is carried out first
Conversion process, obtains at least three channel datas of the voice data in different sound channels;Then by least three channel datas
Two channel datas as the first played data, and by the channel number at least three channel datas in addition to two channel datas
According to as the second played data.
If it should be noted that step 203 uses the first specific implementation, then the audio number that step 204 is played
According to should be 2.1 channel sounds, and if step 203 uses second specific implementation, then the voice data that step 204 is played
A.0 (A is the integer more than or equal to three, and A is the channel number of above-mentioned at least three channel data) channel sound is should be, quite
In surround sound effect.
Wherein, in an embodiment of the present invention, after above-mentioned steps 204 have been performed, the above method also includes following step
Suddenly:The first volume adjusting instruction of the volume for adjusting the first played data is received, and tune is instructed according to the first volume adjusting
Save the volume of the first played data;And/or, the second volume adjusting instruction of the volume for adjusting the second played data is received,
And according to the volume of the second volume adjusting instruction the second played data of regulation.It can be seen that, in an embodiment of the present invention, can individually,
The first played data is adjusted with the volume of the second played data respectively, so that sound surrounding effect is more preferably.
Here, implement that the above method is expanded on further with one, as shown in figure 3, in this example, the above method includes
Following steps:
Step 301, when receiving the play instruction of voice data, whether the play mode for judging terminal is that earphone plays mould
Formula, if the play mode of terminal is loudspeaker play mode, performs step 302, if the play mode of terminal is played for earphone
Pattern, then perform step 303;
Step 302, by the loudspeaker playing audio-fequency data of terminal;
Whether step 303, detection terminal receives audio enhancing instruction, if not receiving audio enhancing instruction, performs
Step 304, and if receiving audio strengthens instruction, execution step 305.
Step 304, by earphone playing audio-fequency data;
Step 305, by earphone and loudspeaker while playing audio-fequency data.
It can be seen that, in an embodiment of the present invention, by when the play instruction of voice data is received, judging broadcasting for terminal
Whether mode playback is earphone play mode, and if the play mode of terminal is earphone play mode, obtain the double of voice data
Channel data, according to dual channel data, obtains the first played data and second played data different from the first played data,
The first played data is played eventually through earphone, and voice data is formed by loudspeaker the second played data of broadcasting simultaneously
Play, solve during by earphone playing audio-fequency data, sound sounds that comparing is inaccessible, cause that sound Ambience is poor to ask
Topic, the effect of sound Ambience when having reached lifting by earphone playing audio-fequency data.
3rd embodiment
As shown in figure 4, the third embodiment of the present invention provides a kind of terminal, the terminal 400 includes:
Judge module 401, for when the play instruction of voice data is received, judge terminal play mode whether be
Earphone play mode, and if terminal play mode be earphone play mode, trigger processing module 402;
Processing module 402, for the triggering according to judge module 401, data processing is carried out to voice data, is exported
To the first played data of earphone be connected with terminal and export to the second played data of the loudspeaker of terminal;Wherein,
One played data is different from the second played data;
Playing module 403, plays for playing the first played data by earphone, and playing second by loudspeaker simultaneously
Data, form the broadcasting of voice data.
Wherein, above-mentioned terminal 400 can be the equipment such as smart mobile phone, panel computer.
Optionally, processing module 402, specifically for detection terminal whether receive audio enhancing instruction, and if terminal connect
Audio enhancing instruction is received, then data processing is carried out to voice data, obtain the earphone that output is extremely connected with terminal first is broadcast
Put the second played data of data and output to the loudspeaker of terminal.
Optionally, processing module 402 includes:
First treatment submodule, the dual channel data for obtaining voice data;
Second processing submodule, for according to dual channel data, obtain the earphone that output is extremely connected with terminal first to be broadcast
Put the second played data of data and output to the loudspeaker of terminal.
Optionally, second processing submodule includes:
First processing units, for using dual channel data as the first played data, and to the default frequency of dual channel data
Section is filtered treatment, obtains the channel data after filtering process;
Second processing unit, for using the channel data after filtering process as the second played data.
Optionally, second processing submodule includes:
3rd processing unit, for carrying out conversion process to dual channel data, obtains voice data in different sound channels extremely
Few three channel datas;
Fourth processing unit, for using two channel datas at least three channel datas as the first played data,
And using the channel data at least three channel datas in addition to two channel datas as the second played data.
Optionally, terminal also includes:
First adjustment module, the first volume adjusting instruction for receiving the volume for adjusting the first played data, and
According to the volume of the first volume adjusting instruction the first played data of regulation;And/or
Second adjustment module, the second volume adjusting instruction for receiving the volume for adjusting the second played data, and
According to the volume of the second volume adjusting instruction the second played data of regulation.In an embodiment of the present invention, terminal is by receiving
To voice data play instruction when, whether the play mode for judging terminal is earphone play mode, and if terminal broadcasting mould
Formula is earphone play mode, then data processing is carried out to voice data, and obtain the earphone that output is extremely connected with terminal first is broadcast
Second played data (second played data is different from the first played data) of data and output to the loudspeaker of terminal is put,
The first played data is played eventually through earphone, and voice data is formed by loudspeaker the second played data of broadcasting simultaneously
Play, solve during by earphone playing audio-fequency data, sound sounds that comparing is inaccessible, cause that sound Ambience is poor to ask
Topic, the effect of sound Ambience when having reached lifting by earphone playing audio-fequency data.
It should be noted that the terminal that third embodiment of the invention is provided is using the terminal of the above method, i.e., above-mentioned side
All embodiments of method are applied to the terminal, and can reach same or analogous beneficial effect.
Fourth embodiment
As shown in figure 5, the fourth embodiment of the present invention provides a kind of terminal, the terminal 500 includes:At least one treatment
Device 501, memory 502, at least one network interface 504 and other users interface 503.Each component in terminal 500 passes through
Bus system 505 is coupled.It is understood that bus system 505 is used to realize the connection communication between these components.Total linear system
505 are united in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.But for clear theory
For the sake of bright, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside height
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for
Realize various basic businesses and process hardware based task.Application program 5022, comprising various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program for calling memory 502 to store or instruction, specifically, can be application
The program stored in program 5022 or instruction, processor 501 are used to, when the play instruction of voice data is received, judge terminal
Play mode whether be earphone play mode;If the play mode of terminal is earphone play mode, voice data is carried out
Data processing, obtains output to the first played data of the earphone being connected with terminal and exports to the second of the loudspeaker of terminal
Played data;Wherein, the first played data is different from the second played data;First played data is played by earphone, and simultaneously
Second played data is played by loudspeaker, the broadcasting of voice data is formed.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned treatment
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 502, processor 501 reads the information in memory 502, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realized for software, can be realized by performing the module (such as process, function etc.) of function described herein herein
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realize processor outside.
Alternatively, processor 501 is additionally operable to:Whether detection terminal receives audio enhancing instruction;If terminal receives sound
Effect enhancing instruction, then carry out data processing to voice data, obtains the first played data of output to the earphone being connected with terminal
And export to the second played data of the loudspeaker of terminal.
Alternatively, processor 501 is additionally operable to:Obtain the dual channel data of voice data;According to dual channel data, obtain defeated
Go out to the earphone being connected with terminal the first played data and output to terminal loudspeaker the second played data.
Alternatively, processor 501 is additionally operable to:Using dual channel data as the first played data, and to dual channel data
Default frequency range is filtered treatment, obtains the channel data after filtering process;Using the channel data after filtering process as second
Played data.
Alternatively, processor 501 is additionally operable to:Carry out conversion process to dual channel data, obtain voice data not in unison
At least three channel datas in road;Using two channel datas at least three channel datas as the first played data, and will
Channel data at least three channel datas in addition to two channel datas is used as the second played data.
Alternatively, processor 501 is additionally operable to:The first volume adjusting for receiving the volume for adjusting the first played data refers to
Order, and according to the volume of the first volume adjusting instruction the first played data of regulation;And/or, receive and play number for adjusting second
According to volume the second volume adjusting instruct, and according to the second volume adjusting instruction regulation the second played data volume.
Terminal 500 can realize each process of terminal realization in previous embodiment, to avoid repeating, no longer go to live in the household of one's in-laws on getting married here
State.
In the fourth embodiment of the present invention, terminal is by when the play instruction of voice data is received, judging terminal
Play mode whether be earphone play mode, and if terminal play mode be earphone play mode, voice data is entered
Row data processing, obtains output to the first played data of earphone be connected with terminal and exports to the of the loudspeaker of terminal
Two played datas (second played data is different from the first played data), the first played data is played eventually through earphone, and
The second played data is played by loudspeaker simultaneously, the broadcasting of voice data is formed, solved by earphone playing audio-fequency data
When, sound sounds that comparing is inaccessible, the problem for causing sound Ambience poor, has reached lifting by earphone playing audio-fequency data
When sound Ambience effect.
5th embodiment
As shown in fig. 6, the fifth embodiment of the present invention provides a kind of terminal, the terminal 600 can be mobile phone, flat board electricity
Brain, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block
630th, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and power supply
690。
Wherein, input block 630 can be used to receive the numeral or character information of user input, and produce and terminal 600
User set and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 630 can be with
Including contact panel 631.Contact panel 631, also referred to as touch-screen, can collect user thereon or neighbouring touch operation (ratio
Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 631), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller two
Individual part.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give the processor 660, and the order sent of receiving processor 660 and can be performed.Furthermore, it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630
Other input equipments 632 can also be included, other input equipments 632 can include but is not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 640 can be used for display by the information of user input or be supplied to the information and terminal of user
600 various menu interfaces.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission two
The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection
Measure thereon or after neighbouring touch operation, processor 660 is sent to determine the type of touch event, with preprocessor
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area be used for show utilization rate control higher, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of terminal 600, using various interfaces and connection whole mobile phone each
Part, by running or performing software program of the storage in first memory 621 and/or module, and calls storage the
Data in two memories 622, perform the various functions and processing data of terminal 600, so as to carry out overall prison to terminal 600
Control.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 is for when the play instruction of voice data is received, judging terminal
Play mode whether be earphone play mode;If the play mode of terminal is earphone play mode, voice data is carried out
Data processing, obtains output to the first played data of the earphone being connected with terminal and exports to the second of the loudspeaker of terminal
Played data;Wherein, the first played data is different from the second played data;First played data is played by earphone, and simultaneously
Second played data is played by loudspeaker, the broadcasting of voice data is formed.
Alternatively, processor 660 is additionally operable to:Whether detection terminal receives audio enhancing instruction;If terminal receives sound
Effect enhancing instruction, then carry out data processing to voice data, obtains the first played data of output to the earphone being connected with terminal
And export to the second played data of the loudspeaker of terminal.
Alternatively, processor 660 is additionally operable to:Obtain the dual channel data of voice data;According to dual channel data, obtain defeated
Go out to the earphone being connected with terminal the first played data and output to terminal loudspeaker the second played data.
Alternatively, processor 660 is additionally operable to:Using dual channel data as the first played data, and to dual channel data
Default frequency range is filtered treatment, obtains the channel data after filtering process;Using the channel data after filtering process as second
Played data.
Alternatively, processor 660 is additionally operable to:Carry out conversion process to dual channel data, obtain voice data not in unison
At least three channel datas in road;Using two channel datas at least three channel datas as the first played data, and will
Channel data at least three channel datas in addition to two channel datas is used as the second played data.
Alternatively, processor 660 is additionally operable to:The first volume adjusting for receiving the volume for adjusting the first played data refers to
Order, and according to the volume of the first volume adjusting instruction the first played data of regulation;And/or, receive and play number for adjusting second
According to volume the second volume adjusting instruct, and according to the second volume adjusting instruction regulation the second played data volume.
It can be seen that, in the fifth embodiment of the present invention, terminal is by when the play instruction of voice data is received, judging
Whether the play mode of terminal is earphone play mode, and if terminal play mode be earphone play mode, to audio number
According to data processing is carried out, output is obtained to the first played data of the earphone being connected with terminal and is exported to the loudspeaker of terminal
The second played data (second played data is different from the first played data), eventually through earphone play first play number
According to, and the broadcasting of voice data is formed by loudspeaker the second played data of broadcasting simultaneously, solve and audio is played by earphone
During data, sound sounds that comparing is inaccessible, the problem for causing sound Ambience poor, has reached lifting and has played audio by earphone
The effect of sound Ambience during data.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.