CN110007893B - Audio output method and electronic equipment - Google Patents

Audio output method and electronic equipment Download PDF

Info

Publication number
CN110007893B
CN110007893B CN201910189232.9A CN201910189232A CN110007893B CN 110007893 B CN110007893 B CN 110007893B CN 201910189232 A CN201910189232 A CN 201910189232A CN 110007893 B CN110007893 B CN 110007893B
Authority
CN
China
Prior art keywords
audio
attribute information
multimedia resource
power amplifier
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
CN201910189232.9A
Other languages
Chinese (zh)
Other versions
CN110007893A (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.)
Vidaa Netherlands International Holdings BV
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201910189232.9A priority Critical patent/CN110007893B/en
Publication of CN110007893A publication Critical patent/CN110007893A/en
Application granted granted Critical
Publication of CN110007893B publication Critical patent/CN110007893B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Abstract

The invention discloses an audio output method and electronic equipment, wherein the audio output method comprises the following steps: the method comprises the steps that a multimedia resource obtaining device obtains first attribute information of a first audio to be output, wherein the first attribute information comprises a first audio format and a first channel number of the first audio; acquiring second attribute information of a power amplifier in audio playing equipment connected with the multimedia resource acquisition equipment, wherein the second attribute information comprises each second audio format capable of performing audio decoding by the power amplifier and a second channel number corresponding to each second audio format; determining a processing method of the first audio according to the first attribute information and the second attribute information, and sending the first audio processed by the corresponding processing method to the audio playing device; therefore, the situation that the audio playing equipment cannot play audio can be avoided, and the quality of the audio playing equipment for playing audio is improved.

Description

