CN109542388A - Reproduction of multiple audio streams output method and Related product - Google Patents

Reproduction of multiple audio streams output method and Related product Download PDF

Info

Publication number
CN109542388A
CN109542388A CN201811279051.7A CN201811279051A CN109542388A CN 109542388 A CN109542388 A CN 109542388A CN 201811279051 A CN201811279051 A CN 201811279051A CN 109542388 A CN109542388 A CN 109542388A
Authority
CN
China
Prior art keywords
audio
audio stream
output module
road
audio output
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.)
Granted
Application number
CN201811279051.7A
Other languages
Chinese (zh)
Other versions
CN109542388B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811279051.7A priority Critical patent/CN109542388B/en
Publication of CN109542388A publication Critical patent/CN109542388A/en
Application granted granted Critical
Publication of CN109542388B publication Critical patent/CN109542388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The embodiment of the present application discloses a kind of reproduction of multiple audio streams output method and Related product, applied to electronic equipment, method includes: in the output request for detecting at least two-way audio stream, detection is currently able to the audio output module enabled, secondly, when the quantity for detecting the audio output module is greater than or equal to 2, determine the matching strategy between every road audio stream and the audio output module, finally, controlling the audio output module output at least two-way audio stream according to the matching strategy.The embodiment of the present application avoids the audio mixing output of MCVF multichannel voice frequency, meets the demand of the scenes such as MCVF multichannel voice frequency output, extended functionality and applicability.

Description

