CN109542388B - Multi-channel audio stream output method and related product - Google Patents

Multi-channel audio stream output method and related product Download PDF

Info

Publication number
CN109542388B
CN109542388B CN201811279051.7A CN201811279051A CN109542388B CN 109542388 B CN109542388 B CN 109542388B CN 201811279051 A CN201811279051 A CN 201811279051A CN 109542388 B CN109542388 B CN 109542388B
Authority
CN
China
Prior art keywords
audio
audio output
streams
output module
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811279051.7A
Other languages
Chinese (zh)
Other versions
CN109542388A (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

Images

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)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application discloses a multi-channel audio stream output method and a related product, which are applied to electronic equipment, wherein the method comprises the following steps: when the output requests of at least two paths of audio streams are detected, detecting currently enabled audio output modules, secondly, when the number of the audio output modules is detected to be greater than or equal to 2, determining a matching strategy between each path of audio stream and the audio output modules, and finally, controlling the audio output modules to output the at least two paths of audio streams according to the matching strategy. The embodiment of the application avoids the audio mixing output of multiple paths of audio, meets the requirements of scenes such as multiple paths of audio output and the like, and expands the functionality and the applicability.

Description

Multi-channel audio stream output method and related product
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method for outputting multiple audio streams and a related product.
Background
With the higher configuration of the electronic equipment, the multitask and split screen functions are more and more powerful, and when the electronic equipment performs multitask in a split screen mode, the differentiated visual requirements of users can be met.
Disclosure of Invention
The embodiment of the application provides a multi-channel audio stream output method and a related device, which aim to avoid the condition of audio confusion caused by multi-channel audio mixing output, expand the functionality and the applicability and simplify the operation process of executing the multi-channel audio output.
In a first aspect, an embodiment of the present application provides a method for outputting multiple audio streams, including:
when output requests of at least two audio streams are detected, detecting currently enabled audio output modules;
when the number of the audio output modules is detected to be greater than or equal to 2, determining a matching strategy between each audio stream and the audio output modules, wherein the at least two audio streams in the matching strategy correspond to at least 2 audio output modules;
and controlling the audio output module to output the at least two audio streams according to the matching strategy.
In a second aspect, an embodiment of the present application provides a multi-channel audio stream output method apparatus, including a processing unit and a communication unit, wherein,
the processing unit detects the currently enabled audio output module through the communication unit when the output requests of at least two audio streams are detected; when the number of the audio output modules is detected to be greater than or equal to 2, determining a matching strategy between each audio stream and the audio output modules, wherein the at least two audio streams in the matching strategy correspond to at least 2 audio output modules; and controlling the audio output module to output the at least two audio streams according to the matching strategy.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled, and then, when detecting that the number of the audio output modules is greater than or equal to 2, determines a matching policy between each audio stream and the audio output module, and finally, controls the audio output module to output the at least two audio streams according to the matching policy. Therefore, the electronic equipment can determine the matching strategy according to the detected multi-channel audio and the plurality of audio output modules, and output multi-channel audio signals through the audio output modules according to the matching strategy, so that the situation that the multi-channel audio is output only through one audio output module to cause audio confusion is avoided, the multi-channel audio signals can be output from different paths, the diversified experience requirements of users are met, the functionality and the applicability are expanded, and the operation process of executing the multi-channel audio output is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1A is a schematic diagram of a program runtime space of a smart phone;
FIG. 1B is a system architecture diagram of an android system;
fig. 2 is a schematic flowchart of a method for outputting multiple audio streams according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another multi-channel audio stream output method provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of another multi-channel audio stream output method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a multi-channel audio stream output method and apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like.
As shown in fig. 1A, currently, an electronic device such as a smart phone is generally provided with a program running space, where the program running space includes a user space and an operating system space, where the user space runs one or more applications, the one or more applications are third-party applications installed in the electronic device, a multi-channel volume adjustment algorithm runs in the user space, and the operating system space runs an operating system of the electronic device.
The electronic device can specifically run an Android system, a mobile operating system iOS developed by apple Inc., and the like, and the electronic device is not limited herein. As shown in fig. 1B, for example, the electronic device runs an Android system, the corresponding user space includes Application layers (Applications) in the Android system, and the operating system space may include an Application Framework layer (Application Framework) in the Android system, a system Runtime library layer (including system Runtime Libraries and Android Runtime runtimes), and a Linux Kernel layer (Linux Kernel). The application layer comprises various applications directly interacting with the user or service programs written by Java language and running in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) SMS, phone dialing, picture viewer, calendar, games, maps, World Wide Web (Web) browser, and other applications developed by developers. The application framework layer provides a series of class libraries required by Android application development, can be used for reusing components, and can also realize personalized extension through inheritance. The system operation library layer is used for supporting an application framework and providing services for each component in the Android system. The system operation library layer is composed of a system class library and Android operation. The Android runtime comprises two parts, namely a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing core functions such as hardware device driving, process and memory management, a network protocol stack, power management, wireless communication and the like.
Electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth, having wireless communication capabilities. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
At present, when a plurality of videos are played by being opened by split screens of electronic equipment such as a mobile phone and the like, a picture can be played by split screens, but audio is output through the same output path, so that mixed sound is generated, user experience is poor, and various requirements under a multi-channel audio output scene under the multi-task or split screen condition cannot be met.
In view of the above problems, the present application provides a method for outputting multiple audio streams, and the following describes embodiments of the present application in detail.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for outputting multiple audio streams in an electronic device according to an embodiment of the present disclosure; as shown in the figure, the multi-channel audio stream output method includes:
step 201, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled;
the audio output module may include any one of an earphone, a sound box, and a pair of earphones, and a speaker carried by the electronic device itself, and the like, which are built in the electronic device or connected to the electronic device to play audio content of the electronic device.
Step 202, when detecting that the number of the audio output modules is greater than or equal to 2, the electronic device determines a matching strategy between each audio stream and the audio output module;
the at least two audio streams in the matching strategy correspond to at least 2 audio output modules, and it can be seen that the matching strategy does not output the multiple audio streams through one audio output module in a sound mixing manner under the condition that multiple audio output modules are selected when the multiple audio streams are output.
And 203, the electronic equipment controls the audio output module to output the at least two audio streams according to the matching strategy.
It can be seen that, in the embodiment of the present application, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled, and then, when detecting that the number of the audio output modules is greater than or equal to 2, determines a matching policy between each audio stream and the audio output module, and finally, controls the audio output module to output the at least two audio streams according to the matching policy. Therefore, the electronic equipment can determine the matching strategy according to the detected multi-channel audio and the plurality of audio output modules, and output multi-channel audio signals through the audio output modules according to the matching strategy, so that the situation that the multi-channel audio is output only through one audio output module to cause audio confusion is avoided, the multi-channel audio signals can be output from different paths, the diversified experience requirements of users are met, the functionality and the applicability are expanded, and the operation process of executing the multi-channel audio output is simplified.
In one possible example, the electronic device determines a matching policy between each audio stream and the audio output module, including: the electronic equipment acquires the source information of each audio stream in the at least two audio streams; acquiring a corresponding relation set between preset source information and audio output modules, and screening N audio streams in the at least two audio streams and an audio output module corresponding to each audio stream in the N audio streams according to the corresponding relation set, wherein the source information of each audio stream is the source information in the corresponding relation set, the audio output module corresponding to each audio stream in the N audio streams is the audio output module in the corresponding relation set, and N is a natural number; determining a matching relationship between M audio streams and audio output modules which are not screened out in the audio output modules which can be started, wherein the M audio streams are the audio streams which are not screened out in the at least two audio streams, and M is a natural number; and generating the matching strategy according to the corresponding relation of the N paths of audio streams and the matching relation of the M paths of audio streams.
The source information of the audio stream can be divided according to a certain website or certain software, and the corresponding relation set between the source information and the audio output module can be adjusted according to the use habit of a user or adjusted through manual input of the user.
Optionally, if the multiple audio streams and the multiple audio modules all belong to a device having a matching relationship with the corresponding relationship, N is the number of the audio streams to be output, and M is 0; if the multi-channel audio stream and the plurality of audio modules do not belong to the equipment with the corresponding relationship and the matching relationship, N is 0, and M is the number of channels of the audio stream to be output;
for example, when the electronic device detects that a user often plays music of a certain software through a certain audio output module device, the electronic device pops up the corresponding relationship between the audio output module and the software, and stores the corresponding relationship into the corresponding relationship set after the user determines the corresponding relationship.
In this example, the electronic device may first screen out a part of the audio streams and the audio output modules having a matching relationship with the multiple audio output modules through a preset corresponding relationship, and then match the audio streams and the audio output modules not having the matching relationship, which simplifies the complexity of the matching process and accelerates the matching speed.
In one possible example, M is a positive integer, the audio output modules that are not screened out in the enabled audio output modules include K audio output modules, and K is a positive integer; the electronic device determining a matching relationship between the M audio streams and the audio output modules that are not screened out of the audio output modules that can be enabled, includes: determining the priority of each audio stream in the M audio streams, and sequencing the M audio streams according to a preset sequence of the priorities to obtain an audio stream sequence; acquiring parameter information of the K audio output modules, and determining audio output module sequences of the K audio output modules according to the parameter information; and determining the matching relation according to the audio stream sequence and the audio output module sequence.
In this example, the electronic device correspondingly sequences the audio stream and the audio output module to generate a sequence, and determines a matching relationship between the audio stream and the audio output module according to the sequence of the audio stream and the audio output module, so that matching rationality is improved.
In one possible example, the electronic device determining the matching relationship according to the sequence of audio streams and the sequence of audio output modules includes: if M is less than or equal to K, the electronic equipment configures one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, the audio output modules corresponding to any two audio streams are different from each other, and the priority ordering relationship of the any two audio streams in the audio stream sequence is matched with the ordering relationship of the 2 audio output modules corresponding to the any two audio streams in the audio output module sequence; if M > K, the electronic device configures one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein K-1 audio streams sequenced at the front in the audio stream sequence correspond to K-1 audio output modules sequenced at the front in the audio output module sequence one by one, and the priority sequencing relation of any one audio stream in the K-1 audio streams in the audio stream sequence is matched with the sequencing relation of 1 audio output module corresponding to any one audio stream in the audio output module sequence; and the audio streams in the audio stream sequence except the K-1 audio streams sequenced at the front correspond to the last audio output module in the audio output module sequence.
And when M is less than or equal to K, the electronic equipment can match one audio output module with an unexpected audio stream in the multi-channel audio streams from high to low or from low to high according to the audio stream sequence and the audio output module sequence. And under the condition that M > K, sequentially matching the front K-1 or rear K-1 audio streams in the audio stream sequence with the front K-1 audio output modules in the audio output module sequence according to specific conditions, and matching the last audio output module in the whole audio output module sequence for the remaining unmatched audio streams in the audio stream sequence.
For example, assuming that M is 5 and N is 10, the audio stream sequence is aligned first and matched with the audio output module sequence first, and the audio stream sequence is aligned second and matched with the audio output module sequence second, until the audio stream sequence is aligned fifth and matched with the audio output module sequence fifth; assuming that M is 10 and N is 5, the audio streams with the first four audio stream sequences are matched with the audio output modules with the first four audio stream sequences in the audio output module sequence one by one, and the audio streams with the audio stream sequences five to ten are all matched with the audio output module with the fifth audio stream sequence.
Therefore, in the example, the electronic device flexibly adjusts the matching strategy according to the actual situation, so that each audio stream has a matched audio output module, the functionality of the electronic device is expanded, and the requirements under different scenes are met.
In one possible example, the electronic device determines a priority of each of the M audio streams, including: the electronic equipment acquires the display area of the display content associated with each audio stream in the M audio streams on the display screen of the electronic equipment; and determining the priority of each audio stream in the M audio streams according to the area associated with each audio stream in the M audio streams.
The priority of the audio stream is determined according to the display area associated with each audio stream, and the priority of the audio stream is higher when the associated display area is larger
Therefore, in this example, the degree of importance of the user to the audio stream is determined according to the screen splitting condition of the user, and then the priority of the audio stream is determined, so that the intelligence of the electronic device is improved, and the steps of the multi-channel audio output process are simplified.
In one possible example, the electronic device determines a priority of each of the M audio streams, including: the electronic equipment divides the M paths of audio streams into a first audio stream set and a second audio stream set according to audio types, wherein the audio types comprise a shared audio type and a private audio type, the first audio stream set corresponds to the shared audio type, and the second audio stream set corresponds to the private audio type; and determining the priority of each audio stream in the first audio stream set according to a first priority determination strategy, and determining the priority of each audio stream in the second audio stream set according to a second priority determination strategy, wherein the priorities determined by the first priority determination strategy are all lower than the priorities determined by the second priority determination strategy.
The electronic equipment divides the M audio streams into two categories, namely a sharing type and a private type through the audio type, the priority of the private type audio stream is greater than that of the sharing type audio stream, and different strategies are adopted for further determining the priority of the same type audio stream. The audio stream of the shared audio type comprises the content information of the audio stream, such as a television series, a movie, music and a recording trailer, and the audio stream of the private audio type comprises the content information of the audio stream, such as conversation voice and instant messaging voice. The priority of the sharing type and the priority of the privacy type can be adjusted by the user through setting.
Therefore, in this example, the electronic device first divides the audio stream into two types according to the content type, and then determines the priority of the audio stream in the two types, so that the intelligence of the electronic device is improved, and the steps of the multi-channel audio output process are simplified.
In one possible example, the electronic device determines the priority of each audio stream in the first set of audio streams according to a first priority determination policy, including: the electronic device determining a frequency of use of an application associated with each audio stream in the first set of audio streams; acquiring a preset first mapping relation set, wherein the mapping relation set comprises a corresponding relation between the use frequency and the priority of a first type application, and an audio stream of the first type application is the shared audio type; and determining the priority of each audio stream in the first audio stream set according to the use frequency of the application associated with each audio stream and the first mapping relation set.
Optionally, determining the priority of each audio stream in the second audio stream set according to a second priority determination policy, and determining the use frequency of an application associated with each audio stream in the second audio stream set; acquiring a preset second mapping relation set, wherein the mapping relation set comprises a corresponding relation between the use frequency and the priority of a second type of application, and an audio stream of the second type of application is the private audio type; and determining the priority of each audio stream in the second audio stream set according to the use frequency of the application associated with each audio stream and the second corresponding relation set.
Therefore, in this example, the electronic device performs priority ranking on the audio streams in the same type according to the use frequency of the application associated with each audio stream, so that the intelligence of the electronic device is improved, and the steps of the multi-channel audio output process are simplified.
In one possible example, the parameter information includes a rated output power and a connection mode, and the electronic device determines an audio output module sequence of the K audio output modules according to the parameter information, including: the electronic equipment determines the first priority of each audio output module in the K audio output modules according to the rated output power; determining a second priority of each audio output module according to the connection mode, wherein the connection mode comprises a wireless connection and a wired connection, and the priority corresponding to the wireless connection is greater than the priority corresponding to the wired connection; determining the configuration priority of the audio output module according to the first priority and the second priority; and determining the audio output module sequence of the K audio output modules according to the configuration priority.
For example, the electronic device may read a preset corresponding relationship between an output power value and priority values according to the rated output power to determine first priority values of the K audio output modules, determine second priority values according to the wireless connection and the wired connection, add the first priority values and the second priority values to obtain configuration priority values, and generate an audio output module sequence of the K audio output modules according to the configuration priority values.
Therefore, in this example, the electronic device determines the audio output module sequences of the K audio output modules according to the rated output powers and the connection modes of the K audio output modules, so that the intelligence of the electronic device is improved.
In one possible example, the electronic device determines a matching policy between each audio stream and the audio output module, including: the electronic equipment outputs a control interface, wherein the control interface comprises the at least two audio streams and an audio output module which can be started; acquiring the setting operation of a user for the control interface; and determining the matching strategy according to the setting operation.
Therefore, in the example, the electronic device determines the matching strategy through interaction, so that the functionality and the practicability are expanded, and various requirements under a multi-channel audio output scene are met.
Optionally, after determining the matching policy between each audio stream and the audio output module, before controlling the audio output module to output the at least two audio streams according to the matching policy, the electronic device displays the matching policy on a display screen of the electronic device in a pop-up window form, where the pop-up window includes a confirmation option and a denial option; receiving feedback information of a display screen; if the feedback information is confirmation information, detecting a first number of audio output modules which are not matched with the currently-enabled audio output modules, if the first number is larger than 0, displaying the first number of audio output modules and the at least two paths of audio streams on a display screen, and receiving a first matching strategy of the first number of audio output modules and the at least two paths of audio streams; adding the first matching strategy to the matching strategy; if the feedback information is negative information, displaying the currently enabled audio output module and the at least two paths of audio streams on a display screen, and receiving a second matching strategy of the currently enabled audio output module and the at least two paths of audio streams; and updating the content of the matching strategy into the content of the second matching strategy.
Referring to fig. 3, fig. 3 is a schematic flowchart of a multi-channel audio stream output method according to an embodiment of the present application, applied to an electronic device, and the multi-channel audio stream output method includes:
step 301, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled;
step 302, the electronic device obtains source information of each audio stream in the at least two audio streams;
step 303, the electronic device obtains a set of correspondence between preset source information and audio output modules, and screens N audio streams of the at least two audio streams and an audio output module corresponding to each audio stream of the N audio streams according to the set of correspondence;
step 304, the electronic device determines the priority of each audio stream in the M audio streams, and sorts the M audio streams according to a preset order of the priority to obtain an audio stream sequence;
305, the electronic device obtains parameter information of the K audio output modules, and determines an audio output module sequence of the K audio output modules according to the parameter information;
step 306, the electronic device determines the matching relationship according to the audio stream sequence and the audio output module sequence;
307, generating the matching strategy according to the corresponding relation of the N paths of audio streams and the matching relation of the M paths of audio streams;
and 308, controlling the audio output module to output the at least two audio streams by the electronic equipment according to the matching strategy.
It can be seen that, in the embodiment of the present application, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled, and then, when detecting that the number of the audio output modules is greater than or equal to 2, determines a matching policy between each audio stream and the audio output module, and finally, controls the audio output module to output the at least two audio streams according to the matching policy. Therefore, the electronic equipment can determine the matching strategy according to the detected multi-channel audio and the plurality of audio output modules, and output multi-channel audio signals through the audio output modules according to the matching strategy, so that the situation that the multi-channel audio is output only through one audio output module to cause audio confusion is avoided, the multi-channel audio signals can be output from different paths, the diversified experience requirements of users are met, the functionality and the applicability are expanded, and the operation process of executing the multi-channel audio output is simplified.
In addition, the electronic equipment generates the matching strategy through the corresponding relation and a method for generating the sequence of the audio stream and the audio output module, meets various requirements in scenes of multi-channel audio stream output and the like, and expands functionality and applicability.
Referring to fig. 4, fig. 4 is a schematic flowchart of a multi-channel audio stream output method provided in an embodiment of the present application and applied to an electronic device, where as shown in the figure, the multi-channel audio stream output method includes:
step 401, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled;
step 402, the electronic device obtains source information of each audio stream in the at least two audio streams;
step 403, the electronic device obtains a set of correspondence between preset source information and audio output modules, and screens N audio streams of the at least two audio streams and an audio output module corresponding to each audio stream of the N audio streams according to the set of correspondence;
step 404, the electronic device obtains a display area of display content associated with each audio stream in the M audio streams on a display screen of the electronic device;
step 405, the electronic device determines the priority of each audio stream in the M audio streams according to the area associated with each audio stream in the M audio streams;
step 406, the electronic device determines a first priority of each audio output module of the K audio output modules according to the rated output power;
step 407, the electronic device determines a second priority of each audio output module according to the connection manner;
step 408, the electronic device determines a configuration priority of the audio output module according to the first priority and the second priority;
step 409, the electronic equipment determines an audio output module sequence of the K audio output modules according to the configuration priority;
step 410, the electronic device determines the matching relationship according to the audio stream sequence and the audio output module sequence;
step 411, generating the matching strategy according to the corresponding relationship of the N audio streams and the matching relationship of the M audio streams;
step 412, the electronic device controls the audio output module to output the at least two audio streams according to the matching policy.
It can be seen that, in the embodiment of the present application, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled, and then, when detecting that the number of the audio output modules is greater than or equal to 2, determines a matching policy between each audio stream and the audio output module, and finally, controls the audio output module to output the at least two audio streams according to the matching policy. Therefore, the electronic equipment can determine the matching strategy according to the detected multi-channel audio and the plurality of audio output modules, and output multi-channel audio signals through the audio output modules according to the matching strategy, so that the situation that the multi-channel audio is output only through one audio output module to cause audio confusion is avoided, the multi-channel audio signals can be output from different paths, the diversified experience requirements of users are met, the functionality and the applicability are expanded, and the operation process of executing the multi-channel audio output is simplified.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application, as shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for:
when output requests of at least two audio streams are detected, detecting currently enabled audio output modules;
when the number of the audio output modules is detected to be greater than or equal to 2, determining a matching strategy between each audio stream and the audio output modules, wherein the at least two audio streams in the matching strategy correspond to at least 2 audio output modules;
and controlling the audio output module to output the at least two audio streams according to the matching strategy.
It can be seen that, in the embodiment of the present application, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled, and then, when detecting that the number of the audio output modules is greater than or equal to 2, determines a matching policy between each audio stream and the audio output module, and finally, controls the audio output module to output the at least two audio streams according to the matching policy. Therefore, the electronic equipment can determine the matching strategy according to the detected multi-channel audio and the plurality of audio output modules, and output multi-channel audio signals through the audio output modules according to the matching strategy, so that the situation that the multi-channel audio is output only through one audio output module to cause audio confusion is avoided, the multi-channel audio signals can be output from different paths, the diversified experience requirements of users are met, the functionality and the applicability are expanded, and the operation process of executing the multi-channel audio output is simplified.
In one possible example, in terms of the determining the matching policy between each audio stream and the audio output module, the instructions in the program are specifically configured to: acquiring source information of each audio stream in the at least two audio streams; acquiring a corresponding relation set between preset source information and audio output modules, and screening N audio streams in the at least two audio streams and an audio output module corresponding to each audio stream in the N audio streams according to the corresponding relation set, wherein the source information of each audio stream is the source information in the corresponding relation set, the audio output module corresponding to each audio stream in the N audio streams is the audio output module in the corresponding relation set, and N is a natural number; determining a matching relationship between M audio streams and audio output modules which are not screened out in the audio output modules which can be started, wherein the M audio streams are the audio streams which are not screened out in the at least two audio streams, and M is a natural number; and generating the matching strategy according to the corresponding relation of the N paths of audio streams and the matching relation of the M paths of audio streams.
In one possible example, M is a positive integer, the audio output modules that are not screened out in the enabled audio output modules include K audio output modules, and K is a positive integer; in the aspect of determining a matching relationship between the M audio streams and the audio output modules that are not screened out of the audio output modules that can be enabled, the instructions in the program are specifically configured to perform the following operations: determining the priority of each audio stream in the M audio streams, and sequencing the M audio streams according to a preset sequence of the priorities to obtain an audio stream sequence; acquiring parameter information of the K audio output modules, and determining audio output module sequences of the K audio output modules according to the parameter information; and determining the matching relation according to the audio stream sequence and the audio output module sequence.
In one possible example, in said determining said match relationship from said sequence of audio streams and said sequence of audio output modules, the instructions in said program are specifically configured to perform the following: if M is less than or equal to K, configuring one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein the audio output modules corresponding to any two audio streams are different from each other, and the priority ordering relationship of the any two audio streams in the audio stream sequence is matched with the ordering relationship of the 2 audio output modules corresponding to the any two audio streams in the audio output module sequence; if M > K, the electronic device configures one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein K-1 audio streams sequenced at the front in the audio stream sequence correspond to K-1 audio output modules sequenced at the front in the audio output module sequence one by one, and the priority sequencing relation of any one audio stream in the K-1 audio streams in the audio stream sequence is matched with the sequencing relation of 1 audio output module corresponding to any one audio stream in the audio output module sequence; and the audio streams in the audio stream sequence except the K-1 audio streams sequenced at the front correspond to the last audio output module in the audio output module sequence.
In one possible example, in the determining the priority of each of the M audio streams, the instructions in the program are specifically configured to: acquiring the display area of the display content associated with each audio stream in the M audio streams on the display screen of the electronic equipment; and determining the priority of each audio stream in the M audio streams according to the area associated with each audio stream in the M audio streams.
In one possible example, in the determining the priority of each of the M audio streams, the instructions in the program are specifically configured to: dividing the M audio streams into a first audio stream set and a second audio stream set according to audio types, wherein the audio types comprise a shared audio type and a private audio type, the first audio stream set corresponds to the shared audio type, and the second audio stream set corresponds to the private audio type; and determining the priority of each audio stream in the first audio stream set according to a first priority determination strategy, and determining the priority of each audio stream in the second audio stream set according to a second priority determination strategy, wherein the priorities determined by the first priority determination strategy are all lower than the priorities determined by the second priority determination strategy.
In one possible example, in the aspect of determining the priority of each audio stream in the first set of audio streams according to the first priority determination policy, the instructions in the program are specifically configured to: determining a usage frequency of an application associated with each audio stream in the first set of audio streams; acquiring a preset first mapping relation set, wherein the mapping relation set comprises a corresponding relation between the use frequency and the priority of a first type application, and an audio stream of the first type application is the shared audio type; and determining the priority of each audio stream in the first audio stream set according to the use frequency of the application associated with each audio stream and the first mapping relation set.
In one possible example, the parameter information includes a rated output power and a connection mode, and in terms of determining the audio output module sequence of the K audio output modules according to the parameter information, the instructions in the program are specifically configured to perform the following operations: determining a first priority of each audio output module in the K audio output modules according to the rated output power; determining a second priority of each audio output module according to the connection mode, wherein the connection mode comprises a wireless connection and a wired connection, and the priority corresponding to the wireless connection is greater than the priority corresponding to the wired connection; determining the configuration priority of the audio output module according to the first priority and the second priority; and determining the audio output module sequence of the K audio output modules according to the configuration priority.
In one possible example, in terms of the determining the matching policy between each audio stream and the audio output module, the instructions in the program are specifically configured to: outputting a control interface, wherein the control interface comprises the at least two audio streams and an audio output module capable of being started; acquiring the setting operation of a user for the control interface; and determining the matching strategy according to the setting operation.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of a multiple audio stream output apparatus 600 according to an embodiment of the present application. The multi-channel audio stream output apparatus 600 is applied to an electronic device, and includes a processing unit 601 and a communication unit 602, wherein,
the processing unit 601, when detecting an output request of at least two audio streams, detects an audio output module that can be currently enabled through the communication unit 602; when the number of the audio output modules is detected to be greater than or equal to 2, determining a matching strategy between each audio stream and the audio output modules, wherein the at least two audio streams in the matching strategy correspond to at least 2 audio output modules; and controlling the audio output module to output the at least two audio streams according to the matching strategy.
The multi-channel audio stream output apparatus may further include a storage unit 603 for storing program codes and data of the electronic device. The processing unit 601 may be an application processor, the communication unit 602 may be a global communication bus, a transceiver, etc., and the storage unit 603 may be a memory.
It can be seen that, in the embodiment of the present application, when detecting an output request of at least two audio streams, an electronic device detects an audio output module that can be currently enabled, and then, when detecting that the number of the audio output modules is greater than or equal to 2, determines a matching policy between each audio stream and the audio output module, and finally, controls the audio output module to output the at least two audio streams according to the matching policy. Therefore, the electronic equipment can determine the matching strategy according to the detected multi-channel audio and the plurality of audio output modules, and output multi-channel audio signals through the audio output modules according to the matching strategy, so that the situation that the multi-channel audio is output only through one audio output module to cause audio confusion is avoided, the multi-channel audio signals can be output from different paths, the diversified experience requirements of users are met, the functionality and the applicability are expanded, and the operation process of executing the multi-channel audio output is simplified.
In one possible example, in terms of the determining the matching policy between each audio stream and the audio output module, the processing unit 601 is configured to: acquiring source information of each audio stream in the at least two audio streams; acquiring a corresponding relation set between preset source information and audio output modules, and screening N audio streams in the at least two audio streams and an audio output module corresponding to each audio stream in the N audio streams according to the corresponding relation set, wherein the source information of each audio stream is the source information in the corresponding relation set, the audio output module corresponding to each audio stream in the N audio streams is the audio output module in the corresponding relation set, and N is a natural number; determining a matching relationship between M audio streams and audio output modules which are not screened out in the audio output modules which can be started, wherein the M audio streams are the audio streams which are not screened out in the at least two audio streams, and M is a natural number; and generating the matching strategy according to the corresponding relation of the N paths of audio streams and the matching relation of the M paths of audio streams.
In one possible example, M is a positive integer, the audio output modules that are not screened out in the enabled audio output modules include K audio output modules, and K is a positive integer; in terms of the determining a matching relationship between the M audio streams and the audio output modules that are not screened out of the enabled audio output modules, the processing unit 601 is configured to: determining the priority of each audio stream in the M audio streams, and sequencing the M audio streams according to a preset sequence of the priorities to obtain an audio stream sequence; acquiring parameter information of the K audio output modules, and determining audio output module sequences of the K audio output modules according to the parameter information; and determining the matching relation according to the audio stream sequence and the audio output module sequence.
In one possible example, in said determining the matching relationship according to the sequence of audio streams and the sequence of audio output modules, the processing unit 601 is configured to: if M is less than or equal to K, configuring one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein the audio output modules corresponding to any two audio streams are different from each other, and the priority ordering relationship of the any two audio streams in the audio stream sequence is matched with the ordering relationship of the 2 audio output modules corresponding to the any two audio streams in the audio output module sequence; if M > K, the electronic device configures one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein K-1 audio streams sequenced at the front in the audio stream sequence correspond to K-1 audio output modules sequenced at the front in the audio output module sequence one by one, and the priority sequencing relation of any one audio stream in the K-1 audio streams in the audio stream sequence is matched with the sequencing relation of 1 audio output module corresponding to any one audio stream in the audio output module sequence; and the audio streams in the audio stream sequence except the K-1 audio streams sequenced at the front correspond to the last audio output module in the audio output module sequence.
In one possible example, in the aspect of determining the priority of each of the M audio streams, the processing unit 601 is configured to: acquiring the display area of the display content associated with each audio stream in the M audio streams on the display screen of the electronic equipment; and determining the priority of each audio stream in the M audio streams according to the area associated with each audio stream in the M audio streams.
In one possible example, in the aspect of determining the priority of each of the M audio streams, the processing unit 601 is configured to: dividing the M audio streams into a first audio stream set and a second audio stream set according to audio types, wherein the audio types comprise a shared audio type and a private audio type, the first audio stream set corresponds to the shared audio type, and the second audio stream set corresponds to the private audio type; and determining the priority of each audio stream in the first audio stream set according to a first priority determination strategy, and determining the priority of each audio stream in the second audio stream set according to a second priority determination strategy, wherein the priorities determined by the first priority determination strategy are all lower than the priorities determined by the second priority determination strategy.
In one possible example, in terms of the determining the priority of each audio stream in the first set of audio streams according to the first priority determination policy, the processing unit 601 is configured to: determining a usage frequency of an application associated with each audio stream in the first set of audio streams; acquiring a preset first mapping relation set, wherein the mapping relation set comprises a corresponding relation between the use frequency and the priority of a first type application, and an audio stream of the first type application is the shared audio type; and determining the priority of each audio stream in the first audio stream set according to the use frequency of the application associated with each audio stream and the first mapping relation set.
In one possible example, the parameter information includes a rated output power and a connection mode, and in terms of determining the audio output module sequence of the K audio output modules according to the parameter information, the processing unit 601 is configured to: determining a first priority of each audio output module in the K audio output modules according to the rated output power; determining a second priority of each audio output module according to the connection mode, wherein the connection mode comprises a wireless connection and a wired connection, and the priority corresponding to the wireless connection is greater than the priority corresponding to the wired connection; determining the configuration priority of the audio output module according to the first priority and the second priority; and determining the audio output module sequence of the K audio output modules according to the configuration priority.
In one possible example, in terms of the determining the matching policy between each audio stream and the audio output module, the processing unit 601 is configured to: outputting a control interface, wherein the control interface comprises the at least two audio streams and an audio output module capable of being started; acquiring a setting operation of a user for the control interface through the communication unit 602; and determining the matching strategy according to the setting operation.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A method for outputting multiple audio streams, applied to an electronic device, the method comprising:
when output requests of at least two audio streams are detected, detecting currently enabled audio output modules;
when detecting that the number of the audio output modules is greater than or equal to 2, acquiring source information of each audio stream in the at least two audio streams;
acquiring a corresponding relation set between preset source information and audio output modules, screening N audio streams in the at least two audio streams and an audio output module corresponding to each audio stream in the N audio streams according to the corresponding relation set, wherein the source information of each audio stream is the source information in the corresponding relation set, the audio output module corresponding to each audio stream in the N audio streams is the audio output module in the corresponding relation set, N is a natural number, and the corresponding relation set is adjusted according to use habits;
determining a matching relationship between M audio streams and audio output modules which are not screened out in the audio output modules which can be started, wherein the M audio streams are the audio streams which are not screened out in the at least two audio streams, and M is a natural number;
generating a matching strategy according to the corresponding relation of the N paths of audio streams and the matching relation of the M paths of audio streams, wherein the at least two paths of audio streams in the matching strategy correspond to at least 2 audio output modules;
and controlling the audio output module to output the at least two audio streams according to the matching strategy.
2. The method of claim 1, wherein M is a positive integer, wherein the audio output modules that are not screened out of the enabled audio output modules comprise K audio output modules, and K is a positive integer; the determining a matching relationship between the M audio streams and the audio output modules that are not screened out of the audio output modules that can be enabled includes:
determining the priority of each audio stream in the M audio streams, and sequencing the M audio streams according to a preset sequence of the priorities to obtain an audio stream sequence;
acquiring parameter information of the K audio output modules, and determining audio output module sequences of the K audio output modules according to the parameter information;
and determining the matching relation according to the audio stream sequence and the audio output module sequence.
3. The method of claim 2, wherein determining the matching relationship based on the sequence of audio streams and the sequence of audio output modules comprises:
if M is less than or equal to K, configuring one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein the audio output modules corresponding to any two audio streams are different from each other, and the priority ordering relationship of the any two audio streams in the audio stream sequence is matched with the ordering relationship of the 2 audio output modules corresponding to the any two audio streams in the audio output module sequence;
if M > K, configuring one audio output module in the audio output module sequence for each audio stream of the audio stream sequence, wherein K-1 audio streams sequenced at the front in the audio stream sequence correspond to K-1 audio output modules sequenced at the front in the audio output module sequence one by one, and the priority sequencing relation of any one audio stream in the K-1 audio streams in the audio stream sequence is matched with the sequencing relation of 1 audio output module corresponding to any one audio stream in the audio output module sequence; and the audio streams in the audio stream sequence except the K-1 audio streams sequenced at the front correspond to the last audio output module in the audio output module sequence.
4. The method of claim 2, wherein the determining the priority of each of the M audio streams comprises:
acquiring the display area of the display content associated with each audio stream in the M audio streams on the display screen of the electronic equipment;
and determining the priority of each audio stream in the M audio streams according to the display area associated with each audio stream in the M audio streams.
5. The method of claim 2, wherein the determining the priority of each of the M audio streams comprises:
dividing the M audio streams into a first audio stream set and a second audio stream set according to audio types, wherein the audio types comprise a shared audio type and a private audio type, the first audio stream set corresponds to the shared audio type, and the second audio stream set corresponds to the private audio type;
and determining the priority of each audio stream in the first audio stream set according to a first priority determination strategy, and determining the priority of each audio stream in the second audio stream set according to a second priority determination strategy, wherein the priorities determined by the first priority determination strategy are all lower than the priorities determined by the second priority determination strategy.
6. The method of claim 5, wherein said determining the priority of each audio stream in the first set of audio streams according to a first priority determination policy comprises:
determining a usage frequency of an application associated with each audio stream in the first set of audio streams;
acquiring a preset first mapping relation set, wherein the mapping relation set comprises a corresponding relation between the use frequency and the priority of a first type application, and an audio stream of the first type application is the shared audio type;
and determining the priority of each audio stream in the first audio stream set according to the use frequency of the application associated with each audio stream and the first mapping relation set.
7. The method of claim 2, wherein the parameter information includes a rated output power and a connection mode, and wherein determining the audio output module sequence of the K audio output modules according to the parameter information includes:
determining a first priority of each audio output module in the K audio output modules according to the rated output power;
determining a second priority of each audio output module according to the connection mode, wherein the connection mode comprises a wireless connection and a wired connection, and the priority corresponding to the wireless connection is greater than the priority corresponding to the wired connection;
determining the configuration priority of the audio output module according to the first priority and the second priority;
and determining the audio output module sequence of the K audio output modules according to the configuration priority.
8. The method according to claim 1, wherein the generating the matching policy according to the correspondence between the N audio streams and the matching relationship between the M audio streams comprises:
outputting a control interface, wherein the control interface comprises the at least two audio streams and an audio output module capable of being started;
acquiring the setting operation of a user for the control interface;
and determining the matching strategy according to the setting operation.
9. A multi-channel audio stream output apparatus, applied to an electronic device, includes a processing unit and a communication unit, wherein,
the processing unit detects the currently enabled audio output module through the communication unit when the output requests of at least two audio streams are detected; when the number of the audio output modules is detected to be greater than or equal to 2, acquiring source information of each audio stream in the at least two audio streams; acquiring a corresponding relation set between preset source information and audio output modules, and screening N audio streams in the at least two audio streams and an audio output module corresponding to each audio stream in the N audio streams according to the corresponding relation set, wherein the source information of each audio stream is the source information in the corresponding relation set, the audio output module corresponding to each audio stream in the N audio streams is the audio output module in the corresponding relation set, N is a natural number, and the corresponding relation set is adjusted according to a use habit; determining a matching relationship between M audio streams and audio output modules which are not screened out in the audio output modules which can be started, wherein the M audio streams are the audio streams which are not screened out in the at least two audio streams, and M is a natural number; generating a matching strategy according to the corresponding relation of the N paths of audio streams and the matching relation of the M paths of audio streams, wherein the at least two paths of audio streams in the matching strategy correspond to at least 2 audio output modules; and controlling the audio output module to output the at least two audio streams according to the matching strategy.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-8.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-8.
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 CN109542388A (en) 2019-03-29
CN109542388B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710475B (en) * 2022-04-11 2024-03-15 三星电子(中国)研发中心 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