Audio output method and electronic equipment
Technical Field
The present invention relates to the field of multimedia technologies, and in particular, to an audio output method and an electronic device.
Background
As shown in fig. 1, in order to use power amplifiers in most of Audio playing devices in the market to encode and output Audio to be output, and particularly to use power amplifiers with an Audio Return Channel (ARC) function to perform ARC encoded output on the Audio to be output, a user is generally required to select an Audio encoded output mode on a multimedia resource acquisition device so that the power amplifiers can perform ARC decoding output on the Audio to be output. The multimedia resource acquiring device can be a TV, and the audio coding output modes which can be selected by a user comprise the following categories: RAW, Pulse Code Modulation (PCM), Dolby Digital (Dolby Digital), and Dolby Digital Plus (Dolby Digital Plus).
However, the method for selecting the audio coding output mode has some disadvantages, because the user selects arbitrarily, but the user does not know that the multimedia resource acquiring device processes the audio to be output according to the audio coding mode selected by the user and sends the processed audio to the power amplifier, and the power amplifier can decode and output the processed audio. For example, the audio coding output mode selected by the user is RAW, the multimedia resource acquisition device does not perform any processing on the audio to be output, and the audio is directly transmitted to a power amplifier in the audio playing device connected with the multimedia resource acquisition device, and the power amplifier may not decode the audio to be output, so that the audio playing device cannot play the audio; when the audio coding output mode selected by the user is PCM, the multimedia resource acquisition equipment forcibly codes the audio to be output into PCM audio and sends the PCM audio to the power amplifier, because the power amplifier is possibly provided with a forced decoding mode which is not PCM, if the PCM audio is forcibly decoded, the quality of the audio played by the audio playing equipment is reduced, and even the audio cannot be played; when the audio coding output mode selected by the user is Dolby Digital or Dolby Digital Plus, the multimedia resource obtaining device codes the audio to be output into the audio corresponding to Dolby Digital or Dolby Digital Plus in a forced mode, and sends the audio corresponding to Dolby Digital or Dolby Digital Plus to the power amplifier.
Disclosure of Invention
The embodiment of the invention provides an audio output method and electronic equipment, which are used for solving the problems that in the prior art, the audio playing equipment plays audio with low quality and even cannot play audio.
The embodiment of the invention provides an audio output method, which comprises the following steps:
the method comprises the steps that a multimedia resource obtaining device obtains first attribute information of a first audio to be output, wherein the first attribute information comprises a first audio format and a first channel number of the first audio;
acquiring second attribute information of a power amplifier in audio playing equipment connected with the multimedia resource acquisition equipment, wherein the second attribute information comprises each second audio format capable of performing audio decoding by the power amplifier and a second channel number corresponding to each second audio format;
and determining a processing method of the first audio according to the first attribute information and the second attribute information, and sending the first audio processed by the corresponding processing method to the audio playing device.
Further, if the power amplifier has an ARC function of an audio return channel, the obtaining of the second attribute information of the power amplifier in the audio playing device connected to the multimedia resource obtaining device includes:
sending an ARC connection available setting signal to the audio playing equipment, and receiving an ARC function connection available feedback signal sent by the audio playing equipment;
sending an ARC enabling request to the audio playing equipment, and receiving an enabling signal sent by the audio playing equipment;
and sending an audio description request to the audio playing device, and receiving feedback information which is sent by the audio playing device and comprises the second attribute information.
Further, the determining, according to the first attribute information and the second attribute information, a processing method of the first audio includes:
judging whether the second attribute information is matched with the first attribute information;
if so, determining not to process the first audio;
and if not, determining a processing method of the first audio according to third attribute information and the second attribute information corresponding to each encoding and decoding processing mode supported by the first audio.
Further, the determining whether the second attribute information matches the first attribute information includes:
judging whether a target second audio format with the grade not lower than that of the first audio format exists in the second audio formats, wherein the number of the first channels is not more than that of the second channels corresponding to the target second audio format;
if yes, determining that the second attribute information is matched with the first attribute information;
otherwise, determining that the second attribute information does not match the first attribute information.
Further, the determining, according to the third attribute information and the second attribute information corresponding to each codec processing method supported by the first audio processing method, a processing method for the first audio includes:
judging whether target third attribute information matched with the second attribute information exists in the third attribute information or not;
and if so, carrying out coding and decoding processing on the first audio according to the target third attribute information.
Further, if there is no target third attribute information matching the second attribute information in the third attribute information, the method further includes:
judging whether fourth attribute information matched with the first attribute information exists in the third attribute information or not;
if yes, decoding and playing the first audio according to the fourth attribute information.
Further, the determining whether there is target third attribute information matching the second attribute information in the third attribute information includes:
judging whether the grade of a third audio format of the target third attribute information is not higher than the grade of at least one second audio format in the second attribute information, wherein the number of channels corresponding to the third audio format is not more than the number of channels corresponding to the at least one second audio format;
if yes, determining that target third attribute information matched with the second attribute information exists in the third attribute information;
otherwise, determining that the third attribute information does not have target third attribute information matched with the second attribute information.
Further, the encoding and decoding the first audio according to the target third attribute information includes:
determining target attribute information corresponding to a third audio format with the highest grade in the target third attribute information;
and carrying out coding and decoding processing on the first audio according to the target attribute information.
The embodiment of the invention provides an audio output method, which comprises the following steps:
the audio playing device sends second attribute information of a power amplifier in the audio playing device to a multimedia resource acquisition device connected with the audio playing device, wherein the second attribute information comprises each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format;
and receiving and playing the first audio processed by the multimedia resource acquisition equipment by adopting a corresponding processing method.
Further, if the power amplifier has an ARC function of an audio return channel, the sending, by the audio playing device connected to the multimedia resource acquiring device, the feedback information including the second attribute information to the multimedia resource acquiring device includes:
receiving an ARC connection available setting signal sent by the multimedia resource acquisition equipment, and sending an ARC function connection available feedback signal to the multimedia resource acquisition equipment;
receiving an ARC enabling request sent by the multimedia resource acquisition equipment, executing a corresponding enabling action according to the enabling request, and sending an enabling signal to the multimedia resource acquisition equipment after the enabling action is executed;
and receiving an audio description request sent by the multimedia resource acquisition equipment, and sending feedback information including the second attribute information to the multimedia resource acquisition equipment.
The embodiment of the invention provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of any of the methods described above.
The embodiment of the invention provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of any of the methods described above.
The embodiment of the invention provides an audio output method and electronic equipment, wherein the audio output method comprises the following steps: the method comprises the steps that a multimedia resource obtaining device obtains first attribute information of a first audio to be output, wherein the first attribute information comprises a first audio format and a first channel number of the first audio; acquiring second attribute information of a power amplifier in audio playing equipment connected with the multimedia resource acquisition equipment, wherein the second attribute information comprises each second audio format capable of performing audio decoding by the power amplifier and a second channel number corresponding to each second audio format; and determining a processing method of the first audio according to the first attribute information and the second attribute information, and sending the first audio processed by the corresponding processing method to the audio playing device.
According to the embodiment of the invention, the multimedia resource acquisition device determines the processing method of the first audio according to the acquired first attribute information of the first audio to be output and the acquired second attribute information of the power amplifier in the audio playing device connected with the multimedia resource acquisition device, and sends the first audio processed by the corresponding processing method to the audio playing device, so that the situation that the audio playing device cannot play the audio is avoided, and the quality of the audio played by the audio playing device is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram of a prior art audio output method provided in the background art;
fig. 2 is a flowchart of an audio output method provided in embodiment 1 of the present invention;
fig. 3 is a schematic diagram of a process of acquiring second attribute information of a power amplifier in an audio playing device according to embodiment 2 of the present invention;
fig. 4 is a schematic diagram illustrating information transmission between a multimedia resource acquiring device and a power amplifier according to embodiment 3 of the present invention;
fig. 5 is a flowchart of an audio output method according to embodiment 3 of the present invention;
fig. 6 is a flowchart of an audio output method according to embodiment 4 of the present invention;
fig. 7 is a schematic structural diagram of an audio output device according to embodiment 5 of the present invention;
fig. 8 is a schematic structural diagram of an audio output device according to embodiment 6 of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to embodiment 7 of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to embodiment 8 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Example 1:
fig. 2 is a flowchart of a method for outputting audio according to an embodiment of the present invention, where the method includes:
s201: the multimedia resource obtaining equipment obtains first attribute information of a first audio to be output, wherein the first attribute information comprises a first audio format and a first channel number of the first audio.
The audio output method provided by the embodiment of the invention is applied to multimedia resource acquisition equipment, and the multimedia acquisition equipment can be a TV.
In order to accurately determine a processing method of a first audio to be output, after receiving the first audio to be output, a multimedia resource obtaining device obtains first attribute information of the first audio, where the first attribute information includes a first audio format and a first channel number.
S202: and acquiring second attribute information of a power amplifier in the audio playing equipment connected with the multimedia resource acquiring equipment, wherein the second attribute information comprises each second audio format capable of performing audio decoding by the power amplifier and a second channel number corresponding to each second audio format.
In order to seek a better hearing experience, most users often connect an audio playing device to the Multimedia resource acquiring device, and in general, the audio playing device is connected to the Multimedia resource acquiring device through a High Definition Multimedia Interface (HDMI) line. For example, besides PCM, one mainstream power amplifier can perform audio decoding in an audio format, which includes one or two other audio formats, such as Dolby Digital, Dolby Digital Plus, Digital cinema System (DTS), and the number of channels corresponding to these audio formats is also different, and the number of channels corresponding to most audio formats is 6 channels or 8 channels.
Therefore, in order to determine the processing method of the first audio to be output more accurately, the multimedia resource obtaining device further needs to obtain the second attribute information of the power amplifier in the audio playing device, and specifically, after the multimedia resource obtaining device detects that the audio playing device is connected to itself, the multimedia resource obtaining device sends a request for obtaining the second attribute information of the power amplifier to the audio playing device, so that the audio playing device sends the corresponding second attribute information of the power amplifier to the multimedia resource obtaining device.
The second attribute information of the power amplifier may include each second audio format in which the power amplifier can perform audio decoding and the number of channels corresponding to each second audio format, where the number of the second audio formats in which different power amplifiers can perform audio decoding is different, and generally, a plurality of audio formats, for example, 3, in which mainstream power amplifiers can perform audio decoding are provided.
S203: and determining a processing method of the first audio according to the first attribute information and the second attribute information, and sending the first audio processed by the corresponding processing method to the audio playing device.
In order to avoid the situation that the audio playing device cannot play audio and improve the quality of the audio played by the audio playing device, the multimedia resource acquiring device needs to determine a processing method of a first audio to be output, specifically, the processing method of the first audio may be determined according to the first attribute information and the second attribute information, specifically, the levels of audio formats in the first attribute information and the second attribute information may be compared, and a processing mode of the first audio is determined according to an audio format with the lowest level, so that the audio playing device plays the audio. For example, the multimedia resource obtaining device performs corresponding encoding and decoding processing on the first audio according to the encoding and decoding mode corresponding to the audio format with the lowest level, and sends the first audio after encoding and decoding processing to the audio playing device.
According to the embodiment of the invention, the multimedia resource acquisition device determines the processing method of the first audio according to the acquired first attribute information of the first audio to be output and the acquired second attribute information of the power amplifier in the audio playing device connected with the multimedia resource acquisition device, and sends the first audio processed by the corresponding processing method to the audio playing device, so that the situation that the audio playing device cannot play the audio is avoided, and the quality of the audio played by the audio playing device is improved.
Example 2:
in order to more accurately obtain the second attribute information of the power amplifier, on the basis of the above embodiment, if the power amplifier has an ARC function, the obtaining of the second attribute information of the power amplifier in the audio playing device connected to the multimedia resource obtaining device includes:
sending an ARC connection available setting signal to the audio playing equipment, and receiving an ARC function connection available feedback signal sent by the audio playing equipment;
sending an ARC enabling request to the audio playing equipment, and receiving an enabling signal sent by the audio playing equipment;
and sending an audio description request to the audio playing device, and receiving feedback information which is sent by the audio playing device and comprises the second attribute information.
In the embodiment of the present invention, the power amplifier in the audio playing device connected to the multimedia resource acquiring device may be a power amplifier with an ARC function, and if the power amplifier in the audio playing device is a power amplifier with an ARC function, the second attribute information of the power amplifier may be acquired.
Fig. 3 is a schematic diagram of a process of acquiring second attribute information of a power amplifier according to an embodiment of the present invention, where a multimedia resource acquiring device, such as a TV, may continuously send a power amplifier power-on detection signal after being powered on until receiving a power-on signal sent by the power amplifier according to the power amplifier power-on detection signal, where the power amplifier power-on detection signal may be, for example, 0x8 f.
In order to determine whether the ARC function of the power amplifier is available, the multimedia resource acquiring device needs to send an ARC connection available setting signal to the power amplifier, where the ARC connection available setting signal may be, for example, 0x 70.
If the ARC function of the power amplifier is available, the power amplifier sends a feedback signal carrying a message that the ARC function is available for connection to the multimedia resource acquisition device, where the feedback signal is 0x72, specifically, according to a determination result of whether the ARC function of the power amplifier is available for connection, the feedback signal may carry messages with different contents in 0x72, and at this time, the message content carried by the feedback signal indicates that the ARC function is available for connection.
According to the received feedback signal, if the multimedia resource acquiring device determines that the ARC function connection of the power amplifier is available, ARC enable (ARC enable) operation is performed on the power amplifier, specifically, the multimedia resource acquiring device sends a power amplifier initialization request to the power amplifier, even if the power amplifier initialization request is 0xc 3; and after receiving the power amplifier initialization request, the power amplifier performs initialization operation, and feeds back a corresponding enable signal to the multimedia resource acquisition device after the initialization operation is successfully performed, wherein the enable signal is 0xc 0.
After receiving the enable signal, the multimedia resource obtaining device determines whether the power amplifier successfully performs the initialization operation according to the enable signal, and if so, sends an audio description request (request audio description) to the power amplifier, where the audio description request may be, for example, 0xa 4.
After receiving the audio description request, the power amplifier sends feedback information including the second attribute information to the multimedia resource obtaining device, where each specific second attribute information may be carried in the feedback information in a data block (response block) manner, where the feedback signal may be, for example, 0xa3, and each data block corresponds to different decoding capability information supported by the power amplifier. Because there may be multiple audio formats in which the power amplifier can perform audio decoding, the multiple data blocks respectively carry second attribute information, for example, if the second attribute information is 3, the feedback information may include three blocks, which are respectively block [0, 1, 2], that is, block [0-2], and the information encapsulated in each block is one audio format in which the power amplifier can perform audio decoding and the maximum number of channels corresponding to the audio format.
Example 3:
to further determine a processing method for a first audio, on the basis of the foregoing embodiments, the determining, according to the first attribute information and the second attribute information, the processing method for the first audio includes:
judging whether the second attribute information is matched with the first attribute information;
if so, determining not to process the first audio;
and if not, determining a processing method of the first audio according to third attribute information and the second attribute information corresponding to each encoding and decoding processing mode supported by the first audio.
In order to avoid the situation that the audio playing device cannot play the audio and improve the quality of the audio played by the audio playing device, after the multimedia resource obtaining device obtains the first attribute information and the second attribute information, it may be determined whether the second attribute information matches the first attribute information. If the second attribute information is matched with the first attribute information, the audio playing device can process and play the first audio after the first audio is directly sent to the audio playing device. If the first audio is not matched with the second audio, the audio playing device is indicated to be incapable of processing and playing the first audio, at this time, the first audio needs to be correspondingly processed at the multimedia resource obtaining device end, the audio processed as the audio capable of being processed and played by the audio playing device is sent to the audio playing device, and the audio playing device is enabled to process and play the processed first audio.
Specifically, the determining whether the second attribute information matches the first attribute information includes:
judging whether a target second audio format with the grade not lower than that of the first audio format exists in the second audio formats, wherein the number of the first channels is not more than that of the second channels corresponding to the target second audio format;
if so, determining that the second attribute information is matched with the first attribute information;
otherwise, determining that the second attribute information does not match the first attribute information.
Because the second audio formats corresponding to the power amplifier in the audio playing device generally exist in multiple types, that is, the second attribute information exists in multiple types, the multimedia resource obtaining device needs to judge whether at least one target second audio format exists in the second audio formats and is higher than or equal to the first audio format of the first audio to be output, if so, in order to judge whether the audio playing device can process the first audio more accurately, whether the number of channels corresponding to the at least one target second audio format exists is more than the number of first channels needs to be further judged, and if so, the second attribute information is matched with the first attribute information; if not, the second attribute information is not matched with the first attribute information.
If the second attribute information is matched with the first attribute information, the power amplifier in the audio playing device can directly decode the first audio to be output, and the multimedia resource obtaining device does not need to perform re-encoding and decoding processing on the first audio, so that the multimedia resource obtaining device can directly send the first audio to the power amplifier, and the power amplifier outputs the first audio after decoding processing is performed on the first audio.
Specifically, after receiving the first audio, a power amplifier in the audio playing device first identifies first attribute information corresponding to the first audio, that is, first identifies a first audio format and a channel number corresponding to the first audio, then determines a decoding mode corresponding to the first attribute information, and decodes and outputs the first audio according to the decoding mode.
For example, the first audio format of the first audio is Dolby Digital Plus 5.1, the number of channels corresponding to the first audio format is 6, and the second audio format of the power amplifier includes: dolby Digital Plus 7.1, the number of channels corresponding to the second audio format is 8 channels, the level of Dolby Digital Plus 7.1 is higher than that of Dolby Digital Plus 5.1, and the 8 channels are greater than 6 channels, so that the multimedia resource acquisition equipment can directly send the first audio with the audio format of Dolby Digital Plus 5.1 to the power amplifier. After the power amplifier receives the first audio, first attribute information of the first audio is identified, and the audio format of the first audio is known to be a Dolby Digital Plus 5.1, 6 channel, so that the first audio is decoded according to a decoding mode corresponding to the audio format, and a second audio with the 6 channel format of the Dolby Digital Plus 5.1 is obtained and played.
If a target second audio format with a grade not lower than that of the first audio format does not exist in the second audio format, and/or the number of the first channels is not greater than that of the second channels corresponding to the target second audio format, it is indicated that the second attribute information is not matched with the first attribute information, and the multimedia resource acquisition device needs to determine a processing method for the first audio according to third attribute information corresponding to each coding and decoding processing mode supported by the multimedia resource acquisition device and second attribute information corresponding to the power amplifier.
In order to determine the processing method of the first audio more accurately, if the second attribute information does not match the first attribute information, the determining the processing method of the first audio according to the third attribute information and the second attribute information corresponding to each codec processing method supported by the determining method includes:
judging whether target third attribute information matched with the second attribute information exists in the third attribute information or not;
and if so, carrying out coding and decoding processing on the first audio according to the target third attribute information.
Since the multimedia resource acquiring device can support multiple encoding and decoding processing modes, if the multimedia resource acquiring device is required to process the first audio to be output, the multimedia resource acquiring device can perform encoding and decoding of the multiple modes again on the audio format of the first audio to be output, so as to obtain the processed first audio in multiple encoding formats and channel numbers, that is to say, the third attribute information corresponding to the first audio after encoding and decoding is different. In order to better determine the processing method for the first audio, the multimedia resource acquiring device needs to determine whether there is target third attribute information matching the second attribute information in the third attribute information.
Specifically, the determining whether there is target third attribute information matching the second attribute information in the third attribute information includes:
judging whether the grade of a third audio format of the target third attribute information is not higher than the grade of at least one second audio format in the second attribute information, wherein the number of channels corresponding to the third audio format is not more than the number of channels corresponding to the at least one second audio format;
if yes, determining that target third attribute information matched with the second attribute information exists in the third attribute information;
otherwise, determining that the third attribute information does not have target third attribute information matched with the second attribute information.
Specifically, when determining whether the third attribute information matches the second attribute information, if the third attribute information matches the second attribute information, there may be a plurality of target third attribute information matching the second attribute information in the third attribute information, and the codec mode corresponding to each third attribute information may be different. The multimedia resource obtaining equipment can randomly select one target third attribute information from the target third attribute information, carry out coding and decoding processing on the first audio according to the target third attribute information, and send the processed first audio to the power amplifier so that the power amplifier decodes and outputs the processed first audio; for example, the audio format of the target third attribute information selected by the multimedia resource obtaining device is PCM, the number of channels is 2, the multimedia resource obtaining device performs encoding and decoding on the first audio to obtain PCM audio with the number of channels being 2, and sends the PCM audio to the power amplifier, the power amplifier identifies the attribute information corresponding to the PCM audio, determines the decoding mode corresponding to the attribute information, and after performing decoding processing on the PCM audio according to the decoding mode, the audio playing device carrying the power amplifier can normally play the PCM audio.
In order to further improve the playing quality of the audio, the encoding and decoding the first audio according to the target third attribute information includes:
determining target attribute information corresponding to a third audio format with the highest grade in the target third attribute information;
and carrying out coding and decoding processing on the first audio according to the target attribute information.
Because there may be a plurality of target third attribute information, and each target third attribute information corresponds to a different encoding and decoding manner, in order to further improve the quality of the audio played by the audio playing device and further enable the user to obtain the best hearing experience, the specific method for the multimedia resource acquiring device to determine the target attribute information may be to compare the levels of the third audio formats in each target third attribute information, determine the target third audio format with the highest level, and then determine the target third attribute information corresponding to the target third audio format with the highest level as the target attribute information. The multimedia resource obtaining device determines the target attribute information, that is, determines a target coding and decoding processing mode corresponding to the target attribute information, and then may perform coding and decoding processing on the first audio according to the target coding and decoding processing mode.
After receiving the first audio after the encoding and decoding, the power amplifier first identifies attribute information corresponding to the first audio after the encoding and decoding, wherein the attribute information includes an audio format and a channel number corresponding to the first audio after the encoding and decoding, so that the first audio after the encoding and decoding is decoded and output.
Assuming that the third audio format in the target third attribute information includes three of Dolby Digital Plus 5.1, and Dolby Digital Plus 2.0, where the Dolby Digital Plus 5.1 has the highest rank, the target third attribute information corresponding to Dolby Digital Plus 5.1 is taken as the target attribute information, and the first audio format of the first audio is Dolby Digital Plus 7.1, the number of channels corresponding to the first audio format is 8, or the first audio format of the first audio is DTS5.1, and the number of channels corresponding to the first audio format is 6, so that the multimedia resource acquiring device may re-encode and decode the first audio having the audio format of Dolby Digital Plus 7.1 or DTS5.1 into the audio format of Dolby Digital Plus 5.1, output the audio having the number of channels of 6 to the audio power amplifier, and decode the audio power amplifier into the third audio of Dolby using the third audio amplifier, and obtain the decoded audio of the third audio format of Dolby the Dolby Digital Plus 5.1, thereby, the audio playing device plays the third audio to make the user obtain the best hearing experience.
If the third attribute information is not matched with the second attribute information, it is indicated that target third attribute information matched with the second attribute information does not exist in the third attribute information, and the multimedia resource obtaining device cannot obtain audio which can be coded and decoded by the power amplifier through a corresponding coding and decoding mode. At this time, the multimedia resource acquiring device needs to further determine whether it can decode and play the first audio to be output.
Specifically, if there is no target third attribute information matching the second attribute information in the third attribute information, the method further includes:
judging whether fourth attribute information matched with the first attribute information exists in the third attribute information or not;
if yes, decoding and playing the first audio according to the fourth attribute information.
Specifically, when it is determined whether the third attribute information matches the first attribute information, if so, it indicates that the multimedia resource acquisition device can decode the first audio to be output. Specifically, the multimedia resource acquiring device determines a decoding mode corresponding to the fourth attribute information according to the fourth attribute information, and decodes the first audio according to the decoding mode to obtain a fifth audio, so that an audio playing module carried by the multimedia resource acquiring device plays the fifth audio. The audio playing module may be a speaker on the multimedia resource acquiring device.
Fig. 4 is a schematic diagram of information interaction between a multimedia resource acquisition device and a power amplifier of an audio playing device according to an embodiment of the present invention, and fig. 5 is a flowchart of an audio output method according to an embodiment of the present invention, where a TV is taken as an example, and contents shown in fig. 4 and fig. 5 are combined to further explain a specific process of the audio output method:
inputting a first audio to be output to a TV, and automatically (Auto) acquiring first attribute information of the first audio by the TV; after a power amplifier in the audio playing device is connected to the TV, the TV acquires second attribute information of the power amplifier, and the specific process of acquiring the second attribute information is explained in the above embodiments and is not described herein again; determining a processing method for the first audio according to the first attribute information and the second attribute information, or according to the first attribute information, the second attribute information and third attribute information corresponding to each coding and decoding processing mode supported by the first attribute information, the second attribute information and the third attribute information, and sending the first audio processed by the processing method to a power amplifier; the specific process for determining the processing method of the first audio has been described in the above embodiments, and is not described herein again; and after receiving the processed first audio, the power amplifier identifies attribute information corresponding to the processed first audio, so that the processed first audio is decoded to obtain a sixth audio, and the audio playing device carrying the power amplifier plays the sixth audio.
The method is a method for dynamically outputting the audio, and can fully utilize the relationship between the attribute information of the first audio to be output and the third attribute information corresponding to each coding and decoding processing mode supported by the multimedia resource acquisition device and the second attribute information of the power amplifier, so that a user can obtain better hearing experience, and unnecessary coding and decoding processes can be reduced on the premise of ensuring the quality of the first audio to be output.
In the embodiment of the invention, whether the second attribute information is matched with the first attribute information is judged; if yes, determining that the first audio is not processed; if not, determining the processing method of the first audio according to the third attribute information and the second attribute information corresponding to each encoding and decoding processing mode supported by the processing method, so that the processing method of the first audio can be more accurately determined.
Example 4:
on the basis of the foregoing embodiments, fig. 6 is a flowchart of a method for outputting audio according to an embodiment of the present invention, where the method includes:
s601: and the audio playing equipment sends second attribute information of a power amplifier in the audio playing equipment to multimedia resource acquisition equipment connected with the audio playing equipment, wherein the second attribute information comprises each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format.
The audio output method provided by the embodiment of the invention is applied to audio playing equipment.
Most users often connect an audio playing device to the multimedia resource acquisition device in order to seek a better listening experience. In order to facilitate the multimedia resource obtaining device to more accurately determine the processing method of the first audio to be output, after the audio playing device receives the request sent by the multimedia resource obtaining device to obtain the second attribute information of the power amplifier in the audio playing device, the audio playing device sends the feedback information including the second attribute information of the power amplifier to the multimedia resource obtaining device, so as to facilitate subsequent operations.
The second attribute information may include each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format, and may also include other information, such as a frequency range corresponding to each second audio format.
Preferably, if the power amplifier has an ARC function, the sending, by the audio playing device connected to the multimedia resource acquiring device, the feedback information including the second attribute information to the multimedia resource acquiring device includes:
receiving an ARC connection available setting signal sent by the multimedia resource acquisition equipment, and sending an ARC function connection available feedback signal to the multimedia resource acquisition equipment;
receiving an ARC enabling request sent by the multimedia resource acquisition equipment, executing a corresponding enabling action according to the enabling request, and sending an enabling signal to the multimedia resource acquisition equipment after the enabling action is executed;
and receiving an audio description request sent by the multimedia resource acquisition equipment, and sending feedback information including the second attribute information to the multimedia resource acquisition equipment.
The power amplifier of the audio playing device may have an ARC function. The multimedia resource acquisition equipment sends a power amplifier power-on detection signal to the audio playing equipment in order to utilize the ARC function, and if the power amplifier is connected with the multimedia resource acquisition equipment, the power amplifier sends a power-on signal to the multimedia resource acquisition equipment after receiving the power amplifier power-on detection signal; after receiving the signal, the multimedia resource acquisition equipment sends an ARC connection available setting signal to the power amplifier; after the power amplifier receives the ARC connection available setting signal, if the ARC function of the power amplifier is available, a feedback signal that the ARC function connection is available is sent to the multimedia resource acquisition equipment; after receiving the feedback signal, the multimedia resource acquisition device performs ARC enabling operation on the power amplifier, specifically, the multimedia resource acquisition device sends a power amplifier initialization request to the power amplifier, the power amplifier performs initialization operation after receiving the power amplifier initialization request, and feeds back a corresponding enabling signal to the multimedia resource acquisition device after the initialization operation is successfully executed; after receiving the enabling signal, the multimedia resource obtaining device judges whether the power amplifier successfully executes the initialization operation according to the enabling signal, if so, the power amplifier sends an audio description request to the power amplifier, and the power amplifier sends feedback information including second attribute information to the multimedia resource obtaining device according to the audio description request. The details of this process have already been set forth in the above embodiments, and are not described herein again.
S602: and receiving and playing the first audio processed by the multimedia resource acquisition equipment by adopting a corresponding processing method.
In order to satisfy better hearing experience of a user, the multimedia resource acquiring device may first send the first audio processed by the corresponding processing method to a power amplifier of the audio playing device, where the power amplifier receives the processed first audio, identifies attribute information of the processed first audio, and decodes the processed first audio according to a decoding manner corresponding to the attribute information, so that the audio playing device plays the decoded audio, and the specific process of the multimedia resource acquiring device processing the first audio by the corresponding processing method has been explained in the above embodiments, and is not described here again.
In the embodiment of the present invention, the audio playing device sends the second attribute information of the power amplifier in the audio playing device to the multimedia resource obtaining device connected to the audio playing device, where the second attribute information includes each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format; the first audio processed by the multimedia resource acquisition equipment by adopting the corresponding processing method is received and played, so that the condition that the audio playing equipment cannot play the audio can be effectively avoided, and the quality of the audio played by the audio playing equipment is improved.
Example 5:
on the basis of the above embodiments, fig. 7 is a schematic structural diagram of an audio output device according to an embodiment of the present invention, where the audio output device includes:
a first obtaining module 701, configured to obtain first attribute information of a first audio to be output, where the first attribute information includes a first audio format and a first channel number of the first audio;
a second obtaining module 702, configured to obtain second attribute information of a power amplifier in the audio playing device connected to the first obtaining module 701, where the second attribute information includes each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format;
a first sending module 703, configured to determine a processing method for the first audio according to the first attribute information and the second attribute information, and send the first audio processed by using the corresponding processing method to the audio playing device.
Further, the second obtaining module 702 is specifically configured to send an ARC connection available setting signal to the audio playing device, and receive a feedback signal that is sent by the audio playing device and is available for ARC function connection; sending an ARC enabling request to the audio playing equipment, and receiving an enabling signal sent by the audio playing equipment; and sending an audio description request to the audio playing device, and receiving feedback information which is sent by the audio playing device and comprises the second attribute information.
Further, the first sending module 703 is specifically configured to determine whether the second attribute information matches the first attribute information; if yes, determining that the first audio is not processed; and if not, determining a processing method of the first audio according to third attribute information and the second attribute information corresponding to each encoding and decoding processing mode supported by the first audio.
Further, the first sending module 703 is specifically configured to determine whether a target second audio format that is not lower than the level of the first audio format exists in the second audio formats, and the number of the first channels is not greater than the number of second channels corresponding to the target second audio format; if so, determining that the second attribute information is matched with the first attribute information; otherwise, determining that the second attribute information does not match the first attribute information.
Further, the first sending module 703 is specifically configured to determine whether there is target third attribute information that matches the second attribute information in the third attribute information; and if so, carrying out coding and decoding processing on the first audio according to the target third attribute information.
Further, the first sending module 703 is specifically configured to, if there is no target third attribute information that matches the second attribute information in the third attribute information, determine whether there is fourth attribute information that matches the first attribute information in the third attribute information; if yes, decoding and playing the first audio according to the fourth attribute information.
Further, the first sending module 703 is specifically configured to determine whether a level of a third audio format of the target third attribute information is not higher than a level of at least one second audio format in the second attribute information, and a number of channels corresponding to the third audio format is not greater than a number of channels corresponding to the at least one second audio format; if yes, determining that target third attribute information matched with the second attribute information exists in the third attribute information; and if not, determining that the third attribute information does not have target third attribute information matched with the second attribute information.
Further, the first sending module 703 is specifically configured to determine target attribute information corresponding to a third audio format with a highest level in the target third attribute information; and carrying out coding and decoding processing on the first audio according to the target attribute information.
The first obtaining module 701 in the embodiment of the present invention is configured to obtain first attribute information of a first audio to be output, where the first attribute information includes a first audio format and a first channel number of the first audio; a second obtaining module 702, configured to obtain second attribute information of a power amplifier in the audio playing device connected to the first obtaining module 701, where the second attribute information includes each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format; a first sending module 703, configured to determine a processing method for the first audio according to the first attribute information and the second attribute information, and send the first audio processed by the corresponding processing method to the audio playing device; and further improve the quality of the audio played by the audio playing equipment.
Example 6:
on the basis of the foregoing embodiments, fig. 8 is a schematic structural diagram of an audio output device according to an embodiment of the present invention, where the audio output device includes:
a second sending module 801, configured to send second attribute information of a power amplifier in an audio playing device to a multimedia resource obtaining device connected to the second sending module, where the second attribute information includes each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format;
a receiving module 802, configured to receive and play the first audio processed by the multimedia resource obtaining device by using the corresponding processing method.
Further, the apparatus further comprises:
a setting module 803, configured to receive an ARC connection available setting signal sent by the multimedia resource obtaining device, and send an ARC function connection available feedback signal to the multimedia resource obtaining device;
an enabling module 804, configured to receive an ARC enabling request sent by the multimedia resource acquiring device, execute a corresponding enabling action according to the enabling request, and send an enabling signal to the multimedia resource acquiring device after the enabling action is executed;
a feedback module 805, configured to receive the audio description request sent by the multimedia resource obtaining device, and send feedback information including the second attribute information to the multimedia resource obtaining device.
Example 7:
on the basis of the foregoing embodiments, as shown in fig. 9, the electronic device provided in the embodiments of the present invention includes a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete communication with each other through the communication bus 904;
the memory 903 has stored therein a computer program which, when executed by the processor 901, causes the processor 901 to perform the steps of:
acquiring first attribute information of a first audio to be output, wherein the first attribute information comprises a first audio format and a first channel number of the first audio;
acquiring second attribute information of a power amplifier in audio playing equipment connected with the multimedia resource acquisition equipment, wherein the second attribute information comprises each second audio format capable of performing audio decoding by the power amplifier and a second channel number corresponding to each second audio format;
and determining a processing method of the first audio according to the first attribute information and the second attribute information, and sending the first audio processed by the corresponding processing method to the audio playing device.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 902 is used for communication between the electronic apparatus and other apparatuses.
The Memory 903 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor 901 may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Further, the processor 901 is specifically configured to send an ARC connection available setting signal to the audio playing device, and receive a feedback signal that is sent by the audio playing device and is available for ARC function connection; sending an ARC enabling request to the audio playing equipment, and receiving an enabling signal sent by the audio playing equipment; and sending an audio description request to the audio playing device, and receiving feedback information which is sent by the audio playing device and comprises the second attribute information.
Further, the processor 901 is specifically configured to determine whether the second attribute information matches the first attribute information; if so, determining not to process the first audio; and if not, determining a processing method of the first audio according to third attribute information and the second attribute information corresponding to each encoding and decoding processing mode supported by the first audio.
Further, the processor 901 is specifically configured to determine whether a target second audio format that is not lower than the level of the first audio format exists in the second audio formats, and the number of the first channels is not greater than the number of second channels corresponding to the target second audio format; if yes, determining that the second attribute information is matched with the first attribute information; otherwise, determining that the second attribute information does not match the first attribute information.
Further, the processor 901 is specifically configured to determine whether there is target third attribute information that matches the second attribute information in the third attribute information; and if so, carrying out coding and decoding processing on the first audio according to the target third attribute information.
Further, the processor 901 is specifically configured to determine whether fourth attribute information matching the first attribute information exists in the third attribute information if the target third attribute information matching the second attribute information does not exist in the third attribute information; if yes, decoding and playing the first audio according to the fourth attribute information.
Further, the processor 901 is specifically configured to determine whether a level of a third audio format of the target third attribute information is not higher than a level of at least one second audio format in the second attribute information, and a number of channels corresponding to the third audio format is not greater than a number of channels corresponding to the at least one second audio format; if yes, determining that target third attribute information matched with the second attribute information exists in the third attribute information; otherwise, determining that the third attribute information does not have target third attribute information matched with the second attribute information.
Further, the processor 901 is specifically configured to determine target attribute information corresponding to a third audio format with a highest level in the target third attribute information; and carrying out coding and decoding processing on the first audio according to the target attribute information.
Example 8:
on the basis of the foregoing embodiments, an embodiment of the present invention provides an electronic device, as shown in fig. 10 and as shown in fig. 10, the electronic device includes a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, where the processor 1001, the communication interface 1002 and the memory 1003 complete communication with each other through the communication bus 1004;
the memory 1003 has stored therein a computer program which, when executed by the processor 1001, causes the processor 1001 to perform the steps of:
sending second attribute information of a power amplifier in audio playing equipment to multimedia resource acquisition equipment connected with the second attribute information, wherein the second attribute information comprises each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format;
and receiving and playing the first audio processed by the multimedia resource acquisition equipment by adopting a corresponding processing method.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 1002 is used for communication between the electronic device and other devices.
The Memory 1003 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor 1001 may be a general-purpose Processor, and includes a central processing unit (cpu), a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Further, the processor 1001 is further configured to receive an ARC connection available setting signal sent by the multimedia resource acquiring device, and send a feedback signal that the ARC function connection is available to the multimedia resource acquiring device; receiving an ARC enabling request sent by the multimedia resource acquisition equipment, executing a corresponding enabling action according to the enabling request, and sending an enabling signal to the multimedia resource acquisition equipment after the enabling action is executed; and receiving an audio description request sent by the multimedia resource acquisition equipment, and sending feedback information including the second attribute information to the multimedia resource acquisition equipment.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 invention 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. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (11)