Reproduction of multiple audio streams output method and Related product
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of reproduction of multiple audio streams output method and Related product.
Background technique
As electronic equipment configuration is higher and higher, multitask and split screen function are also stronger and stronger, in electronic equipment split screen When executing multitask, the visual demand of the differentiation of user can satisfy.
Summary of the invention
The embodiment of the present application provides a kind of reproduction of multiple audio streams output method and relevant apparatus, to avoid MCVF multichannel voice frequency mixed Sound exports the situation for leading to audio confusion, extended functionality and applicability, simplifies the operating process for executing MCVF multichannel voice frequency output.
In a first aspect, the embodiment of the present application provides a kind of reproduction of multiple audio streams output method, comprising:
In the output request for detecting at least two-way audio stream, detection is currently able to the audio output module enabled;
When the quantity for detecting the audio output module is greater than or equal to 2, every road audio stream and the audio are determined Matching strategy between output module, at least two-way audio stream corresponds at least two audio output mould described in the matching strategy Block;
The audio output module output at least two-way audio stream is controlled according to the matching strategy.
Second aspect, the embodiment of the present application provide a kind of reproduction of multiple audio streams output method device, including processing unit and logical Believe unit, wherein
The processing unit is detected in the output request for detecting at least two-way audio stream by the communication unit It is currently able to the audio output module enabled;And when the quantity for detecting the audio output module is greater than or equal to 2, really Matching strategy between the road Ding Mei audio stream and the audio output module, at least two-way audio stream described in the matching strategy Corresponding at least two audio output module;And it is controlled described in the audio output module output at least according to the matching strategy Two-way audio stream.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that electronic equipment is in the output request for detecting at least two-way audio stream, inspection in the embodiment of the present application The audio output module for being currently able to enable is surveyed, secondly, being greater than or equal to 2 in the quantity for detecting the audio output module When, the matching strategy between every road audio stream and the audio output module is determined, finally, controlling the sound according to matching strategy The frequency output module output at least two-way audio stream.As it can be seen that electronic equipment can be according to the MCVF multichannel voice frequency and multiple sounds detected Frequency output module determines matching strategy, according to matching strategy by audio output module output multi-channel audio signal, avoids MCVF multichannel voice frequency only passes through an audio output module output, leads to the situation of audio confusion, allows multipath audio signal never Same path output, meets the diversified demand for experience of user, extended functionality and applicability, simplifies and executes MCVF multichannel voice frequency output Operating process.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Figure 1A is a kind of schematic diagram of the program running space of smart phone;
Figure 1B is a kind of system architecture diagram of Android system;
Fig. 2 is a kind of flow diagram of reproduction of multiple audio streams output method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another reproduction of multiple audio streams output method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another reproduction of multiple audio streams output method provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of reproduction of multiple audio streams output method device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..
As shown in Figure 1A, the electronic equipments such as smart phone are typically provided with program running space at present, and program operation is empty Between include user's space and operating system space, wherein user's space operation have one or more application, which answers With the third-party application installed for electronic equipment, multichannel volume adjustment algorithm just operates in user's space, operating system space fortune Row has the operating system of electronic equipment.
The electronic equipment can specifically run the Mobile operating system iOS of Android android system, Apple Inc.'s exploitation Deng not doing unique restriction herein.As shown in Figure 1B, by taking electronic equipment operation has android system as an example, corresponding user Space includes the application layer (Applications) in the android system, and operating system space may include the Android system Application framework layer (Application Framework), system Runtime Library layer (including system Runtime Library layer in system Android Runtime when Libraries and Android are run), Linux inner core (Linux Kernel).Wherein, it applies It include all kinds of applications directly interacted with user, or the service routine for running on backstage write by Java language on layer.For example, The program for the common basic function realized on smart phone, such as short message service (Short Messaging Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW (World Wide Web, Web) browser Etc. programs and developer exploitation other application.Application framework layer provides exploitation Android and applies a series of required classes Library can be used in reusing component, can also realize personalized extension by inheriting.System Runtime Library layer is the branch of application framework Support, provides service for the various components in android system.Structure when system Runtime Library layer is run by system class libraries and Android At.It include core library and Dalvik virtual machine two parts when Android is run.Linux inner core is for realizing hardware device drive It is dynamic, process and memory management, network protocol stack, power management, the core functions such as wireless communication.
Electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device (example Such as smartwatch, Intelligent bracelet, pedometer), calculate equipment or be connected to other processing equipments of radio modem, with And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
Currently, picture can be played with split screen, but sound when the electronic equipments split screen such as mobile phone opens simultaneously multiple video playings Frequency is to be exported by same outgoing route, causes audio mixing, causes poor user experience, is unable to satisfy in multitask or split screen situation Various demands under lower MCVF multichannel voice frequency output scene.
In view of the above-mentioned problems, the application proposes a kind of reproduction of multiple audio streams output method, the embodiment of the present application is carried out below It is discussed in detail.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of reproduction of multiple audio streams output method, Applied to electronic equipment;As shown, this reproduction of multiple audio streams output method includes:
Step 201, for electronic equipment in the output request for detecting at least two-way audio stream, detection is currently able to enabling Audio output module;
Wherein, the audio output module may include any earphone and the institute in earphone, speaker and a set of headphones Loudspeaker entrained by electronic equipment itself etc. is stated to be built in the electronic equipment or connect playable institute with the electronic equipment The equipment for stating the audio content of electronic equipment.
Step 202, the electronic equipment is determined when the quantity for detecting the audio output module is greater than or equal to 2 Matching strategy between every road audio stream and the audio output module;
Wherein, at least two-way audio stream corresponds at least two audio output module described in the matching strategy, it is seen that described In the case that matching strategy has the selection of multiple audio output modules when reproduction of multiple audio streams exports, an audio output will not be passed through Module audio mixing exports the reproduction of multiple audio streams.
Step 203, the electronic equipment controls described in the audio output module output at least according to the matching strategy Two-way audio stream.
As can be seen that electronic equipment is in the output request for detecting at least two-way audio stream, inspection in the embodiment of the present application The audio output module for being currently able to enable is surveyed, secondly, being greater than or equal to 2 in the quantity for detecting the audio output module When, the matching strategy between every road audio stream and the audio output module is determined, finally, controlling the sound according to matching strategy The frequency output module output at least two-way audio stream.As it can be seen that electronic equipment can be according to the MCVF multichannel voice frequency and multiple sounds detected Frequency output module determines matching strategy, according to matching strategy by audio output module output multi-channel audio signal, avoids MCVF multichannel voice frequency only passes through an audio output module output, leads to the situation of audio confusion, allows multipath audio signal never Same path output, meets the diversified demand for experience of user, extended functionality and applicability, simplifies and executes MCVF multichannel voice frequency output Operating process.
In a possible example, the electronic equipment is determined between every road audio stream and the audio output module Matching strategy, comprising: the electronic equipment obtains the source-information of at least road the two-way audio Liu Zhongmei audio stream;It obtains Correspondence set between preset source-information and audio output module, it is described extremely according to correspondence set screening The road N audio stream and the corresponding audio output module of the road the road N audio stream Zhong Mei audio stream in few two-way audio stream, institute The source-information of the road Shu Mei audio stream is the source-information in the correspondence set, the road the road N audio stream Zhong Mei audio Flowing corresponding audio output module is the audio output module in the correspondence set, and N is natural number;Determine the road M audio The matching relationship between audio output module not being screened out in stream and the audio output module that can be enabled, the M Road audio stream is the audio stream not being screened out in at least two-way audio stream, and M is natural number;According to the road N audio stream Corresponding relationship and the matching relationship of the road M audio stream generate the matching strategy.
Wherein, the source-information of audio stream can be divided according to some website or some software etc., and source Correspondence set between information and audio output module can be adjusted according to the use habit of user or pass through user It is manually entered and is adjusted, the road the N audio stream in correspondence set will be present first and screen for electronic equipment, for not depositing It is that the road the M audio stream in correspondence set then calls other methods to carry out between audio stream and audio output module Match.
Optionally, if reproduction of multiple audio streams and multiple audio-frequency modules belong to equipment of the corresponding relationship there are matching relationship, N And the number for the audio stream to be exported, M 0;If reproduction of multiple audio streams and multiple audio-frequency modules are not admitted to corresponding relationship presence The equipment of matching relationship, then N is the number that 0, M is the audio stream to be exported;
For example, electronic equipment detects user frequently by some a certain software of audio output module device plays Music, then pop up the corresponding relationship of the audio output module Yu the software, through user determine after be saved in correspondence set In.
As it can be seen that in this example, electronic equipment can first by preset corresponding relationship filter out reproduction of multiple audio streams with it is multiple There are the part audio streams and audio output module of matching relationship in audio output module, then are directed to and are not present in corresponding relationship Audio stream matched with audio output module, simplify the complexity of matching process, accelerate matching speed.
In a possible example, the M is positive integer, is not screened in the audio output module that can be enabled Audio output module out includes K audio output module, and K is positive integer;The electronic equipment determines the road M audio stream and described The matching relationship between audio output module not being screened out in the audio output module that can be enabled, comprising: determine the M The priority of the road road audio stream Zhong Mei audio stream is ranked up the road M audio stream according to the preset order of priority, obtains Audio stream sequence;The parameter information for obtaining the K audio output module determines the K audio according to the parameter information The audio output module sequence of output module;Described is determined according to the audio stream sequence and the audio output module sequence With relationship.
As it can be seen that electronic equipment has carried out corresponding sequence with audio output module to audio stream in this example, sequence is generated Column, and according to the matching relationship of the determining the two of the sequence of audio stream and audio output module, increase matched reasonability.
In a possible example, the electronic equipment is according to the audio stream sequence and the audio output module sequence Column determine the matching relationship, comprising: if M≤K, the electronic equipment is every road audio stream configuration of the audio stream sequence An audio output module in the audio output module sequence, the corresponding audio output module of any two-way audio stream is mutually not It is identical, and the priority ranking relationship in the audio stream sequence of any two-way audio stream and any two-way sound Frequency flows ordering relation of corresponding 2 audio output modules in the audio output module sequence and matches;It is described if M > K Electronic equipment is then that an audio in audio output module sequence described in every road audio stream configuration of the audio stream sequence is defeated Module out, the preceding road the K-1 audio stream that sorts in the audio stream sequence is with sequence in the audio output module sequence preceding K-1 audio output module between correspond, and in the audio stream of the road K-1 any audio stream all the way in the audio stream Priority ranking relationship in sequence 1 audio output module corresponding with any audio stream all the way is in the audio output Ordering relation in sequence of modules matches;In the audio stream sequence in addition to the audio stream of the sequence preceding road K-1 Audio stream is corresponding with the last one audio output module in the audio output module sequence.
Wherein, in the case where M≤K, electronic equipment can according to audio stream sequence and audio output module sequence by height to It is low or from low to high to reproduction of multiple audio streams Zhong Meiyi road audio stream match an audio output module.And in the case where M > K, As the case may be by the preceding road the K-1 Huo Hou K-1 audio stream in audio stream sequence successively in audio output module sequence before The matching of K-1 audio output module, and for not matched audio stream remaining in audio stream sequence then all audio frequency output module The last one audio output module matching in sequence.
As an example it is assumed that M=5, N=10, audio stream sequence is come first and is come with audio output module sequence First matching, audio stream sequence come second matching that second is come with audio output module sequence, until audio stream sequence Column come the 5th matching that the 5th is come with audio output module sequence;Assuming that M=10, N=5, audio stream sequence is come Preceding four audio output module is come in preceding four audio stream and audio output module sequence to match one by one according to sequence order, and Audio stream sequence come five to ten audio stream then all with audio output module that the 5th is come in audio output module sequence Matching.
As it can be seen that matching strategy is adjusted flexibly in electronic equipment according to the actual situation in this example, it ensure that every road audio stream is equal There are matched audio output modules, extend the functionality of electronic equipment, meet the demand under different scenes.
In a possible example, the electronic equipment determines the priority of the road the road M audio stream Zhong Mei audio stream, It include: that the electronic equipment acquisition associated display content of the road the road M audio stream Zhong Mei audio stream is aobvious in the electronic equipment The display area of display screen;It is determined in the audio stream of the road M according to the associated area of the road the road M audio stream Zhong Mei audio stream The priority of every road audio stream.
Wherein, the priority that audio stream is determined according to every associated display area of road audio stream, for being associated with display surface The bigger audio flow priority of product is also higher
As it can be seen that in this example, according to the split screen situation of user determine user for the attention degree of the road audio stream, in turn The step of priority for determining the road audio improves the intelligence of electronic equipment, simplifies MCVF multichannel voice frequency output process.
In a possible example, the electronic equipment determines the priority of the road the road M audio stream Zhong Mei audio stream, It is the first audio stream set and the second audio adfluxion that include: the electronic equipment, which divide the road M audio stream according to audio types, It closes, the audio types include shared audio types and secret audio types, and the first audio stream set corresponds to described shared Audio types, the second audio stream set correspond to the secret audio types;Determine that strategy determines institute according to the first priority The priority for stating the first road audio stream set Zhong Mei audio stream determines that strategy determines second audio stream according to the second priority The priority of the road set Zhong Mei audio stream, wherein the priority that first priority determines that strategy is determined is below institute It states the second priority and determines the priority that strategy is determined.
Wherein, electronic equipment passes through audio types first the road M audio stream is divided into two major classes and shared type and secret Type is all larger than the audio stream of secret type its priority the priority of the audio stream of shared type, for same type Audio stream then take different strategies are further to determine priority.The audio stream of shared audio types includes the interior of audio stream Appearance information is TV play, film, music and the audio stream for recording propaganda film, and the audio stream of secret audio types includes audio stream Content information is the audio stream of call voice and instant telecommunication speech.The priority of shared type and the priority of secret type are high Low user can be adjusted by being arranged.
As it can be seen that audio stream is divided into two major classes type according to content type first by electronic equipment, then determines two in this example The step of priority of big type sound intermediate frequency stream, improves the intelligence of electronic equipment, simplifies MCVF multichannel voice frequency output process.
In a possible example, the electronic equipment determines that strategy determines first audio according to the first priority The priority of the road adfluxion He Zhongmei audio stream, comprising: the electronic equipment determines the road the first audio stream set Zhong Mei audio Flow the frequency of use of associated application;Preset first mapping relations set is obtained, the mapping relations set includes the first kind The audio stream of corresponding relationship between the frequency of use and priority of type application, the first kind application is the shared audio Type;First mapping relations set is stated according to the frequency of use of every associated application of road audio stream and institute, determines described the The priority of one road audio stream set Zhong Mei audio stream.
Optionally, determine that strategy determines the preferential of the road the second audio stream set Zhong Mei audio stream according to the second priority Grade, determines the frequency of use of the associated application of the second audio stream set Zhong Mei road audio stream;Obtain preset second mapping Set of relationship, the mapping relations set include the corresponding relationship between the frequency of use and priority of Second Type application, institute The audio stream for stating Second Type application is the secret audio types;Frequency is used according to every associated application of road audio stream Rate and second correspondence set determine the priority of the road the second audio stream set Zhong Mei audio stream.
As it can be seen that electronic equipment answers the audio stream in same type according to per audio stream is associated all the way in this example Frequency of use carries out the sequence of priority, improves the intelligence of electronic equipment, simplifies MCVF multichannel voice frequency output process Step.
In a possible example, the parameter information includes rated output power and connection type, and the electronics is set The standby audio output module sequence that the K audio output module is determined according to the parameter information, comprising: the electronic equipment The first priority of each audio output module in the K audio output module is determined according to the rated output power;Root Determine the second priority of each audio output module according to the connection type, the connection type include be wirelessly connected and Wired connection, it is described to be wirelessly connected corresponding priority greater than the corresponding priority of the wired connection;It is excellent according to described first First grade and second priority determine the configuration preference level of the audio output module;Institute is determined according to the configuration preference level State the audio output module sequence of K audio output module.
For example, electronic equipment can read pair of preset output power value and priority value according to rated output power It should be related to the first priority value for determining the K audio output module, determine second with wired connection further according to being wirelessly connected Priority value, the two are added, then obtain configuration preference level value, generate the K audio output module according to configuration preference level value Audio output module sequence.
As it can be seen that in this example, electronic equipment is according to the rated output power and connection type of the K audio output module The audio output module sequence for determining the K audio output module, improves the intelligence of electronic equipment.
In a possible example, the electronic equipment is determined between every road audio stream and the audio output module Matching strategy, comprising: the electronic equipment exports control interface, and the control interface includes at least two-way audio stream and the energy The audio output module enough enabled;The setting that user is obtained for the control interface operates;It is operated and is determined according to the setting The matching strategy.
As it can be seen that electronic equipment has determined matching strategy by interaction in this example, functional and practicability is extended, it is full Various demands under foot MCVF multichannel voice frequency output scene.
Optionally, after the matching strategy between the every road audio stream of the determination and the audio output module, described Before controlling the audio output module output at least two-way audio stream according to the matching strategy, the electronic equipment is with bullet Window shape formula shows the matching strategy in the display screen of the electronic equipment, and the pop-up includes confirmation option and denies option; Receive the feedback information of display screen;If the feedback information is confirmation message, it is defeated that the audio enabled is currently able to described in detection The audio output module of not matched first quantity of module out shows first quantity in display screen if the first quantity is greater than 0 Audio output module and at least two-way audio stream, receive the audio output module and described at least two of first quantity First matching strategy of road audio stream;First matching strategy is added in the matching strategy;If the feedback information To deny information, then shown in display screen described in be currently able to enable audio output module and at least two-way audio stream, The second matching strategy of the audio output module enabled and at least two-way audio stream is currently able to described in reception;It will be described Content update with strategy is the content of second matching strategy.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of multichannel provided by the embodiments of the present application The flow diagram of audio stream output method is applied to electronic equipment, as shown, this reproduction of multiple audio streams output method includes:
Step 301, for electronic equipment in the output request for detecting at least two-way audio stream, detection is currently able to enabling Audio output module;
Step 302, the electronic equipment obtains the source-information of at least road the two-way audio Liu Zhongmei audio stream;
Step 303, the electronic equipment obtains the set of correspondences between preset source-information and audio output module It closes, according to the road the N audio stream and the road N audio stream in the correspondence set screening at least two-way audio stream The corresponding audio output module of the road Zhong Mei audio stream;
Step 304, the electronic equipment determines the priority of the road the road M audio stream Zhong Mei audio stream, according to priority Preset order the road M audio stream is ranked up, obtain audio stream sequence;
Step 305, the electronic equipment obtains the parameter information of the K audio output module, is believed according to the parameter Breath determines the audio output module sequence of the K audio output module;
Step 306, the electronic equipment is according to the audio stream sequence and audio output module sequence determination Matching relationship;
Step 307, according to the generation of the matching relationship of the corresponding relationship of the road N audio stream and the road M audio stream Matching strategy;
Step 308, the electronic equipment controls described in the audio output module output at least according to the matching strategy Two-way audio stream.
As can be seen that electronic equipment is in the output request for detecting at least two-way audio stream, inspection in the embodiment of the present application The audio output module for being currently able to enable is surveyed, secondly, being greater than or equal to 2 in the quantity for detecting the audio output module When, the matching strategy between every road audio stream and the audio output module is determined, finally, controlling the sound according to matching strategy The frequency output module output at least two-way audio stream.As it can be seen that electronic equipment can be according to the MCVF multichannel voice frequency and multiple sounds detected Frequency output module determines matching strategy, according to matching strategy by audio output module output multi-channel audio signal, avoids MCVF multichannel voice frequency only passes through an audio output module output, leads to the situation of audio confusion, allows multipath audio signal never Same path output, meets the diversified demand for experience of user, extended functionality and applicability, simplifies and executes MCVF multichannel voice frequency output Operating process.
In addition, electronic equipment is by corresponding relationship and to the method generation of audio stream and audio output module formation sequence With strategy, the various demands under the scenes such as reproduction of multiple audio streams output are met, functional and applicability is extended.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of multichannel provided by the embodiments of the present application The flow diagram of audio stream output method is applied to electronic equipment, as shown, this reproduction of multiple audio streams output method includes:
Step 401, for electronic equipment in the output request for detecting at least two-way audio stream, detection is currently able to enabling Audio output module;
Step 402, the electronic equipment obtains the source-information of at least road the two-way audio Liu Zhongmei audio stream;
Step 403, the electronic equipment obtains the set of correspondences between preset source-information and audio output module It closes, according to the road the N audio stream and the road N audio stream in the correspondence set screening at least two-way audio stream The corresponding audio output module of the road Zhong Mei audio stream;
Step 404, the electronic equipment obtains the associated display content of the road the road M audio stream Zhong Mei audio stream described The display area of electronic equipment display screen;
Step 405, the electronic equipment determines institute according to the associated area of the road the road M audio stream Zhong Mei audio stream State the priority of the road the M road audio stream Zhong Mei audio stream;
Step 406, the electronic equipment determines each in the K audio output module according to the rated output power First priority of audio output module;
Step 407, the electronic equipment determines the second excellent of each audio output module according to the connection type First grade;
Step 408, the electronic equipment determines that the audio is defeated according to first priority and second priority The configuration preference level of module out;
Step 409, the electronic equipment determines that the audio of the K audio output module is defeated according to the configuration preference level Sequence of modules out;
Step 410, the electronic equipment is according to the audio stream sequence and audio output module sequence determination Matching relationship;
Step 411, according to the generation of the matching relationship of the corresponding relationship of the road N audio stream and the road M audio stream Matching strategy;
Step 412, the electronic equipment controls described in the audio output module output at least according to the matching strategy Two-way audio stream.
As can be seen that electronic equipment is in the output request for detecting at least two-way audio stream, inspection in the embodiment of the present application The audio output module for being currently able to enable is surveyed, secondly, being greater than or equal to 2 in the quantity for detecting the audio output module When, the matching strategy between every road audio stream and the audio output module is determined, finally, controlling the sound according to matching strategy The frequency output module output at least two-way audio stream.As it can be seen that electronic equipment can be according to the MCVF multichannel voice frequency and multiple sounds detected Frequency output module determines matching strategy, according to matching strategy by audio output module output multi-channel audio signal, avoids MCVF multichannel voice frequency only passes through an audio output module output, leads to the situation of audio confusion, allows multipath audio signal never Same path output, meets the diversified demand for experience of user, extended functionality and applicability, simplifies and executes MCVF multichannel voice frequency output Operating process.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application The structural schematic diagram of a kind of electronic equipment 500, as shown, the electronic equipment 500 includes application processor 510, memory 520, communication interface 530 and one or more programs 521, wherein one or more of programs 521 are stored in above-mentioned deposit In reservoir 520, and it is configured to be executed by above-mentioned application processor 510, one or more of programs 521 include for executing The instruction of following steps:
In the output request for detecting at least two-way audio stream, detection is currently able to the audio output module enabled;
When the quantity for detecting the audio output module is greater than or equal to 2, every road audio stream and the audio are determined Matching strategy between output module, at least two-way audio stream corresponds at least two audio output mould described in the matching strategy Block;
The audio output module output at least two-way audio stream is controlled according to the matching strategy.
As can be seen that electronic equipment is in the output request for detecting at least two-way audio stream, inspection in the embodiment of the present application The audio output module for being currently able to enable is surveyed, secondly, being greater than or equal to 2 in the quantity for detecting the audio output module When, the matching strategy between every road audio stream and the audio output module is determined, finally, controlling the sound according to matching strategy The frequency output module output at least two-way audio stream.As it can be seen that electronic equipment can be according to the MCVF multichannel voice frequency and multiple sounds detected Frequency output module determines matching strategy, according to matching strategy by audio output module output multi-channel audio signal, avoids MCVF multichannel voice frequency only passes through an audio output module output, leads to the situation of audio confusion, allows multipath audio signal never Same path output, meets the diversified demand for experience of user, extended functionality and applicability, simplifies and executes MCVF multichannel voice frequency output Operating process.
Matching plan in a possible example, between the every road audio stream of the determination and the audio output module In terms of slightly, the instruction in described program is specifically used for executing following operation: the acquisition at least road the two-way audio Liu Zhongmei sound The source-information of frequency stream;The correspondence set between preset source-information and audio output module is obtained, according to described right Answer the road the N audio stream and the road the road N audio stream Zhong Mei audio stream pair in the set of relationship screening at least two-way audio stream The audio output module answered, the source-information of every road audio stream are the source-information in the correspondence set, the N Audio stream corresponding audio output module in the road road audio stream Zhong Mei is the audio output module in the correspondence set, and N is Natural number;Determine the audio output module that is not screened out in the road M audio stream and the audio output module that can be enabled it Between matching relationship, the road M audio stream is the audio stream not being screened out in at least two-way audio stream, and M is natural number; The matching strategy is generated according to the matching relationship of the corresponding relationship of the road N audio stream and the road M audio stream.
In a possible example, the M is positive integer, is not screened in the audio output module that can be enabled Audio output module out includes K audio output module, and K is positive integer;In the determining road the M audio stream and described can open Instruction in terms of matching relationship between the audio output module not being screened out in audio output module, in described program Specifically for executing following operation: determine the priority of the road the road M audio stream Zhong Mei audio stream, it is suitable according to presetting for priority The road M audio stream described in ordered pair is ranked up, and obtains audio stream sequence;Obtain the parameter information of the K audio output module, root The audio output module sequence of the K audio output module is determined according to the parameter information;According to the audio stream sequence and The audio output module sequence determines the matching relationship.
In a possible example, determined described according to the audio stream sequence and the audio output module sequence In terms of the matching relationship, the instruction in described program is specifically used for executing following operation: if M≤K, for the audio stream sequence An audio output module in audio output module sequence described in the audio stream configuration of the road Lie Mei, any two-way audio stream are corresponding Audio output module it is different, and the priority ranking in the audio stream sequence of any two-way audio stream is closed It is ordering relation of 2 audio output modules corresponding with any two-way audio stream in the audio output module sequence Match;If M > K, the electronic equipment is audio output module sequence described in every road audio stream configuration of the audio stream sequence An audio output module in column, sort in the audio stream sequence the preceding road K-1 audio stream and the audio output mould It is corresponded between the preceding K-1 audio output module that sort in block sequence, and any sound all the way in the audio stream of the road K-1 Frequency priority ranking relationship of the stream in the audio stream sequence and the arbitrarily corresponding 1 audio output mould of audio stream all the way Ordering relation of the block in the audio output module sequence matches;Except the preceding K- of sequence in the audio stream sequence Audio stream except 1 road audio stream is corresponding with the last one audio output module in the audio output module sequence.
In a possible example, in terms of the priority of the determination road the road the M audio stream Zhong Mei audio stream, institute It states the instruction in program to be specifically used for executing following operation: obtain in the associated display of the road M audio stream Zhong Mei road audio stream Hold the display area in the electronic equipment display screen;According to the associated area of the road the road M audio stream Zhong Mei audio stream Determine the priority of the road the road M audio stream Zhong Mei audio stream.
In a possible example, in terms of the priority of the determination road the road the M audio stream Zhong Mei audio stream, institute State the instruction in program to be specifically used for executing following operation: dividing the road M audio stream according to audio types is the first audio stream Set and the second audio stream set, the audio types include shared audio types and secret audio types, first audio Adfluxion closes the corresponding shared audio types, and the second audio stream set corresponds to the secret audio types;It is excellent according to first First grade determines that strategy determines the priority of the road the first audio stream set Zhong Mei audio stream, determines strategy according to the second priority Determine the priority of the road the second audio stream set Zhong Mei audio stream, wherein first priority determines that strategy determines Priority out is below second priority and determines the priority that strategy is determined.
In a possible example, determine that strategy determines the first audio stream set according to the first priority described In terms of the priority of the road Zhong Mei audio stream, the instruction in described program is specifically used for executing following operation: determining first sound The frequency of use of the associated application of frequency adfluxion He Zhongmei road audio stream;Obtain preset first mapping relations set, the mapping Set of relationship includes the corresponding relationship between the frequency of use and priority of first kind application, the sound of the first kind application Frequency stream is the shared audio types;Mapping is stated according to the frequency of use of every associated application of road audio stream and institute first to close Assembly is closed, and determines the priority of the road the first audio stream set Zhong Mei audio stream.
In a possible example, the parameter information includes rated output power and connection type, in the basis Instruction tool in terms of the parameter information determines the audio output module sequence of the K audio output module, in described program Body is for performing the following operations: determining each audio output in the K audio output module according to the rated output power First priority of module;The second priority of each audio output module, the company are determined according to the connection type Connecing mode includes being wirelessly connected and wired connection, described to be wirelessly connected corresponding priority to be greater than the wired connection corresponding excellent First grade;The configuration preference level of the audio output module is determined according to first priority and second priority;According to The configuration preference level determines the audio output module sequence of the K audio output module.
Matching plan in a possible example, between the every road audio stream of the determination and the audio output module In terms of slightly, the instruction in described program is specifically used for executing following operation: exporting control interface, the control interface includes described At least two-way audio stream and the audio output module that can be enabled;The setting that user is obtained for the control interface operates;Root The matching strategy is determined according to setting operation.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of MCVF multichannel voice frequency stream output device 600 involved in the embodiment of the present application.It should MCVF multichannel voice frequency stream output device 600 is applied to electronic equipment, including processing unit 601 and communication unit 602, wherein
The processing unit 601 passes through the communication unit in the output request for detecting at least two-way audio stream 602 detections are currently able to the audio output module enabled;And detecting that the quantity of the audio output module is greater than or waits When 2, the matching strategy between every road audio stream and the audio output module is determined, at least two described in the matching strategy Road audio stream corresponds at least two audio output module;And the audio output module is controlled according to the matching strategy and is exported At least two-way audio stream.
Wherein, the MCVF multichannel voice frequency stream output device can also include storage unit 603, for storing the journey of electronic equipment Sequence code and data.The processing unit 601 can be application processor, and it is total that the communication unit 602 can be global communication Line, transceiver etc., storage unit 603 can be memory.
As can be seen that electronic equipment is in the output request for detecting at least two-way audio stream, inspection in the embodiment of the present application The audio output module for being currently able to enable is surveyed, secondly, being greater than or equal to 2 in the quantity for detecting the audio output module When, the matching strategy between every road audio stream and the audio output module is determined, finally, controlling the sound according to matching strategy The frequency output module output at least two-way audio stream.As it can be seen that electronic equipment can be according to the MCVF multichannel voice frequency and multiple sounds detected Frequency output module determines matching strategy, according to matching strategy by audio output module output multi-channel audio signal, avoids MCVF multichannel voice frequency only passes through an audio output module output, leads to the situation of audio confusion, allows multipath audio signal never Same path output, meets the diversified demand for experience of user, extended functionality and applicability, simplifies and executes MCVF multichannel voice frequency output Operating process.
Matching plan in a possible example, between the every road audio stream of the determination and the audio output module Slightly aspect, the processing unit 601 are used for: obtaining the source-information of at least road the two-way audio Liu Zhongmei audio stream;It obtains The correspondence set between preset source-information and audio output module is taken, according to correspondence set screening The road N audio stream and the corresponding audio output module of the road the road N audio stream Zhong Mei audio stream at least in two-way audio stream, The source-information of every road audio stream is the source-information in the correspondence set, the road the road N audio stream Zhong Mei sound It is the audio output module in the correspondence set that frequency, which flows corresponding audio output module, and N is natural number;Determine the road M sound The matching relationship between audio output module not being screened out in frequency stream and the audio output module that can be enabled, it is described The road M audio stream is the audio stream not being screened out in at least two-way audio stream, and M is natural number;According to the road N audio stream Corresponding relationship and the matching relationship of the road M audio stream generate the matching strategy.
In a possible example, the M is positive integer, is not screened in the audio output module that can be enabled Audio output module out includes K audio output module, and K is positive integer;In the determining road the M audio stream and described can open In terms of matching relationship between the audio output module not being screened out in audio output module, the processing unit 601 For: the priority of the road the road M audio stream Zhong Mei audio stream is determined, according to the preset order of priority to the road M audio Stream is ranked up, and obtains audio stream sequence;The parameter information for obtaining the K audio output module, according to the parameter information Determine the audio output module sequence of the K audio output module;According to the audio stream sequence and the audio output mould Block sequence determines the matching relationship.
In a possible example, determined described according to the audio stream sequence and the audio output module sequence In terms of the matching relationship, the processing unit 601 is used for: if M≤K, being matched for every road audio stream of the audio stream sequence Set an audio output module in the audio output module sequence, the corresponding audio output module of any two-way audio stream is mutual It is not identical, and the priority ranking relationship in the audio stream sequence of any two-way audio stream and any two-way Ordering relation of corresponding 2 audio output modules of audio stream in the audio output module sequence matches;If M > K, institute State electronic equipment then and be an audio in audio output module sequence described in every road audio stream configuration of the audio stream sequence Output module, sequence exists in sort in the audio stream the sequence preceding road K-1 audio stream and the audio output module sequence Corresponded between K-1 preceding audio output module, and in the audio stream of the road K-1 any audio stream all the way in the audio Flow priority ranking relationship in sequence with described arbitrarily corresponding 1 audio output module of audio stream is defeated in the audio all the way The ordering relation in sequence of modules matches out;In the audio stream sequence in addition to the audio stream of the sequence preceding road K-1 Audio stream it is corresponding with the last one audio output module in the audio output module sequence.
In a possible example, in terms of the priority of the determination road the road the M audio stream Zhong Mei audio stream, institute It states processing unit 601 to be used for: it is aobvious in the electronic equipment to obtain the associated display content of the road the road M audio stream Zhong Mei audio stream The display area of display screen;It is determined in the audio stream of the road M according to the associated area of the road the road M audio stream Zhong Mei audio stream The priority of every road audio stream.
In a possible example, in terms of the priority of the determination road the road the M audio stream Zhong Mei audio stream, institute State processing unit 601 to be used for: dividing the road M audio stream according to audio types is the first audio stream set and the second audio adfluxion It closes, the audio types include shared audio types and secret audio types, and the first audio stream set corresponds to described shared Audio types, the second audio stream set correspond to the secret audio types;Determine that strategy determines institute according to the first priority The priority for stating the first road audio stream set Zhong Mei audio stream determines that strategy determines second audio stream according to the second priority The priority of the road set Zhong Mei audio stream, wherein the priority that first priority determines that strategy is determined is below institute It states the second priority and determines the priority that strategy is determined.
In a possible example, determine that strategy determines the first audio stream set according to the first priority described In terms of the priority of the road Zhong Mei audio stream, the processing unit 601 is used for: determining the road the first audio stream set Zhong Mei audio Flow the frequency of use of associated application;Preset first mapping relations set is obtained, the mapping relations set includes the first kind The audio stream of corresponding relationship between the frequency of use and priority of type application, the first kind application is the shared audio Type;First mapping relations set is stated according to the frequency of use of every associated application of road audio stream and institute, determines described the The priority of one road audio stream set Zhong Mei audio stream.
In a possible example, the parameter information includes rated output power and connection type, in the basis In terms of the parameter information determines the audio output module sequence of the K audio output module, the processing unit 601 is used In: the first priority of each audio output module in the K audio output module is determined according to the rated output power; Determine that the second priority of each audio output module, the connection type include being wirelessly connected according to the connection type And wired connection, it is described to be wirelessly connected corresponding priority greater than the corresponding priority of the wired connection;According to described first Priority and second priority determine the configuration preference level of the audio output module;It is determined according to the configuration preference level The audio output module sequence of the K audio output module.
Matching plan in a possible example, between the every road audio stream of the determination and the audio output module Slightly aspect, the processing unit 601 is used for: output control interface, the control interface include at least two-way audio stream and The audio output module that can be enabled;User is obtained by the communication unit 602 to operate for the setting of the control interface; The matching strategy is determined according to setting operation.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (12)