Also Published As

Publication number Publication date
CN109542388A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
JP7387891B2 (en) Video file generation method, device, terminal, and storage medium
EP3437337B1 (en) Application programing interface for adaptive audio rendering
US10936371B2 (en) Method for resource allocation and related products
US20080070616A1 (en) Mobile Communication Terminal with Improved User Interface
US20240192986A1 (en) Application handoff method and apparatus
KR20060034144A (en) Mobile communication terminal capable of reproducing and updating multimedia content, and method for reproducing the same
KR20150001881A (en) Method and system for providing video multimedia ringtone
CN109508168B (en) Multi-channel volume adjusting method and related device
CN110070496A (en) Generation method, device and the hardware device of image special effect
CN108597546B (en) Method for determining background music of recalling video and related equipment
CN109147022A (en) VR data rendering method and system, computer equipment, computer storage medium
CN112286481A (en) Audio output method and electronic equipment
CN109683889B (en) Message display frame multiplexing method and device, electronic equipment and readable storage medium
CN109542388B (en) Multi-channel audio stream output method and related product
EP3657821B1 (en) Method and device for playing back audio, and terminal
EP4134904A1 (en) Image special effect configuration method, image recognition method, apparatuses, and electronic device
CN104216760A (en) Method and device for interaction of dynamic wallpaper and system desktop
CN112017261B (en) Label paper generation method, apparatus, electronic device and computer readable storage medium
CN115086729B (en) Wheat connecting display method and device, electronic equipment and computer readable medium
CN111199519B (en) Method and device for generating special effect package
CN108989703B (en) Memory video creating method and related device
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN115454454A (en) Application deployment method, distributed operating system, electronic device and storage medium
KR102268552B1 (en) Wireless earphone device including display
CN111698290B (en) PDU session multiplexing method, device, user equipment and storage medium

Legal Events

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