1. An audio output method, characterized in that the method comprises:
the method comprises the steps that a multimedia resource obtaining device obtains first attribute information of a first audio to be output, wherein the first attribute information comprises a first audio format and a first channel number of the first audio;
acquiring second attribute information of a power amplifier in audio playing equipment connected with the multimedia resource acquisition equipment, wherein the second attribute information comprises each second audio format capable of performing audio decoding by the power amplifier and a second channel number corresponding to each second audio format;
determining a processing method of the first audio according to the first attribute information and the second attribute information, and sending the first audio processed by the corresponding processing method to the audio playing device;
wherein, the determining the processing method of the first audio according to the first attribute information and the second attribute information comprises:
judging whether the second attribute information is matched with the first attribute information;
if so, determining not to process the first audio;
and if not, determining a processing method of the first audio according to third attribute information and the second attribute information corresponding to each encoding and decoding processing mode supported by the first audio.
2. The method according to claim 1, wherein if the power amplifier has an ARC function of an audio return channel, the obtaining the second attribute information of the power amplifier in the audio playing device connected to the multimedia resource obtaining device comprises:
sending an ARC connection available setting signal to the audio playing equipment, and receiving an ARC function connection available feedback signal sent by the audio playing equipment;
sending an ARC enabling request to the audio playing equipment, and receiving an enabling signal sent by the audio playing equipment;
and sending an audio description request to the audio playing device, and receiving feedback information including the second attribute information sent by the audio playing device.
3. The method of claim 1, wherein the determining whether the second attribute information matches the first attribute information comprises:
judging whether a target second audio format with the grade not lower than that of the first audio format exists in the second audio formats, wherein the number of the first channels is not more than that of the second channels corresponding to the target second audio format;
if so, determining that the second attribute information is matched with the first attribute information;
otherwise, determining that the second attribute information does not match the first attribute information.
4. The method according to claim 1, wherein the determining the processing method for the first audio according to the third attribute information and the second attribute information corresponding to each codec processing method supported by the method comprises:
judging whether target third attribute information matched with the second attribute information exists in the third attribute information or not;
and if so, carrying out coding and decoding processing on the first audio according to the target third attribute information.
5. The method of claim 4, wherein if there is no target third attribute information that matches the second attribute information in the third attribute information, the method further comprises:
judging whether fourth attribute information matched with the first attribute information exists in the third attribute information or not;
if yes, decoding and playing the first audio according to the fourth attribute information.
6. The method of claim 4, wherein the determining whether there is target third attribute information in the third attribute information that matches the second attribute information comprises:
judging whether the grade of a third audio format of the target third attribute information is not higher than the grade of at least one second audio format in the second attribute information, wherein the number of channels corresponding to the third audio format is not more than the number of channels corresponding to the at least one second audio format;
if yes, determining that target third attribute information matched with the second attribute information exists in the third attribute information;
otherwise, determining that the third attribute information does not have target third attribute information matched with the second attribute information.
7. The method of claim 6, wherein said codec processing the first audio according to the target third attribute information comprises:
determining target attribute information corresponding to a third audio format with the highest grade in the target third attribute information;
and carrying out coding and decoding processing on the first audio according to the target attribute information.
8. An audio output method, characterized in that the method comprises:
the audio playing device sends second attribute information of a power amplifier in the audio playing device to a multimedia resource acquisition device connected with the audio playing device, wherein the second attribute information comprises each second audio format in which the power amplifier can perform audio decoding and a second channel number corresponding to each second audio format;
receiving and playing a first audio processed by the multimedia resource acquisition equipment by adopting a corresponding processing method; the first audio is sent after the multimedia resource judges that the second attribute information is matched with the first attribute information and determines that the first audio is not processed; or, the second attribute information is judged not to be matched with the first attribute information, and the processing method of the first audio is determined and sent after processing according to the third attribute information and the second attribute information corresponding to each coding and decoding processing mode supported by the multimedia resource acquisition equipment.
9. The method of claim 8, wherein if the power amplifier has an ARC function of an audio return channel, the sending, by the audio playback device connected to the multimedia resource acquisition device, the feedback information including the second attribute information to the multimedia resource acquisition device comprises:
receiving an ARC connection available setting signal sent by the multimedia resource acquisition equipment, and sending an ARC function connection available feedback signal to the multimedia resource acquisition equipment;
receiving an ARC enabling request sent by the multimedia resource acquisition equipment, executing a corresponding enabling action according to the enabling request, and sending an enabling signal to the multimedia resource acquisition equipment after the enabling action is executed;
and receiving an audio description request sent by the multimedia resource acquisition equipment, and sending feedback information including the second attribute information to the multimedia resource acquisition equipment.
10. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 1 to 7.
11. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 8-9.
CN201910189232.9A 2019-03-13 2019-03-13 Audio output method and electronic equipment Active CN110007893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910189232.9A CN110007893B (en) 2019-03-13 2019-03-13 Audio output method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910189232.9A CN110007893B (en) 2019-03-13 2019-03-13 Audio output method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110007893A CN110007893A (en) 2019-07-12
CN110007893B true CN110007893B (en) 2022-07-01

Family

ID=67166955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910189232.9A Active CN110007893B (en) 2019-03-13 2019-03-13 Audio output method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110007893B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182315A (en) * 2019-10-18 2020-05-19 腾讯科技(深圳)有限公司 Multimedia file splicing method, device, equipment and medium
CN112243142B (en) * 2020-10-14 2023-06-30 北京小米移动软件有限公司 Method, device and storage medium for processing audio data
CN112612443B (en) * 2020-12-16 2023-02-17 Vidaa(荷兰)国际控股有限公司 Audio playing method, display device and server
CN114650456B (en) * 2020-12-17 2023-07-25 深圳Tcl新技术有限公司 Configuration method, system, storage medium and configuration equipment of audio descriptor
CN113727179A (en) * 2021-08-31 2021-11-30 Vidaa美国公司 Display device and method for display device to be compatible with external device
CN114501125B (en) * 2021-12-21 2023-09-12 广州番禺巨大汽车音响设备有限公司 Method and system for supporting dolby panoramic sound audio frequency by automatic matching

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686210A (en) * 2013-12-17 2014-03-26 广东威创视讯科技股份有限公司 Method and system for achieving audio and video transcoding in real time
CN103714837A (en) * 2013-12-18 2014-04-09 福州瑞芯微电子有限公司 Electronic device and method for playing audio files
CN105959841A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Mobile terminal audio playing method, device and headset
CN108540842A (en) * 2018-04-18 2018-09-14 广州华多网络科技有限公司 Audio-frequence player device, audio frequency playing method, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686210A (en) * 2013-12-17 2014-03-26 广东威创视讯科技股份有限公司 Method and system for achieving audio and video transcoding in real time
CN103714837A (en) * 2013-12-18 2014-04-09 福州瑞芯微电子有限公司 Electronic device and method for playing audio files
CN105959841A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Mobile terminal audio playing method, device and headset
CN108540842A (en) * 2018-04-18 2018-09-14 广州华多网络科技有限公司 Audio-frequence player device, audio frequency playing method, equipment and storage medium

Also Published As

Publication number Publication date
CN110007893A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110007893B (en) Audio output method and electronic equipment
US20220291896A1 (en) Loudness control for user interactivity in audio coding systems
CN203415228U (en) Audio decoder using program information element data
TWI502977B (en) Audio/video playing device, audio/video processing device, systems, and method thereof
US20170303000A1 (en) Apparatus and method for processing audio, method for setting initialization mode, and computer-readable recording medium
US20160366204A1 (en) Video information playing system and method
CN111078930A (en) Audio file data processing method and device
US11956497B2 (en) Audio processing method and electronic device
US11196868B2 (en) Audio data processing method, server, client and server, and storage medium
CN112738573A (en) Video data transmission method and device and video data distribution method and device
KR102423827B1 (en) Transmission apparatus and method for controlling the transmission apparatus thereof
US9900720B2 (en) Using single bitstream to produce tailored audio device mixes
US11128974B2 (en) Electronic device, external electronic device, and audio system comprising same
US11095982B2 (en) Speaker apparatus, electronic apparatus connected therewith, and controlling method thereof
CN112449208B (en) Voice processing method and device
CN109819108B (en) Method and device for adjusting driving parameters, electronic equipment and storage medium
WO2020257015A1 (en) Do not disturb functionality for voice responsive devices
CN107483855B (en) Television audio control method, television and computer readable storage medium
US8391467B2 (en) Methods and systems for encoding and decoding audio signals
CN109672887B (en) Video coding method and device
CN112702469B (en) Voice interaction method and device, audio and video processing method and voice broadcasting method
US10021462B2 (en) Content distribution and encoder testing techniques
US11682395B2 (en) Electronic device, system, method and program for externally adding voice control functionality to another device
JP7314398B2 (en) Method and Apparatus for Modified Audio Bitstream Generation and Processing
US20210185102A1 (en) Server in multipoint communication system, and operating method thereof

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221019

Address after: 83 Intekte Street, Devon, Netherlands

Patentee after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266071, room 248, No. 131 East Hongkong Road, Laoshan District, Shandong, Qingdao

Patentee before: QINGDAO HISENSE MEDIA NETWORKS Ltd.