1. a kind of reproduction of multiple audio streams output method, which is characterized in that be applied to electronic equipment, which comprises
In the output request for detecting at least two-way audio stream, detection is currently able to the audio output module enabled;
When the quantity for detecting the audio output module is greater than or equal to 2, every road audio stream and the audio output are determined Matching strategy between module, at least two-way audio stream corresponds at least two audio output module described in the matching strategy;
The audio output module output at least two-way audio stream is controlled according to the matching strategy.
2. the method according to claim 1, wherein the every road audio stream of the determination and the audio output module Between matching strategy, comprising:
Obtain the source-information of at least road the two-way audio Liu Zhongmei audio stream;
The correspondence set between preset source-information and audio output module is obtained, is sieved according to the correspondence set The road N audio stream and the corresponding audio output of the road the road N audio stream Zhong Mei audio stream in the choosing at least two-way audio stream Module, the source-information of every road audio stream are the source-information in the correspondence set, every in the audio stream of the road N Audio stream corresponding audio output module in road is the audio output module in the correspondence set, and N is natural number;
It determines between the audio output module not being screened out in the road M audio stream and the audio output module that can be enabled Matching relationship, the road M audio stream are the audio stream not being screened out in at least two-way audio stream, and M is natural number;
The matching strategy is generated according to the matching relationship of the corresponding relationship of the road N audio stream and the road M audio stream.
3. according to the method described in claim 2, it is characterized in that, the M is positive integer, the audio output that can be enabled The audio output module not being screened out in module includes K audio output module, and K is positive integer;The determining road the M audio stream Matching relationship between the audio output module not being screened out in the audio output module that can be enabled, comprising:
The priority for determining the road the road M audio stream Zhong Mei audio stream, according to the preset order of priority to the road M audio stream It is ranked up, obtains audio stream sequence;
The parameter information for obtaining the K audio output module determines the K audio output module according to the parameter information Audio output module sequence;
The matching relationship is determined according to the audio stream sequence and the audio output module sequence.
4. according to the method described in claim 3, it is characterized in that, described according to the audio stream sequence and the audio output Sequence of modules determines the matching relationship, comprising:
An audio if M≤K, in audio output module sequence described in every road audio stream configuration for the audio stream sequence Output module, the corresponding audio output module of any two-way audio stream is different, and any two-way audio stream in institute Priority ranking relationship in audio stream sequence 2 audio output modules corresponding with any two-way audio stream are stated described Ordering relation in audio output module sequence matches;
An audio if M > K, in audio output module sequence described in every road audio stream configuration for the audio stream sequence Output module, sequence exists in sort in the audio stream the sequence preceding road K-1 audio stream and the audio output module sequence Corresponded between K-1 preceding audio output module, and in the audio stream of the road K-1 any audio stream all the way in the audio Flow priority ranking relationship in sequence with described arbitrarily corresponding 1 audio output module of audio stream is defeated in the audio all the way The ordering relation in sequence of modules matches out;In the audio stream sequence in addition to the audio stream of the sequence preceding road K-1 Audio stream it is corresponding with the last one audio output module in the audio output module sequence.
5. according to the method described in claim 3, it is characterized in that, the determination road the road the M audio stream Zhong Mei audio stream Priority, comprising:
The associated display content of the road the road M audio stream Zhong Mei audio stream is obtained in the display surface of the electronic equipment display screen Product;
The road the road M audio stream Zhong Mei audio stream is determined according to the associated area of the road the road M audio stream Zhong Mei audio stream Priority.
6. according to the method described in claim 3, it is characterized in that, the determination road the road the M audio stream Zhong Mei audio stream Priority, comprising:
Dividing the road M audio stream according to audio types is the first audio stream set and the second audio stream set, the audio class Type includes shared audio types and secret audio types, and the first audio stream set corresponds to the shared audio types, described Second audio stream set corresponds to the secret audio types;
Determine that strategy determines the priority of the road the first audio stream set Zhong Mei audio stream according to the first priority, according to second Priority determines that strategy determines the priority of the road the second audio stream set Zhong Mei audio stream, wherein first priority Determine that the priority that strategy is determined is below the priority that the determining strategy of second priority is determined.
7. according to the method described in claim 3, it is characterized in that, described determine that strategy determines described the according to the first priority The priority of one road audio stream set Zhong Mei audio stream, comprising:
Determine the frequency of use of the associated application of the first audio stream set Zhong Mei road audio stream;
Obtain preset first mapping relations set, the mapping relations set includes the frequency of use of first kind application and excellent The audio stream of corresponding relationship between first grade, the first kind application is the shared audio types;
Mapping relations set is stated according to the frequency of use of every associated application of road audio stream and institute first, determines described first The priority of the road audio stream set Zhong Mei audio stream.
8. according to the method described in claim 3, it is characterized in that, the parameter information includes rated output power and connection side Formula, the audio output module sequence that the K audio output module is determined according to the parameter information, comprising:
The first preferential of each audio output module in the K audio output module is determined according to the rated output power Grade;
Determine that the second priority of each audio output module, the connection type include wireless according to the connection type Connection and wired connection, it is described to be wirelessly connected corresponding priority greater than the corresponding priority of the wired connection;
The configuration preference level of the audio output module is determined according to first priority and second priority;
The audio output module sequence of the K audio output module is determined according to the configuration preference level.
9. the method according to claim 1, wherein the every road audio stream of the determination and the audio output module Between matching strategy, comprising:
Control interface is exported, the control interface includes at least two-way audio stream and the audio output module that can be enabled;
The setting that user is obtained for the control interface operates;
The matching strategy is determined according to setting operation.
10. a kind of MCVF multichannel voice frequency stream output device, which is characterized in that be applied to electronic equipment, described device includes processing unit And communication unit, wherein
The processing unit is detected current in the output request for detecting at least two-way audio stream by the communication unit The audio output module that can be enabled;And when the quantity for detecting the audio output module is greater than or equal to 2, determine every Matching strategy between road audio stream and the audio output module, at least two-way audio stream is corresponding described in the matching strategy At least two audio output module;And the audio output module output at least two-way is controlled according to the matching strategy Audio stream.
11. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet It includes for executing the instruction such as the step in the described in any item methods of claim 1-9.
12. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute such as the described in any item methods of claim 1-9.
CN201811279051.7A 2018-10-30 2018-10-30 Multi-channel audio stream output method and related product Active CN109542388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811279051.7A CN109542388B (en) 2018-10-30 2018-10-30 Multi-channel audio stream output method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811279051.7A CN109542388B (en) 2018-10-30 2018-10-30 Multi-channel audio stream output method and related product

Publications (2)

Publication Number Publication Date
CN109542388A true CN109542388A (en) 2019-03-29
CN109542388B CN109542388B (en) 2022-03-15

Family

ID=65845558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811279051.7A Active CN109542388B (en) 2018-10-30 2018-10-30 Multi-channel audio stream output method and related product

Country Status (1)

Country Link
CN (1) CN109542388B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710475A (en) * 2022-04-11 2022-07-05 三星电子(中国)研发中心 Streaming media audio fusion method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968543A (en) * 2005-11-17 2007-05-23 深圳Tcl新技术有限公司 Multi-channel audio player and its control method
CN105430459A (en) * 2015-11-16 2016-03-23 深圳Tcl数字技术有限公司 Audio data playing method, audio data playing apparatus and smart television
CN106293595A (en) * 2015-05-27 2017-01-04 中兴通讯股份有限公司 The audio frequency output processing method of a kind of terminal unit and terminal unit
CN106293599A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and output system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968543A (en) * 2005-11-17 2007-05-23 深圳Tcl新技术有限公司 Multi-channel audio player and its control method
CN106293595A (en) * 2015-05-27 2017-01-04 中兴通讯股份有限公司 The audio frequency output processing method of a kind of terminal unit and terminal unit
CN105430459A (en) * 2015-11-16 2016-03-23 深圳Tcl数字技术有限公司 Audio data playing method, audio data playing apparatus and smart television
CN106293599A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and output system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710475A (en) * 2022-04-11 2022-07-05 三星电子(中国)研发中心 Streaming media audio fusion method and device
CN114710475B (en) * 2022-04-11 2024-03-15 三星电子(中国)研发中心 Streaming media audio fusion method and device

Also Published As

Publication number Publication date
CN109542388B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN102754067B (en) For comprising the data manipulation method of the terminal of three display units and supporting the terminal of described method
CN103914215B (en) Audio content playback method and apparatus for portable terminal
CN105122780B (en) Electronic equipment and the method for controlling the electronic equipment
CN106354471A (en) Method and device for audio play control and electronic device
CN109151595A (en) Method for processing video frequency, device, terminal and medium
CN109120997A (en) Method for processing video frequency, device, terminal and medium
CN109151172A (en) Audio output control method and relevant device
CN110234032A (en) A kind of voice technical ability creation method and system
CN105245938B (en) The device and method for playing multimedia file
CN109508168B (en) Multi-channel volume adjusting method and related device
CN106686519B (en) The method, apparatus and terminal of the stereo pairing of audio-frequence player device
CN110289024A (en) A kind of audio editing method, apparatus, electronic equipment and storage medium
CN112286481A (en) Audio output method and electronic equipment
CN108268234A (en) A kind of audio output control method, device and terminal
CN109542388A (en) Reproduction of multiple audio streams output method and Related product
CN110134480A (en) Processing method, device, electronic equipment and the storage medium of user's trigger action
CN109618116A (en) Processing method, electronic equipment and the computer storage medium of multimedia messages
CN110933221A (en) Audio channel management method, device, terminal and storage medium
CN108882015A (en) Recall the broadcasting speed method of adjustment and relevant device of video
CN111857473A (en) Audio playing method and device and electronic equipment
EP1783600A2 (en) Method for arbitrating audio data output apparatuses
CN109471714A (en) Platform deployment method, apparatus, equipment and storage medium
CN105072534B (en) A kind of control method and terminal of wireless sound box system
CN110381391A (en) Video rapid section method, apparatus and electronic equipment
CN109166585A (en) The method and device of voice control, storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant