CN108268234A - A kind of audio output control method, device and terminal - Google Patents

A kind of audio output control method, device and terminal Download PDF

Info

Publication number
CN108268234A
CN108268234A CN201611259138.9A CN201611259138A CN108268234A CN 108268234 A CN108268234 A CN 108268234A CN 201611259138 A CN201611259138 A CN 201611259138A CN 108268234 A CN108268234 A CN 108268234A
Authority
CN
China
Prior art keywords
target audio
audio data
output
road
destined
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.)
Pending
Application number
CN201611259138.9A
Other languages
Chinese (zh)
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.)
ThunderSoft Co Ltd
Original Assignee
ThunderSoft 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 ThunderSoft Co Ltd filed Critical ThunderSoft Co Ltd
Priority to CN201611259138.9A priority Critical patent/CN108268234A/en
Publication of CN108268234A publication Critical patent/CN108268234A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stereophonic System (AREA)

Abstract

This application discloses a kind of audio output control method, device and terminal, method includes:Determine multichannel target audio data to be output and the corresponding destined output device of audio data described in per road;One target audio mixing thread of target audio data creation described in its corresponding output channel Bing Weimei road is opened for each destined output device;Stereo process is carried out using its corresponding target audio mixing thread to target audio data described in every road;Every road is transferred to corresponding destined output device by the target audio data of stereo process using corresponding output channel, the target audio data received by each destined output device output.The specific output channel of corresponding output equipment is opened in the application to audio frequency apparatus so that be independent of each other between the output of each road audio data, be achieved in multi-path audio-frequency data and separate independent output so that multiple users can share an equipment, economize on resources.

Description

A kind of audio output control method, device and terminal
Technical field
This application involves audio frequency control technical field, more particularly to a kind of audio output control method, device and terminal.
Background technology
At present, although having been able to realize the technology of colour display on the mobile apparatus, and audio can not separate, but Multi-path audio-frequency data is synthesized audio data all the way by stereo process to export so that the sound of multiple applications cannot separate independent Output, more people cannot use same mobile equipment simultaneously as a result, cause the wasting of resources.
Invention content
In view of this, the application is designed to provide a kind of audio output control method, device and terminal, solving The technical issues of MCVF multichannel voice frequency can not separate in equipment is moved in the prior art.
This application provides a kind of audio output control method, including:
Determine multichannel target audio data to be output and the corresponding destined output device of audio data described in per road;
Target sound frequency described in its corresponding output channel Bing Weimei road is opened for each destined output device According to one target audio mixing thread of establishment;
Stereo process is carried out using its corresponding target audio mixing thread to target audio data described in every road;
Every road is transferred to corresponding mesh by the target audio data of stereo process using corresponding output channel Output equipment is marked, the target audio data received by each destined output device output.
The above method, it is preferred that it is described by every road by the target audio data of stereo process using corresponding defeated Go out tunnel to corresponding destined output device, including:
Target described in its corresponding output channel Bing Duimei road will be written by the target audio data of stereo process Audio data carries out digital-to-analogue conversion, the target sound frequency of analog signal received by each destined output device output According to.
The above method, it is preferred that described to open its corresponding output channel simultaneously for each destined output device For one target audio mixing thread of target audio data creation described in every road, including:
By target audio data described in every road and the information of corresponding destined output device notify to AudioPolicyManager;
It triggers the AudioPolicyManager and each destined output device pair is opened based on the information received The output channel answered, and be one target of target audio data creation described in per road while each output channel is opened Audio mixing thread.
The above method, it is preferred that described that its corresponding target audio mixing line is utilized to target audio data described in every road Cheng Jinhang stereo process, including:
It will be touched by AudioTrack per target audio data transfer described in road to its corresponding target audio mixing thread The target audio data that each target audio mixing thread of hair is respectively received it carry out stereo process.
Present invention also provides a kind of audio output control device, including:
Determination unit, for determining that audio data described in multichannel target audio data to be output and every road is corresponding Destined output device;
Operating unit, for opening its corresponding output channel Bing Weimei roads institute for each destined output device State one target audio mixing thread of target audio data creation;
Downmixing unit, for being mixed to target audio data described in every road using its corresponding target audio mixing thread Sound processing;
Transmission unit, for every road road to be utilized corresponding output channel by the target audio data of stereo process Corresponding destined output device is transferred to, the target audio data received by each destined output device output.
Above device, it is preferred that the transmission unit is specifically used for:
Target described in its corresponding output channel Bing Duimei road will be written by the target audio data of stereo process Audio data carries out digital-to-analogue conversion, the target sound frequency of analog signal received by each destined output device output According to.
Above device, it is preferred that the operating unit is specifically used for:
By target audio data described in every road and the information of corresponding destined output device notify to AudioPolicyManager (audio policy management component), triggers the AudioPolicyManager based on the letter received Breath opens the corresponding output channel of each destined output device, and is per road while each output channel is opened Described one target audio mixing thread of target audio data creation.
Above device, it is preferred that the downmixing unit is specifically used for:
It will be per target audio data transfer described in road to its corresponding target audio mixing by AudioTrack (sound channel) Thread triggers the target audio data that each target audio mixing thread is respectively received it and carries out stereo process.
Present invention also provides a kind of terminals, are connected with output equipment, and the terminal includes:
Audio output control device, for determining that audio data described in multichannel target audio data to be output and every road is each Self-corresponding destined output device opens its corresponding output channel Bing Weimei roads institute for each destined output device One target audio mixing thread of target audio data creation is stated, its corresponding target is utilized to target audio data described in every road Audio mixing thread carries out stereo process, and phase is transferred to using corresponding output channel by the target audio data of stereo process The destined output device answered, the target audio data received by each destined output device output.
By said program it is found that the application provide a kind of audio-frequency inputting method, device and terminal, by MCVF multichannel voice frequency Data open simultaneously the output channel of multiple output equipments, so using audio mixing thread every road audio data is carried out audio mixing it Afterwards, it is respectively transmitted to using output channel on different output equipments, audio data is exported by output equipment.To sound in the application Frequency equipment opens the specific output channel of corresponding output equipment so that it is independent of each other between the output of each road audio data, by This realizes that multi-path audio-frequency data separates independent output so that multiple users can share an equipment, economize on resources.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the realization flow chart of a kind of audio output control method that the embodiment of the present application one provides;
Fig. 2~Fig. 4 is respectively the partial process view of the embodiment of the present application one;
Fig. 5 is the structure diagram of a kind of audio output control device that the embodiment of the present application two provides;
Fig. 6 is the structure diagram of a kind of terminal that the embodiment of the present application three provides;
Fig. 7 and Fig. 8 is respectively the application exemplary plot of the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
With reference to figure 1, for the realization flow chart of a kind of audio output control method that the embodiment of the present application one provides, it is suitable for The audio data of various mobile terminals, mobile equipment and various intelligent terminals independently exports, on mobile phone, pad or mobile unit Music and the audio of game independently export.
Specifically, it may comprise steps of in the present embodiment:
Step 101:Determine multichannel target audio data to be output and per the corresponding target of road target audio data Output equipment.
Wherein, target audio data to be output can be:The data such as music VF, gaming audio or call audio.Often The road corresponding destined output device of target audio data refers to, can export the output equipment of every road target audio data, Such as loud speaker, earphone, receiver or bluetooth equipment, wherein, bluetooth equipment can have bluetooth headset or Baffle Box of Bluetooth etc..
Specifically, in mobile equipment types of applications such as music player or game application when needing to export audio data, The output equipment needed is configured inside the setting project of application, and movement is notified to set in the form of arrange parameter It is standby, multichannel target audio data to be output are can determine in the present embodiment as a result, and per the corresponding mesh of road audio data Mark output equipment.
It should be noted that the output to target audio data all the way is equally applicable in the present embodiment.
Step 102:Its corresponding output channel, Bing Weimei roads target sound frequency are opened for each destined output device According to one target audio mixing thread of establishment.
Wherein, all information of audio data can be included in output channel Output:Audio stream information, volume and output are set Standby mark etc., it can be understood as the interface of software class, audio data can be transmitted by output.
Step 103:Stereo process is carried out using its corresponding target audio mixing thread to every road target audio data.
Wherein, audio mixing is carried out to it there are one target audio mixing thread per road target audio data, specifically, each target Audio mixing thread does stereo process by mixer.
Step 104:Every road is transferred to by the target audio data of stereo process using corresponding output channel Corresponding destined output device, the target audio data received by the output of each destined output device.
That is, each output channel by corresponding target audio data transmission to corresponding destined output device, make Target audio Dynamic data exchange can be exported by obtaining destined output device.
By said program it is found that a kind of audio-frequency inputting method that the embodiment of the present application one provides, by MCVF multichannel voice frequency number According to the output channel for opening simultaneously multiple output equipments, so using audio mixing thread to every road audio data carry out audio mixing after, It is respectively transmitted to using output channel on different output equipments, audio data is exported by output equipment.To audio in the application Equipment opens the specific output channel of corresponding output equipment so that is independent of each other between the output of each road audio data, thus Realize that multi-path audio-frequency data separates independent output so that multiple users can share an equipment, economize on resources.
In the concrete realization, step 104 can be realized by following steps, as shown in Figure 2:
Step 141:Its corresponding output channel will be written by the target audio data of stereo process.
Step 142:Digital-to-analogue conversion is carried out to every road target audio data, is received by the output of each destined output device The target audio data of analog signal.
Wherein, digital-to-analogue conversion refers to, the target audio data of digital signal form are carried out digital-to-analog conversion, are obtained The target audio data of analog signal form, in order to which destined output device can export target audio data.It specifically can be with It is realized using digital analog converter.
And step 102 can be realized by following steps, as shown in Figure 3:
Step 121:By the information of every road target audio data and its corresponding destined output device notify to AudioPolicyManager, as audio policy management component.
Step 122:Triggering AudioPolicyManager opens each destined output device pair based on the information received The output channel answered.
Step 123:It is per road target audio while each output channel is opened to trigger AudioPolicyManager One target audio mixing thread of data creation.
In addition, step 103 can be realized by following steps, as shown in Figure 4:
Step 131:It will be per road target audio data transfer to its corresponding target by AudioTrack, that is, sound channel Audio mixing thread.
Step 132:It triggers the target audio data that each target audio mixing thread is respectively received it and carries out stereo process.
With reference to figure 5, for the structure diagram of a kind of audio output control device that the embodiment of the present application two provides, it is suitable for The audio data of various mobile terminals, mobile equipment and various intelligent terminals independently exports, on mobile phone, pad or mobile unit Music and the audio of game independently export.
Specifically, it can include in the present embodiment with lower structure:
Determination unit 501, for determining that audio data described in multichannel target audio data to be output and every road is respectively right The destined output device answered.
Wherein, target audio data to be output can be:The data such as music VF, gaming audio or call audio.Often The road corresponding destined output device of target audio data refers to, can export the output equipment of every road target audio data, Such as loud speaker, earphone, receiver or bluetooth equipment, wherein, bluetooth equipment can have bluetooth headset or Baffle Box of Bluetooth etc..
Specifically, in mobile equipment types of applications such as music player or game application when needing to export audio data, The output equipment needed is configured inside the setting project of application, and movement is notified to set in the form of arrange parameter It is standby, multichannel target audio data to be output are can determine in the present embodiment as a result, and per the corresponding mesh of road audio data Mark output equipment.
It should be noted that the output to target audio data all the way is equally applicable in the present embodiment.
Operating unit 502, for opening its corresponding output channel for each destined output device and being every One target audio mixing thread of target audio data creation described in road.
Wherein, all information of audio data can be included in output channel Output:Audio stream information, volume and output are set Standby mark etc., it can be understood as the interface of software class, audio data can be transmitted by output.
Specifically, operating unit is specifically used for:Target audio data and corresponding target described in every road are exported and set Standby information notifies to give AudioPolicyManager (audio policy management component), triggers the AudioPolicyManager The corresponding output channel of each destined output device is opened, and logical opening each output based on the information received It is one target audio mixing thread of target audio data creation described in per road while road.
Downmixing unit 503, for target audio data described in every road using its corresponding target audio mixing thread into Row stereo process.
Wherein, audio mixing is carried out to it there are one target audio mixing thread per road target audio data, specifically, each target Audio mixing thread does stereo process by mixer.
Specifically, downmixing unit 503 is specifically used for:It will be per target audio data described in road by AudioTrack (sound channel) Its corresponding target audio mixing thread is transmitted to, triggers the target sound that each target audio mixing thread is respectively received it Frequency is according to progress stereo process.
Transmission unit 504, for every road road to be utilized corresponding output by the target audio data of stereo process Tunnel is to corresponding destined output device, the target audio data received by each destined output device output.
That is, each output channel by corresponding target audio data transmission to corresponding destined output device, make Target audio Dynamic data exchange can be exported by obtaining destined output device.
Specifically, transmission unit 504 is specifically used for:It is respectively corresponding by it is written by the target audio data of stereo process Output channel Bing Duimei roads described in target audio data carry out digital-to-analogue conversion, received by each destined output device output The target audio data of the analog signal arrived.
Wherein, digital-to-analogue conversion refers to, the target audio data of digital signal form are carried out digital-to-analog conversion, are obtained The target audio data of analog signal form, in order to which destined output device can export target audio data.It specifically can be with It is realized using digital analog converter.
By said program it is found that a kind of audio output device that the embodiment of the present application two provides, by MCVF multichannel voice frequency number According to the output channel for opening simultaneously multiple output equipments, so using audio mixing thread to every road audio data carry out audio mixing after, It is respectively transmitted to using output channel on different output equipments, audio data is exported by output equipment.To audio in the application Equipment opens the specific output channel of corresponding output equipment so that is independent of each other between the output of each road audio data, thus Realize that multi-path audio-frequency data separates independent output so that multiple users can share an equipment, economize on resources.
With reference to figure 6, for the structure diagram of a kind of terminal that the embodiment of the present application three provides, the terminal and output equipment phase Connection can specifically include with lower structure:
Audio output control device, for determining that audio data described in multichannel target audio data to be output and every road is each Self-corresponding destined output device opens its corresponding output channel Bing Weimei roads institute for each destined output device One target audio mixing thread of target audio data creation is stated, its corresponding target is utilized to target audio data described in every road Audio mixing thread carries out stereo process, and phase is transferred to using corresponding output channel by the target audio data of stereo process The destined output device answered, the target audio data received by each destined output device output.
The realization method and function of audio output control device in the present embodiment can refer to hereinbefore corresponding description, this Place is no longer described in detail.
By taking music music, game game in mobile phone terminal and tri- road audio data outputs of call call as an example, shown in Fig. 7, Application program in mobile phone terminal is such as:When music player, game application and talk application will export audio data, setting The inside selects output equipment, and such as mobile phone speaker, handset earphone and bluetooth headset, this implementation is passed in the form of arrange parameter Control device in example, the audio data of output and respective institute required for control device can determine three application programs as a result, Determining output equipment, and then these information are passed into AudioPolicyManager, as a result, AudioPolicyManager According to be transmitted through come facility information open the access of corresponding output equipment and obtain output channel OutPut, opening the same of OutPut When create a corresponding audio mixing thread.
Later, in the present embodiment by the audio data of three application programs respectively by AudioTrack1~ AudioTrack3 passes to the audio mixing thread created before, is done respectively by mixer AudioMixer1~AudioMixer3 mixed Sound processing.
Finally, the OutPut audio data write-in by audio mixing obtained before:SteamOut1~SteamOut3, so It is handled afterwards by digital-to-analogue and passes to corresponding output equipment Device1~Device3 outputs, such as mobile phone speaker Speaker, mobile phone Earphone Headset and bluetooth headset BT.
As shown in Figure 8, the flow of loud speaker Speaker outputs is passed through for SCVF single channel voice frequency data music in mobile phone terminal Figure:
Step1:Application program selects Speaker as output equipment, by way of arrange parameter, notice AudioPolicyManager;
Step2:AudioPolicyManager opens corresponding equipment access by the output equipment of application setting and obtains Output creates audio mixing thread while opening output.
Step3:Audio data music is transmitted to audio mixing thread AudioMixer using AudioTrack, by AudioMixer carries out stereo process.
Step4:Audio data after audio mixing is written to output, by defeated by speaker after DSP such as digital-to-analogue conversion Go out.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM read-only memory (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, available for storing the information that can be accessed by a computing device.It defines, calculates according to herein Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
A kind of audio output control method, device and terminal provided herein are described in detail above, it is right The above description of the disclosed embodiments enables professional and technical personnel in the field to realize or using the application.To these implementations A variety of modifications of example will be apparent for those skilled in the art, and the general principles defined herein can In the case where not departing from spirit herein or range, to realize in other embodiments.Therefore, the application will not be limited The embodiments shown herein is formed on, and is to fit to consistent with the principles and novel features disclosed herein most wide Range.

Claims (9)

1. a kind of audio output control method, which is characterized in that including:
Determine multichannel target audio data to be output and the corresponding destined output device of audio data described in per road;
Target audio data described in its corresponding output channel Bing Weimei road are opened for each destined output device to create Build a target audio mixing thread;
Stereo process is carried out using its corresponding target audio mixing thread to target audio data described in every road;
It is defeated that every road by the target audio data of stereo process using corresponding output channel is transferred to corresponding target Go out equipment, the target audio data received by each destined output device output.
2. the according to the method described in claim 1, it is characterized in that, target audio data that every road is passed through to stereo process Corresponding destined output device is transferred to using corresponding output channel, including:
Target audio described in its corresponding output channel Bing Duimei road will be written by the target audio data of stereo process Data carry out digital-to-analogue conversion, the target audio data of analog signal received by each destined output device output.
3. according to the method described in claim 1, it is characterized in that, described open it respectively for each destined output device One target audio mixing thread of target audio data creation described in corresponding output channel Bing Weimei roads, including:
By target audio data described in every road and the information of corresponding destined output device notify to AudioPolicyManager;
It is corresponding based on each destined output device of information opening received to trigger the AudioPolicyManager Output channel, and be one target audio mixing of target audio data creation described in per road while each output channel is opened Thread.
4. according to the method described in claim 1, it is characterized in that, described utilize it respectively to target audio data described in every road Corresponding target audio mixing thread carries out stereo process, including:
Will be per target audio data transfer described in road to its corresponding target audio mixing thread by AudioTrack, triggering is every The target audio data that a target audio mixing thread is respectively received it carry out stereo process.
5. a kind of audio output control device, which is characterized in that including:
Determination unit, for determining the corresponding target of audio data described in multichannel target audio data to be output and every road Output equipment;
Operating unit, for opening mesh described in its corresponding output channel Bing Weimei road for each destined output device It marks audio data and creates a target audio mixing thread;
Downmixing unit, for being carried out at audio mixing using its corresponding target audio mixing thread to target audio data described in every road Reason;
Transmission unit, for every road road to be transmitted by the target audio data of stereo process using corresponding output channel To corresponding destined output device, the target audio data received by each destined output device output.
6. according to the device described in claim 5, which is characterized in that the transmission unit is specifically used for:
Target audio described in its corresponding output channel Bing Duimei road will be written by the target audio data of stereo process Data carry out digital-to-analogue conversion, the target audio data of analog signal received by each destined output device output.
7. device according to claim 5, which is characterized in that the operating unit is specifically used for:
By target audio data described in every road and the information of corresponding destined output device notify to AudioPolicyManager (audio policy management component), triggers the AudioPolicyManager based on the letter received Breath opens the corresponding output channel of each destined output device, and is per road while each output channel is opened Described one target audio mixing thread of target audio data creation.
8. device according to claim 5, which is characterized in that the downmixing unit is specifically used for:
By AudioTrack (sound channel) will per target audio data transfer described in road to its corresponding target audio mixing thread, The target audio data that each target audio mixing thread of triggering is respectively received it carry out stereo process.
9. a kind of terminal, which is characterized in that be connected with output equipment, the terminal includes:
Audio output control device, for determining that audio data described in multichannel target audio data to be output and every road is respectively right The destined output device answered opens mesh described in its corresponding output channel Bing Weimei road for each destined output device It marks audio data and creates a target audio mixing thread, its corresponding target audio mixing is utilized to target audio data described in every road Thread carries out stereo process, is transferred to accordingly using corresponding output channel by the target audio data of stereo process Destined output device, the target audio data received by each destined output device output.
CN201611259138.9A 2016-12-30 2016-12-30 A kind of audio output control method, device and terminal Pending CN108268234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611259138.9A CN108268234A (en) 2016-12-30 2016-12-30 A kind of audio output control method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611259138.9A CN108268234A (en) 2016-12-30 2016-12-30 A kind of audio output control method, device and terminal

Publications (1)

Publication Number Publication Date
CN108268234A true CN108268234A (en) 2018-07-10

Family

ID=62754772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611259138.9A Pending CN108268234A (en) 2016-12-30 2016-12-30 A kind of audio output control method, device and terminal

Country Status (1)

Country Link
CN (1) CN108268234A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165004A (en) * 2018-08-16 2019-01-08 努比亚技术有限公司 Double screen terminal audio frequency output method, terminal and computer readable storage medium
CN109714316A (en) * 2018-12-03 2019-05-03 视联动力信息技术股份有限公司 A kind of mixed audio processing method and a kind of view networked system of view networking
CN111459455A (en) * 2020-04-02 2020-07-28 北京四维智联科技有限公司 Vehicle-mounted audio control method and device and vehicle-mounted system
CN112527231A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Method and apparatus for audio output device selection

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379961B2 (en) * 1997-04-30 2008-05-27 Computer Associates Think, Inc. Spatialized audio in a three-dimensional computer-based scene
CN101192203A (en) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 Mobile phones audio frequency playing method
US20110002482A1 (en) * 2009-07-02 2011-01-06 Nortel Networks Limited Method and Apparatus for Dynamically Determining Mix Sets in an Audio Processor
CN101964202A (en) * 2010-09-09 2011-02-02 南京中兴特种软件有限责任公司 Audio data file playback processing method mixed with multiple encoded formats
CN102768846A (en) * 2012-07-20 2012-11-07 Tcl集团股份有限公司 Audio playing method, device and terminal
CN104536718A (en) * 2014-12-29 2015-04-22 珠海全志科技股份有限公司 Method for directly transmitting audio materials in multiple paths to different audio devices based on android
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
CN106155625A (en) * 2016-07-06 2016-11-23 北京元心科技有限公司 A kind of audio frequency adaptation method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379961B2 (en) * 1997-04-30 2008-05-27 Computer Associates Think, Inc. Spatialized audio in a three-dimensional computer-based scene
CN101192203A (en) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 Mobile phones audio frequency playing method
US20110002482A1 (en) * 2009-07-02 2011-01-06 Nortel Networks Limited Method and Apparatus for Dynamically Determining Mix Sets in an Audio Processor
CN101964202A (en) * 2010-09-09 2011-02-02 南京中兴特种软件有限责任公司 Audio data file playback processing method mixed with multiple encoded formats
CN102768846A (en) * 2012-07-20 2012-11-07 Tcl集团股份有限公司 Audio playing method, device and terminal
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
CN104536718A (en) * 2014-12-29 2015-04-22 珠海全志科技股份有限公司 Method for directly transmitting audio materials in multiple paths to different audio devices based on android
CN106155625A (en) * 2016-07-06 2016-11-23 北京元心科技有限公司 A kind of audio frequency adaptation method and system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
ALESSANDRO FORIN ET AL.: "Component Based Invisible Computing", 《IEEE REAL-TIME EMBEDDED SYSTEM WORKSHOP》 *
TAIGACOMPLEX: "[Android]混音器AudioMixer", 《HTTPS://WWW.CNBLOGS.COM/TAIGACON/P/4844919.HTML》 *
THINKING: "a2dp场景分析", 《HTTPS://WWW.THINKS.ME/2016/04/09/AUDIO_ASDP/》 *
刘楠: "基于Android平台的手机Swordfish的音频系统设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
喀喀: "Android Audio System之二:AudioFlinger", 《HTTPS://WWW.MYWIKI.CN/喀喀/INDEX.PHP/ANDROID_AUDIO_SYSTEM_之二:AUDIOFLINGER》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165004A (en) * 2018-08-16 2019-01-08 努比亚技术有限公司 Double screen terminal audio frequency output method, terminal and computer readable storage medium
CN109714316A (en) * 2018-12-03 2019-05-03 视联动力信息技术股份有限公司 A kind of mixed audio processing method and a kind of view networked system of view networking
CN112527231A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Method and apparatus for audio output device selection
WO2021052202A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Method and device for selecting audio output apparatus
CN112527231B (en) * 2019-09-18 2023-01-13 华为技术有限公司 Method and apparatus for audio output device selection
CN111459455A (en) * 2020-04-02 2020-07-28 北京四维智联科技有限公司 Vehicle-mounted audio control method and device and vehicle-mounted system

Similar Documents

Publication Publication Date Title
US10972836B2 (en) Digital signal routing circuit
CN108268234A (en) A kind of audio output control method, device and terminal
CN104185122B (en) The control method of a kind of playback equipment, system and main playback equipment
CN104040631B (en) Multi-stream-multipoint-jack audio streaming
CN106126168A (en) A kind of sound effect treatment method and device
US11438694B2 (en) Digital signal routing circuit
CN105959878B (en) The control method and device of stereo component system
CN105047213A (en) Music system and playing method therefor
CN105208189B (en) Audio-frequency processing method and mobile terminal
CN105702271A (en) Multimedia playing method and electronic equipment
CN103703751B (en) Data signal route circuit
CN109076280A (en) Earphone system customizable by a user
CN105895128A (en) Playing method and associated device
CN106293599A (en) A kind of output control method, electronic equipment and output system
CN108289232A (en) A kind of control method of playback equipment, terminal device and storage medium
CN111857473B (en) Audio playing method and device and electronic equipment
CN109887523A (en) Audio data processing method and device, electronic equipment and storage medium for application of singing
CN107995369A (en) A kind of method, apparatus and equipment for solving audio conflict
CN105072534B (en) A kind of control method and terminal of wireless sound box system
KR101604678B1 (en) Method for operating channel of wireless microphone
CN102760462B (en) Data processing method and electronic equipment
CN112527231B (en) Method and apparatus for audio output device selection
CN106332075A (en) Equipment connection method, device and system
CN108363628A (en) Message treatment method, device, terminal and computer readable storage medium
CN108491473A (en) Audio file playing method and device, electronic equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication