CN113347459B - Android system-based autonomous audio source switching method and device and computing equipment - Google Patents

Android system-based autonomous audio source switching method and device and computing equipment Download PDF

Info

Publication number
CN113347459B
CN113347459B CN202110653459.1A CN202110653459A CN113347459B CN 113347459 B CN113347459 B CN 113347459B CN 202110653459 A CN202110653459 A CN 202110653459A CN 113347459 B CN113347459 B CN 113347459B
Authority
CN
China
Prior art keywords
audio
switching
request
audio source
target
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
CN202110653459.1A
Other languages
Chinese (zh)
Other versions
CN113347459A (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.)
Hangzhou Xingxi Technology Co ltd
Original Assignee
Hangzhou Xingxi 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 Hangzhou Xingxi Technology Co ltd filed Critical Hangzhou Xingxi Technology Co ltd
Priority to CN202110653459.1A priority Critical patent/CN113347459B/en
Publication of CN113347459A publication Critical patent/CN113347459A/en
Application granted granted Critical
Publication of CN113347459B publication Critical patent/CN113347459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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
    • 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/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses an autonomous audio source switching method and device based on an Android system and a computing device, wherein the method comprises the following steps: acquiring an audio source switching request, wherein the request comprises target audio channel information; analyzing the request to obtain audio path parameters and audio configuration information; switching a current audio source to the target audio channel according to the audio path parameters; and starting the audio service in the current target audio channel according to the audio configuration information. The method and the device for switching the audio source aim at the live broadcast all-in-one equipment, aim at the requirements of switching the audio source of different live broadcast platforms, acquire the audio path parameters and the audio configuration information of the pre-switched audio channel, finish switching and audio configuration, and perform audio service in a new target audio channel. The switching method, the switching device and the computing equipment greatly improve the condition that the audio sources are inconvenient to switch due to multiple platforms, and achieve the technical purpose of switching the audio sources by one key.

Description

Android system-based autonomous audio source switching method and device and computing equipment
Technical Field
The application relates to the technical field of live broadcast data processing, in particular to an autonomous audio source switching method, an autonomous audio source switching device and a computing device based on an Android system.
Background
In recent years, internet live broadcast becomes an important propagation medium for business and culture, and with the increasing and abundant platforms, the requirement that one host broadcast on a plurality of platforms simultaneously is also highlighted gradually. The live broadcast all-in-one machine is generated.
In a live all-in-one machine, a host or photographer needs to use an application developed by a third party platform for merchandise display or cultural output, while when multiple platforms live simultaneously, the host or photographer may need to switch between different audio sources to complete recording.
In the prior art, applications developed by a third party platform do not support recording switching of audio sources. Resulting in the inability of the anchor or photographer to record sound using other audio sources and other devices.
Disclosure of Invention
The embodiment of the application provides an autonomous audio source switching method, computing equipment and storage medium based on an Android system, which meet the requirement of a host or photographer on dynamically switching audio sources under the condition of not modifying third-party application.
An autonomous audio source switching method based on an Android system comprises the following steps:
acquiring an audio source switching request, wherein the request comprises target audio channel information;
analyzing the request to obtain audio path parameters and audio configuration information;
switching a current audio source to the target audio channel according to the audio path parameters;
and starting the audio service in the current target audio channel according to the audio configuration information.
Preferably, the method further comprises:
generating an audio source switching setting interface according to the audio source switching request;
and receiving an audio source setting instruction input by a user through the audio source switching setting interface through an audio input module, and setting the audio path and configuring the audio through an audio processing module.
Preferably, parsing the request to obtain audio path parameters and audio configuration information includes:
acquiring audio path parameters and the audio configuration information by adopting an audio path configuration analyzer;
issuing the audio path parameters to an audio processing module;
and the audio processing module sets a switch of the target audio channel according to the audio path parameter, and completes audio configuration according to the audio configuration information.
Preferably, after switching to the target audio channel, smoothing processing is performed when switching from playing the preceding audio data to playing the current audio data.
Preferably, according to the audio source switching request, an audio source switching setting interface is generated, which is specifically implemented as follows:
when an audio source switching request is received, the audio source switching request faces to audio sources of a plurality of audio and video platforms;
generating a set floating window corresponding to the request for switching the audio source;
and receiving a setting instruction of a user for switching the audio source by using the setting floating window, and storing the configuration selected by the user in the setting floating window.
An autonomous audio source switching device based on an Android system, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an audio source switching request, and the request comprises target audio channel information;
the analysis unit is used for analyzing the request to obtain audio path parameters and audio configuration information;
the switching unit is used for switching the current audio source to the target audio channel according to the audio path parameters;
and the audio unit starts audio service in the current target audio channel according to the audio configuration information.
Preferably, the apparatus further comprises:
the setting unit is used for generating an audio source switching setting interface according to the audio source switching request;
the acquisition unit is specifically an audio input module and is used for receiving an audio source setting instruction input by a user through the audio source switching setting interface;
and the audio processing module is used for carrying out the audio path setting and the audio configuration.
Preferably, the parsing unit in the device is specifically implemented as follows:
acquiring audio path parameters and the audio configuration information by adopting an audio path configuration analyzer;
issuing the audio path parameters to an audio processing module;
and the audio processing module sets a switch of the target audio channel according to the audio path parameter, and completes audio configuration according to the audio configuration information.
Preferably, the apparatus further comprises:
and a smoothing processing unit for performing smoothing processing when switching from playing the preceding audio data to playing the current audio data after switching to the target audio channel.
A computing device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
The application discloses an autonomous audio source switching method based on an Android system, which aims to solve the problem that a user needs to switch audio sources on live broadcast all-in-one equipment aiming at different live broadcast platforms, obtains audio path parameters and audio configuration information of a pre-switch audio channel, completes switching and audio configuration, and performs audio service in a new target audio channel. The switching method, the switching device and the computing equipment greatly improve the condition that the audio sources are inconvenient to switch due to multiple platforms, and achieve the technical purpose of switching the audio sources by one key.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flow chart of an autonomous audio source switching method based on an Android system in an embodiment of the application;
fig. 2 is a flow chart of an autonomous audio source switching method based on an Android system in an embodiment of the application;
fig. 3 is a schematic diagram of an interactive interface of an autonomous audio source switching method based on an Android system in an embodiment of the present application;
fig. 4 is a flow chart of an autonomous audio source switching method based on an Android system in an embodiment of the application;
fig. 5 is a schematic diagram of an autonomous audio source switching device based on an Android system in an embodiment of the present application;
fig. 6 is a schematic diagram of an autonomous audio source switching device based on an Android system in an embodiment of the present application;
FIG. 7 is a schematic diagram of a computer-readable medium in an embodiment of the application;
fig. 8 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides an autonomous audio source switching method, computing equipment and storage medium based on an Android system, which meet the requirement of dynamically switching audio sources by a host or a photographer under the condition of not modifying third party application.
In the prior art, the Android system only supports the application in calling AudioRecord to specify the audio source, and only supports a plurality of specific audio sources. The existing audio source switching scheme needs to modify application codes, and the steps of switching audio sources are as follows: the recording is stopped, then the audio source of the appointed recording is switched, and the recording is started again. The above steps not only have unsmooth switching flow, but also can not realize one-key switching.
The method for switching the autonomous audio source based on the Android system provided by the embodiment of the application is further described with reference to the accompanying drawings,
fig. 1 shows that the application discloses an autonomous audio source switching method based on an Android system, which comprises the following steps:
s11, acquiring an audio source switching request, wherein the request comprises target audio channel information;
the audio source switching request can be sent out by a user (a host or a photographer) according to switching requirements in the live broadcast all-in-one machine through an interactive interface, system prompt and proprietary client interaction, or can be automatically switched according to the current hardware inspection of the live broadcast all-in-one machine, such as sequential switching, random switching and the like.
By way of example, the audio source switching request may be implemented through an interactive process as in fig. 2, and referring to fig. 2, an audio source switching setting interface is generated according to the audio source switching request;
s21, when an audio source switching request is received, the audio source switching request faces to audio sources of a plurality of audio and video platforms;
the live broadcast all-in-one machine generally has a plurality of audio hardware input ports, such as 'AUXIN', 'Micphonein', 'HDMIN', 'USBIN', and the like. While various audio hardware input ports may be implemented through connections to a digital audio processor (DSP), not limited thereto.
When a third-party live broadcast application, such as 'panning A live broadcast', 'shaking Y live broadcast', 'small H book live broadcast', is opened, the suspension window can be operated to set the current use of the audio source.
S22, generating a set floating window corresponding to the request of the audio source switching;
of course, the floating window is only one interactive display mode in response to a user's audio source switching needs, and reference to FIG. 3 is not intended as a limitation of the present application.
And receiving an audio source setting instruction input by a user through the audio source switching setting interface through an audio input module, and setting the audio path and configuring the audio through an audio processing module.
S23, receiving a setting instruction of a user for switching the audio source by utilizing the setting floating window, and storing the configuration selected by the user in the setting floating window.
The floating window may be in the form of an embedded application that listens to audio port plug-in or plug-out signals, ensuring that the switchable audio source is device-specific. When the device corresponding to the audio source is available, namely: when the user (the anchor or the photographer) performs switching selection, the floating window provides a set selection button or a sliding block to collect options of the user (the anchor or the photographer), and the selection data of the user is obtained and stored.
If the corresponding setting of a platform is next time the user has a switching requirement to the audio source corresponding to the platform, the corresponding selection interaction process is directly invoked, and the operation is simplified.
S12, analyzing the request to obtain audio path parameters and audio configuration information;
the analysis of the request can be completed through a virtual or entity module, and as an example, an Audio Hal module can be selected to be responsible for realizing the interface control functions of the Audio channels of different hardware platforms.
S13, switching the current audio source to the target audio channel according to the audio path parameters;
according to the Audio path parameters, the switch to the corresponding Audio path is switched, for example, a host or a photographer uses a live broadcast room of 'panning A live broadcast', the host wants to switch to 'panning C live broadcast' for recording, a recording channel needs to be switched from USB IN to HDMI IN, an Audio Hal module is selected to switch on the switch of HDMI IN according to the Audio path parameters, the Audio recording switching of 'panning C live broadcast' is supported, and meanwhile, the access of hardware is completed through a digital Audio processor (DSP).
And S14, starting the audio service in the current target audio channel according to the audio configuration information.
IN the above step, the recorded data source is switched from USB IN to HDMI IN, and a digital audio processor (DSP) is usually connected with a line IN/mic IN of a built-IN Codec, and analog signals are sampled through an ADC. The audio input of HDMI is typically a digital signal, which can be processed directly by the DSP, i.e.: the function of the audio channel of HDMI is enabled.
Referring to fig. 4, for parsing the request in S12, audio path parameters and audio configuration information are obtained, optionally, by the following steps:
s41, acquiring audio path parameters and the audio configuration information by adopting an audio path configuration analyzer;
the Audio path configuration parser may be preferably an Audio Hal module in the above embodiment, or a parser configured in another module may be selected, and is not limited. The configuration of the audio path is analyzed, and the configuration command is converted into a corresponding path switching configuration command.
S42, the audio path parameters are issued to an audio processing module;
the audio processing module may select a digital audio processor (DSP) in the above embodiment, or may select other integrated audio conversion processors.
And issuing the audio path parameters from the audio path configuration analyzer to the DSP.
S43, the audio processing module sets the switch of the target audio channel according to the audio path parameters, and completes audio configuration according to the audio configuration information.
For example, the DSP switches the audio path switch according to the audio path parameters and performs relevant configuration of the sound effects by selectively interacting with the user in the form of a floating window of the client or the like. The DSP switches to a new audio path based on the audio path parameters, namely: and opening a switch of the target audio channel.
Preferably, after switching to the target audio channel, smoothing processing is performed when switching from playing the preceding audio data to playing the current audio data.
When switching from the current audio source to the new audio source, the joint of the two paths of audio data may have abrupt volume changes, and noise caused by direct splicing of the audio data is needed to be smoothed.
Preferably, the smoothing process may enable DSP driver for splicing and volume fade-In by inserting driver out (100 ms) and driver In (100 ms) data between the two audio data. From the interface angle output to the user, the faceout works, the volume is set to 0, a 100ms volume fade-out curve can be generated on the interface, the DSP turns on a switch for switching the audio channel, the volume is recovered, the facein works, and a 100ms volume fade-in curve can be generated on the interface. The display form is not limited, or can not be displayed according to the play setting of the live broadcast integrated machine.
Fig. 5 shows an autonomous audio source switching device based on an Android system, which includes:
an obtaining unit 51, configured to obtain an audio source switching request, where the request includes target audio channel information;
the parsing unit 52 is configured to parse the request to obtain audio path parameters and audio configuration information;
preferably, the in-device parsing unit 52 is embodied as:
acquiring audio path parameters and the audio configuration information by adopting an audio path configuration analyzer;
the Audio path configuration parser may be preferably an Audio Hal module in the above embodiment, or a parser configured in another module may be selected, and is not limited. The configuration of the audio path is analyzed, and the configuration command is converted into a corresponding path switching configuration command.
A switching unit 53, configured to switch a current audio source to the target audio channel according to the audio path parameter;
and an audio unit 54 for starting audio service in the current target audio channel according to the audio configuration information.
Preferably, referring to fig. 6, the apparatus further comprises:
a setting unit 61 for generating an audio source switching setting interface according to the audio source switching request;
the setting unit 61 may be implemented by a client (APP).
The acquiring unit 51 is specifically an audio input module, configured to receive an audio source setting instruction input by a user through the audio source switching setting interface;
the acquisition unit 51 may be implemented by an Audio acquisition function of an Audio Hal module.
An audio processing module 62 for performing the audio path setting and audio configuration.
The audio processing module 62 may be implemented by a DSP, and the audio processing module 62 may be integrated in the switching unit 53.
Issuing the audio path parameters to an audio processing module 62;
the Audio path parameter issuing control can be realized through an Audio instruction processing control function of the Audio Hal module.
The audio processing module 62 sets the switch of the target audio channel according to the audio path parameter, and completes audio configuration according to the audio configuration information.
Preferably, the apparatus further comprises:
the smoothing processing unit 63 performs smoothing processing when switching from playing the preceding audio data to playing the current audio data after switching to the target audio channel.
Preferably, the smoothing process may enable DSP driver for splicing and volume fade-In by inserting driver out (100 ms) and driver In (100 ms) data between the two audio data.
The method of the present application may also be implemented by a computer readable medium 71, and referring to fig. 7, computer executable instructions, i.e. program instructions corresponding to the method of the present application, are stored, where the computer executable instructions are used to execute the method described in the above embodiments.
The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The present application also discloses a computing device, and a computing device 80 according to such an embodiment of the present application is described below with reference to fig. 8. The computing device 80 shown in fig. 8 is merely an example and should not be taken as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 8, the computing device 80 is in the form of a general purpose computing device. Components of computing device 80 may include, but are not limited to: the at least one processor 81, the at least one memory 82, a bus 83 connecting the various system components, including the memory 82 and the processor 81.
Bus 83 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, and a local bus using any of a variety of bus architectures.
The memory 82 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 821 and/or cache memory 822, and may further include Read Only Memory (ROM) 823.
Memory 82 may also include a program/utility 825 having a set (at least one) of program modules 824, such program modules 824 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Computing device 80 may also communicate with one or more external devices 84 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with computing device 80, and/or any devices (e.g., routers, modems, etc.) that enable computing device 80 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 85. Moreover, computing device 80 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 86. As shown, network adapter 86 communicates with other modules for computing device 80 over bus 83. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computing device 80, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
To sum up:
the application discloses an autonomous audio source switching method based on an Android system, which aims to solve the problem that a user needs to switch audio sources on live broadcast all-in-one equipment aiming at different live broadcast platforms, obtains audio path parameters and audio configuration information of a pre-switch audio channel, completes switching and audio configuration, and performs audio service in a new target audio channel. The switching method, the switching device and the computing equipment greatly improve the condition that the audio sources are inconvenient to switch due to multiple platforms, and achieve the technical purpose of switching the audio sources by one key.
In some possible embodiments, aspects of the autonomous audio source switching method based on the Android system provided by the present application may also be implemented in the form of a program product, which includes program code for causing a computer device to perform the steps in the encryption method of information to be verified and/or the verification method of information to be verified according to the various exemplary embodiments of the present application described in the present specification when the program product is run on the computer device, for example, the computer device may perform steps S11 to S14 as shown in fig. 1.
In some possible implementations, a computing device according to the application may include at least one processor, and at least one memory (e.g., the aforementioned first server). Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps in the system authority opening method according to various exemplary embodiments of the present application described above in this specification.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for system rights opening of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code and may run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (5)

1. An autonomous audio source switching method based on an Android system is characterized by comprising the following steps:
when a third party application software is opened by a host for live broadcasting, an audio source switching request is acquired, wherein the request contains target audio channel information;
analyzing the request to obtain audio path parameters and audio configuration information, including:
acquiring Audio path parameters and the Audio configuration information by adopting an Audio Hal module;
issuing the audio path parameters to an audio processing module;
the audio processing module sets a switch of the target audio channel according to the audio path parameters, and completes audio configuration according to the audio configuration information;
switching a current audio source to the target audio channel according to the audio path parameters;
starting audio service in the current target audio channel according to the audio configuration information;
generating an audio source switching setting interface according to the audio source switching request;
receiving an audio source setting instruction input by a user through the audio source switching setting interface through an audio input module, and setting the audio path and configuring the audio through an audio processing module;
when an audio source switching request is received, the audio source switching request faces to audio sources of a plurality of audio and video platforms;
generating a set floating window corresponding to the request for switching the audio source;
receiving a setting instruction of a user for switching the audio source by using the setting floating window, and storing the configuration selected by the user in the setting floating window;
calling audio record to carry out audio live service in a new target audio channel without modifying a third party application code so as to realize one-key switching of audio sources.
2. The method of claim 1, further comprising, after switching to the target audio channel, performing a smoothing process when switching from playing the previous audio data to playing the current audio data.
3. An autonomous audio source switching device based on an Android system is characterized by comprising:
the system comprises an acquisition unit, a target audio channel information acquisition unit and a control unit, wherein the acquisition unit is used for acquiring an audio source switching request when a third party application software is opened by a host broadcast for live broadcast, and the request contains the target audio channel information;
the analysis unit is used for analyzing the request to obtain audio path parameters and audio configuration information;
the analysis unit is specifically implemented as follows:
acquiring Audio path parameters and the Audio configuration information by adopting an Audio Hal module;
issuing the audio path parameters to an audio processing module;
the audio processing module sets a switch of the target audio channel according to the audio path parameters, and completes audio configuration according to the audio configuration information;
the switching unit is used for switching the current audio source to the target audio channel according to the audio path parameters;
the audio unit starts audio service in the current target audio channel according to the audio configuration information;
further comprises:
the setting unit is used for generating an audio source switching setting interface according to the audio source switching request;
the acquisition unit is specifically an audio input module and is used for receiving an audio source setting instruction input by a user through the audio source switching setting interface;
the audio processing module is used for carrying out the audio path setting and the audio configuration; when an audio source switching request is received, the audio source switching request faces to audio sources of a plurality of audio and video platforms;
generating a set floating window corresponding to the request for switching the audio source;
receiving a setting instruction of a user for switching the audio source by using the setting floating window, and storing the configuration selected by the user in the setting floating window;
calling audio record to carry out audio live service in a new target audio channel without modifying a third party application code so as to realize one-key switching of audio sources.
4. A device according to claim 3, further comprising:
and a smoothing processing unit for performing smoothing processing when switching from playing the preceding audio data to playing the current audio data after switching to the target audio channel.
5. A computing device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-2.
CN202110653459.1A 2021-06-11 2021-06-11 Android system-based autonomous audio source switching method and device and computing equipment Active CN113347459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110653459.1A CN113347459B (en) 2021-06-11 2021-06-11 Android system-based autonomous audio source switching method and device and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110653459.1A CN113347459B (en) 2021-06-11 2021-06-11 Android system-based autonomous audio source switching method and device and computing equipment

Publications (2)

Publication Number Publication Date
CN113347459A CN113347459A (en) 2021-09-03
CN113347459B true CN113347459B (en) 2023-08-11

Family

ID=77476821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110653459.1A Active CN113347459B (en) 2021-06-11 2021-06-11 Android system-based autonomous audio source switching method and device and computing equipment

Country Status (1)

Country Link
CN (1) CN113347459B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067825A (en) * 2012-12-28 2013-04-24 深圳市航盛电子股份有限公司 Voice frequency changing-over management system in vehicle-mounted entertainment system and control method thereof
CN105578347A (en) * 2015-12-25 2016-05-11 数源科技股份有限公司 Audio system of integrated automotive electronic product
CN105657579A (en) * 2015-10-29 2016-06-08 乐视致新电子科技(天津)有限公司 Live broadcast audio switching method, stream media server and client
CN105681974A (en) * 2016-04-01 2016-06-15 北京小鸟听听科技有限公司 Multiple-sound-source switching method and device and audio equipment
CN106791738A (en) * 2016-11-11 2017-05-31 微鲸科技有限公司 Audio play control method and projector
WO2017215639A1 (en) * 2016-06-16 2017-12-21 广东欧珀移动通信有限公司 Sound effect configuration method and system and related device
WO2018077259A1 (en) * 2016-10-31 2018-05-03 腾讯科技(深圳)有限公司 Media information handover method and server, and computer storage medium
CN109314738A (en) * 2016-06-24 2019-02-05 杜比实验室特许公司 The switching of wireless audio source
CN109618174A (en) * 2018-12-11 2019-04-12 深圳市网心科技有限公司 A kind of live data transmission method, device, system and storage medium
CN109857364A (en) * 2019-01-28 2019-06-07 Oppo广东移动通信有限公司 Audio frequency playing method and device, storage medium, communication terminal
CN110830476A (en) * 2019-11-11 2020-02-21 深圳市麦思美汽车电子有限公司 Audio source switching control method for android vehicle-mounted audio and video system
CN111124345A (en) * 2019-11-27 2020-05-08 维沃移动通信有限公司 Audio source processing method and mobile terminal
CN112052713A (en) * 2020-04-15 2020-12-08 上海摩象网络科技有限公司 Video processing method and device and handheld camera
CN112416290A (en) * 2020-11-27 2021-02-26 扬州航盛科技有限公司 Audio management method based on audio focus
CN112533188A (en) * 2020-11-24 2021-03-19 广州橙行智动汽车科技有限公司 Output processing method and device of playing source

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10616624B2 (en) * 2017-03-01 2020-04-07 Rhinobird Inc. Multi-angle video synchronization and multi-angle video interface

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067825A (en) * 2012-12-28 2013-04-24 深圳市航盛电子股份有限公司 Voice frequency changing-over management system in vehicle-mounted entertainment system and control method thereof
CN105657579A (en) * 2015-10-29 2016-06-08 乐视致新电子科技(天津)有限公司 Live broadcast audio switching method, stream media server and client
WO2017071184A1 (en) * 2015-10-29 2017-05-04 乐视控股(北京)有限公司 Live broadcasting audio switching method, streaming media server and client
CN105578347A (en) * 2015-12-25 2016-05-11 数源科技股份有限公司 Audio system of integrated automotive electronic product
CN105681974A (en) * 2016-04-01 2016-06-15 北京小鸟听听科技有限公司 Multiple-sound-source switching method and device and audio equipment
WO2017215639A1 (en) * 2016-06-16 2017-12-21 广东欧珀移动通信有限公司 Sound effect configuration method and system and related device
CN109314738A (en) * 2016-06-24 2019-02-05 杜比实验室特许公司 The switching of wireless audio source
WO2018077259A1 (en) * 2016-10-31 2018-05-03 腾讯科技(深圳)有限公司 Media information handover method and server, and computer storage medium
CN106791738A (en) * 2016-11-11 2017-05-31 微鲸科技有限公司 Audio play control method and projector
CN109618174A (en) * 2018-12-11 2019-04-12 深圳市网心科技有限公司 A kind of live data transmission method, device, system and storage medium
CN109857364A (en) * 2019-01-28 2019-06-07 Oppo广东移动通信有限公司 Audio frequency playing method and device, storage medium, communication terminal
CN110830476A (en) * 2019-11-11 2020-02-21 深圳市麦思美汽车电子有限公司 Audio source switching control method for android vehicle-mounted audio and video system
CN111124345A (en) * 2019-11-27 2020-05-08 维沃移动通信有限公司 Audio source processing method and mobile terminal
CN112052713A (en) * 2020-04-15 2020-12-08 上海摩象网络科技有限公司 Video processing method and device and handheld camera
CN112533188A (en) * 2020-11-24 2021-03-19 广州橙行智动汽车科技有限公司 Output processing method and device of playing source
CN112416290A (en) * 2020-11-27 2021-02-26 扬州航盛科技有限公司 Audio management method based on audio focus

Also Published As

Publication number Publication date
CN113347459A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN109658932B (en) Equipment control method, device, equipment and medium
CN109240107B (en) Control method and device of electrical equipment, electrical equipment and medium
JP2019040603A (en) Music recommendation method, device, equipment and program
JP2019161636A (en) Smart tv speech interactive feedback method, system and computer program
KR101303474B1 (en) Remote control signal learning and processing by a host device and accessory
US20160232871A1 (en) Display method and display device
US20210225406A1 (en) Video acquisition method and device, terminal and medium
JP2019133634A (en) Smart device function guiding method and system
CN110211364B (en) Test system, test method, electronic device and storage medium
WO2018149353A1 (en) Electronic terminal, storage medium and video recording method and apparatus therefor
CN105210364A (en) Dynamic audio perspective change during video playback
CN109947387A (en) Audio collection method, audio frequency playing method, system, equipment and storage medium
CN112272170A (en) Voice communication method and device, electronic equipment and storage medium
CN113347459B (en) Android system-based autonomous audio source switching method and device and computing equipment
JP2023534975A (en) Music playback method, device, device and storage medium based on user interaction
US9667748B2 (en) Client device, information processing method, and information processing system
CN105306501A (en) Method and system for performing interactive update on multimedia data
CN112055238B (en) Video playing control method, device and system
CN113948054A (en) Audio track processing method, device, electronic equipment and storage medium
CN113296984A (en) Compatibility parameter determining method and device, electronic equipment and storage medium
US10666838B2 (en) Control method of operation apparatus configured to control a plurality of content reproduction apparatus to set a preset synchronous state, control method of command processing apparatus, and control method of content reproduction system
KR102468214B1 (en) The system and an appratus for providig contents based on a user utterance
CN113079397A (en) Multimedia resource playing method and device
KR20140038791A (en) The method of playing multimedia data and the multimedia playing apparatus thereof
CN109275140A (en) A kind of information processing method, system and server

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