CN110007893A - A kind of method and electronic equipment of audio output - Google Patents
A kind of method and electronic equipment of audio output Download PDFInfo
- Publication number
- CN110007893A CN110007893A CN201910189232.9A CN201910189232A CN110007893A CN 110007893 A CN110007893 A CN 110007893A CN 201910189232 A CN201910189232 A CN 201910189232A CN 110007893 A CN110007893 A CN 110007893A
- Authority
- CN
- China
- Prior art keywords
- audio
- attribute information
- equipment
- multimedia resource
- player device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Abstract
The invention discloses a kind of method of audio output and electronic equipments, the method of the audio output includes: that multimedia resource obtains the first attribute information that equipment obtains the first audio to be output, and first attribute information includes the first audio format and the first channel number of first audio;The second attribute information that power amplifier in the audio-frequence player device that equipment is connect is obtained with the multimedia resource is obtained, second attribute information includes that the power amplifier is able to carry out the second audio format of each of audio decoder and the corresponding second sound channel number of each second audio format;According to first attribute information and second attribute information, the processing method to first audio is determined, and will treated that the first audio is sent to the audio-frequence player device using corresponding processing method;The case where can not playing audio in this way to avoid audio-frequence player device generation, and then improve the quality that audio-frequence player device plays audio.
Description
Technical field
The present invention relates to multimedia technology field more particularly to the methods and electronic equipment of a kind of audio output.
Background technique
It is varied for playing the power amplifier of audio in the market, as shown in Figure 1, in order to which most of sound in the market can be used
Power amplifier in frequency playback equipment carries out coding output to audio to be output, can pass channel (Audio especially with audio
Return Channel, ARC) power amplifier of function carries out ARC coding output to audio to be output, it usually needs and user is in more matchmakers
The audio coding way of output is selected in body resource acquisition equipment, so that the power amplifier can carry out ARC decoding to audio to be output
Output.Wherein, which, which obtains equipment, can be TV, and the audio coding way of output for user's selection includes following
Several classifications: RAW, pulse code modulation (Pulse Code Modulation, PCM), Dolby Digital (Dolby Digital),
Dolby Digital+(Dolby Digital Plus).
But there are some defects for the method for the above-mentioned selection audio coding way of output, this is because user is any choosing
It selects, but user is not aware that multimedia resource obtains the audio coding mode that equipment is selected according to oneself, to sound to be output
Frequency is sent to power amplifier after being handled, and can the power amplifier treated that audio is decoded output to this.For example, user's selection
The audio coding way of output is RAW, and multimedia resource obtains equipment and do not carry out any processing to audio to be output, directly should
Audio transmission gives the power amplifier in the audio-frequence player device of multimedia resource acquisition equipment connection, and the power amplifier possibly can not be treated
The audio of output is decoded, and can not play audio so as to cause audio-frequence player device;The audio coding output side of user's selection
When formula is PCM, multimedia resource obtains equipment and sends audio forced coding to be output at pcm audio, and by the pcm audio
The power amplifier is given, since the power amplifier may be provided with pressure decoding process, and the pressure decoding process is not PCM, and if right
The pcm audio carries out pressure decoding, it will causes audio-frequence player device to play the quality decline of audio, or even can not play sound
Frequently;When the audio coding way of output that user selects is Dolby Digital or Dolby Digtal Plus, multimedia money
Source obtains equipment for audio forced coding to be output into the corresponding audio of Dolby Digital or Dolby Digtal Plus,
And the corresponding audio of DolbyDigital or Dolby Digtal Plus is sent to the power amplifier, since the power amplifier may quilt
The pressure decoding process of setting is not Dolby Digital or Dolby Digtal Plus, if to the Dolby Digital
Or the corresponding audio of Dolby Digtal Plus carries out pressure decoding, and repetition encoding and decoding may will be carried out to the audio and are made
The audio loses some key messages, and then causes audio-frequence player device to play the quality decline of audio, or even can not play sound
Frequently.
Summary of the invention
The embodiment of the invention provides a kind of method of audio output and electronic equipments, to solve prior art sound intermediate frequency
The quality that playback equipment plays audio is low, or even the problem of can not play audio.
The embodiment of the invention provides a kind of audio-frequency inputting methods, which comprises
Multimedia resource obtains the first attribute information that equipment obtains the first audio to be output, first attribute information
The first audio format and the first channel number including first audio;
Obtain the second attribute information that power amplifier in the audio-frequence player device that equipment is connect is obtained with the multimedia resource, institute
Stating the second attribute information includes that the power amplifier is able to carry out the second audio format of each of audio decoder and each second audio
The corresponding second sound channel number of format;
According to first attribute information and second attribute information, the processing method to first audio is determined,
And it will treated that the first audio is sent to the audio-frequence player device using corresponding processing method.
Further, if the power amplifier has the function of audio return channel ARC, the acquisition is provided with the multimedia
The second attribute information of power amplifier includes: in the audio-frequence player device of source acquisition equipment connection
Setting signal can be used by sending ARC connection to the audio-frequence player device, receive what the audio-frequence player device was sent
The available feedback signal of ARC function connects;
Sending ARC to the audio-frequence player device makes can request that, receives the enable signal that the audio-frequence player device is sent;
Audio description request is sent to the audio-frequence player device, receive the audio-frequence player device transmission includes described
The feedback information of second attribute information.
Further, described according to first attribute information and second attribute information, it determines to first sound
The processing method of frequency includes:
Judge whether second attribute information matches with first attribute information;
If so, determining to first audio without processing;
If not, being belonged to according to the corresponding third attribute information of every kind of encoding and decoding processing mode and described second itself supported
Property information, determine to the processing method of first audio.
Further, described to judge whether second attribute information matches with first attribute information and include:
Judge in second audio format with the presence or absence of the target second of the grade not less than first audio format
Audio format, and first channel number is not more than the corresponding second sound channel number of the target second audio format;
If it is present determining that second attribute information is matched with first attribute information;
Otherwise, it determines second attribute information and first attribute information mismatch.
Further, the corresponding third attribute information of every kind of encoding and decoding processing mode and described supported according to itself
Second attribute information, determination include: to the processing method of first audio
Judge to believe in the third attribute information with the presence or absence of with the matched target third attribute of second attribute information
Breath;
If it does, carrying out encoding and decoding processing to first audio according to the target third attribute information.
Further, if be not present and the matched target third of second attribute information in the third attribute information
Attribute information, the method also includes:
Judge to whether there is and matched 4th attribute information of first attribute information in the third attribute information;
If so, first audio is decoded and is played according to the 4th attribute information.
Further, whether there is and the matched mesh of the second attribute information in the judgement third attribute information
Marking third attribute information includes:
Judge whether the grade of the third audio format of the target third attribute information is not higher than the second attribute letter
The grade of the second audio format of at least one in breath, and the corresponding channel number of the third audio format is no more than described at least one
A corresponding channel number of the second audio format;
Exist and the matched target third category of second attribute information if it is, determining in the third attribute information
Property information;
Otherwise, it is determined that be not present and the matched target third category of second attribute information in the third attribute information
Property information.
Further, described according to the target third attribute information, encoding and decoding processing packet is carried out to first audio
It includes:
Determine the corresponding target property information of the highest third audio format of target third attribute information middle grade;
According to the target property information, encoding and decoding processing is carried out to first audio.
The embodiment of the invention provides a kind of audio-frequency inputting methods, which comprises
Audio-frequence player device obtains equipment to multimedia resource connected to it and sends power amplifier in the audio-frequence player device
The second attribute information, wherein second attribute information includes that the power amplifier is able to carry out the second sound of each of audio decoder
Frequency format and the corresponding second sound channel number of each second audio format;
The multimedia resource is received to obtain equipment using corresponding processing method treated the first audio and play.
Further, described to obtain equipment with multimedia resource if the power amplifier has the function of audio return channel ARC
The audio-frequence player device of connection obtains equipment to the multimedia resource and sends the feedback information including second attribute information
Include:
Setting signal, Xiang Suoshu multimedia resource can be used by receiving the ARC connection that the multimedia resource acquisition equipment is sent
It obtains equipment and sends the available feedback signal of ARC function connects;
Receiving the ARC that the multimedia resource acquisition equipment is sent makes can request that, makes to can request that execution is corresponding according to described
Enabled movement, after having executed the enabled movement, Xiang Suoshu multimedia resource obtain equipment send enable signal;
It receives the multimedia resource and obtains the audio description request that equipment is sent, Xiang Suoshu multimedia resource obtains equipment
Send the feedback information including second attribute information.
The embodiment of the invention provides a kind of electronic equipment, the electronic equipment includes processor, communication interface, memory
And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place
Manage the step of device executes any of the above-described the method.
The embodiment of the invention provides a kind of electronic equipment, the electronic equipment includes processor, communication interface, memory
And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place
Manage the step of device executes any of the above-described the method.
The embodiment of the invention provides a kind of method of audio output and electronic equipment, the method for the audio output includes:
Multimedia resource obtains the first attribute information that equipment obtains the first audio to be output, and first attribute information includes described
The first audio format and the first channel number of first audio;It obtains and obtains the audio broadcasting that equipment is connect with the multimedia resource
Second attribute information of power amplifier in equipment, second attribute information include that the power amplifier is able to carry out each of audio decoder
Two audio formats and the corresponding second sound channel number of each second audio format;According to first attribute information and described second
Attribute information determines to the processing method of first audio, and will be using corresponding processing method treated the first audio
It is sent to the audio-frequence player device.
Since multimedia resource obtains equipment according to the of the first audio to be output got in the embodiment of the present invention
One attribute information, and the second category that power amplifier in the audio-frequence player device that equipment is connect is obtained with the multimedia resource got
Property information, determine to the processing method of first audio, and will treated that the first audio is sent using corresponding processing method
The case where giving the audio-frequence player device, avoiding audio-frequence player device that from can not playing audio generation, and then improve audio-frequence player device
Play the quality of audio.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the method schematic diagram for the audio output in the prior art that background technique provides;
Fig. 2 is a kind of method flow diagram of the audio output provided in the embodiment of the present invention 1;
The mistake of second attribute information of power amplifier in a kind of acquisition audio-frequence player device that Fig. 3 provides for the embodiment of the present invention 2
Journey schematic diagram;
What Fig. 4 information between a kind of multimedia resource acquisition equipment provided of the embodiment of the present invention 3 and power amplifier was transmitted shows
It is intended to;
Fig. 5 is a kind of method flow diagram for audio output that the embodiment of the present invention 3 provides;
Fig. 6 is a kind of method flow diagram for audio output that the embodiment of the present invention 4 provides;
Fig. 7 is a kind of structural schematic diagram for audio output device that the embodiment of the present invention 5 provides;
Fig. 8 is a kind of structural schematic diagram for audio output device that the embodiment of the present invention 6 provides;
Fig. 9 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention 7 provides;
Figure 10 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention 8 provides.
Specific embodiment
The present invention will be describe below in further detail with reference to the accompanying drawings, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
All other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 2 is a kind of method flow diagram of audio output provided in an embodiment of the present invention, which comprises
S201: multimedia resource obtains the first attribute information that equipment obtains the first audio to be output, and described first belongs to
Property information includes the first audio format and the first channel number of first audio.
The audio-frequency inputting method provided in an embodiment of the present invention is applied to multimedia resource and obtains equipment, which obtains
Equipment can be TV.
In order to accurately determine the processing method to the first audio to be output, multimedia resource obtains equipment and receives
To after the first audio to be output, the first attribute information of first audio is obtained, which includes the first audio
Format and the first channel number.
S202: it obtains the second attribute for obtaining power amplifier in the audio-frequence player device that equipment is connect with the multimedia resource and believes
Breath, second attribute information includes that the power amplifier is able to carry out the second audio format of each of audio decoder and each second
The corresponding second sound channel number of audio format.
Most of user can usually obtain in multimedia resource in order to pursue better audio experience and connect sound in equipment
Frequency playback equipment, and under normal conditions, audio-frequence player device passes through high-definition multimedia interface (High Definition
Multimedia Interface, HDMI) line be connected to multimedia resource obtain equipment.It is played due to being applied to audio on the market
There are great differences for the attribute information of power amplifier in equipment, for example, the power amplifier of a mainstream is able to carry out the audio of audio decoder
Format further includes other one or two kinds of audio formats, such as Dolby Digital, Dolby other than PCM
Digital Plus, digital cinema system (Digital Theatre System, DTS), and these audio formats are corresponding
Channel number is not also identical, and the corresponding channel number of most audio formats is 6 sound channels or 8 sound channels.
Therefore, in order to more accurately determine the processing method to the first audio to be output, which is obtained
Equipment also needs to obtain the second attribute information of power amplifier in the audio-frequence player device, the specific can be that multimedia resource acquisition is set
After detecting that audio-frequence player device is connect with itself, the second attribute information for obtaining power amplifier is sent to the audio-frequence player device
Request, so that the second attribute information that the audio-frequence player device sends corresponding power amplifier obtains equipment to the multimedia resource.
Wherein, the second attribute information of the power amplifier may include that the power amplifier is able to carry out the second audio of each of audio decoder
Format and the corresponding channel number of each second audio format, different power amplifiers are able to carry out the second audio format of audio decoder
Quantity be different, ordinary circumstance, the power amplifier of mainstream be able to carry out audio decoder audio format be it is multiple, such as can be
3.
S203: according to first attribute information and second attribute information, the processing to first audio is determined
Method, and will treated that the first audio is sent to the audio-frequence player device using corresponding processing method.
The case where audio can not be played in order to avoid audio-frequence player device generation, and improve audio-frequence player device and play audio
Quality, multimedia resource obtain equipment it needs to be determined that the processing method to the first audio to be output specifically can basis
Above-mentioned first attribute information and the second attribute information, determination specifically can compare first to the processing method of first audio
The grade of attribute information and the second attribute information sound intermediate frequency format, determines first audio according to elementary audio format
Processing mode, so that audio-frequence player device be made to play the audio.For example, multimedia resource acquisition equipment is elementary according to this
The corresponding code encoding/decoding mode of audio format carries out corresponding encoding and decoding processing to the first audio, and by encoding and decoding, treated first
Audio is sent to audio-frequence player device.
Since multimedia resource obtains equipment according to the of the first audio to be output got in the embodiment of the present invention
One attribute information, and the second category that power amplifier in the audio-frequence player device that equipment is connect is obtained with the multimedia resource got
Property information, determine to the processing method of first audio, and will treated that the first audio is sent using corresponding processing method
The case where giving the audio-frequence player device, avoiding audio-frequence player device that from can not playing audio generation, and then improve audio-frequence player device
Play the quality of audio.
Embodiment 2:
In order to more accurately obtain the second attribute information of power amplifier, on the basis of the above embodiments, if the function
Putting has the function of ARC, then the acquisition and the of power amplifier in the audio-frequence player device that connect of multimedia resource acquisition equipment
Two attribute informations include:
Setting signal can be used by sending ARC connection to the audio-frequence player device, receive what the audio-frequence player device was sent
The available feedback signal of ARC function connects;
Sending ARC to the audio-frequence player device makes can request that, receives the enable signal that the audio-frequence player device is sent;
Audio description request is sent to the audio-frequence player device, receive the audio-frequence player device transmission includes described
The feedback information of second attribute information.
The power amplifier in audio-frequence player device connecting in the embodiment of the present invention with multimedia resource acquisition equipment may be tool
There is the power amplifier of ARC function, if the power amplifier in the audio-frequence player device is the power amplifier with ARC function, the available power amplifier
The second attribute information.
Fig. 3 is the process schematic of the second attribute information provided in an embodiment of the present invention for obtaining power amplifier, multimedia resource
Equipment is obtained, for example TV constantly can send power detection signal on power amplifier, until receiving the power amplifier according to the function after powering
Put the signal of power detection signal transmission powered on, wherein power detection signal for example can be 0x8f on the power amplifier.
In order to judge whether the ARC function of the power amplifier can be used, which obtains equipment and needs to send to the power amplifier
ARC connection can use setting signal, which for example can be able to be 0x70 with setting signal.
If the ARC function of the power amplifier is available, which obtains equipment transmission to the multimedia resource and carries ARC function
The feedback signal of available message can be connected, which is whether 0x72 specifically connects according to the ARC function of power amplifier
Available judging result can carry the message of different content in 0x72, and the message content that the feedback signal carries at this time indicates
ARC function connects are available.
Multimedia resource obtains equipment according to the feedback signal received, if it is determined that the ARC function connects of the power amplifier
It can use, ARC is carried out to the power amplifier and enables (ARC enable) operation, specifically, multimedia resource obtains equipment and sends out to the power amplifier
Power amplifier initialization requests are sent, even if can request that, which is 0xc3;The power amplifier receives power amplifier initialization and asks
It after asking, initializes, and corresponding to multimedia resource acquisition equipment feedback after initialization operation runs succeeded
Enable signal, the enable signal are 0xc0.
After multimedia resource acquisition equipment receives the enable signal, judge whether the power amplifier succeeds according to the enable signal
Initialization operation has been executed, if so, audio description request (request audio description) is sent to the power amplifier,
Audio description request for example can be 0xa4.
After the power amplifier receives audio description request, obtaining equipment to the multimedia resource and sending includes above-mentioned second category
Property information feedback information, specific each second attribute information can by way of data block (response block),
It carries in feedback information, wherein the feedback signal for example can be 0xa3, and each data block respectively corresponds power amplifier support
Different decoding capacity informations.Because under normal circumstances, power amplifier be able to carry out audio decoder audio format may to be a variety of, because
This will carry respectively the second attribute information by multiple data blocks, for example, if the second attribute information is 3 kinds, then the feedback information
In may include three block, respectively block [0,1,2], i.e. block [0-2], and the information encapsulated in each block
A kind of audio format maximum channel number corresponding with the audio format for being able to carry out audio decoder for power amplifier.
Embodiment 3:
In order to further determine the processing method to the first audio, on the basis of above-mentioned each embodiment, the basis
First attribute information and second attribute information, determination include: to the processing method of first audio
Judge whether second attribute information matches with first attribute information;
If so, determining to first audio without processing;
If not, being belonged to according to the corresponding third attribute information of every kind of encoding and decoding processing mode and described second itself supported
Property information, determine to the processing method of first audio.
The case where audio can not be played in order to avoid audio-frequence player device generation, and improve audio-frequence player device and play audio
Quality, when multimedia resource obtain equipment get above-mentioned first attribute information and the second attribute information after, can first judge
Whether second attribute information matches with first attribute information.Because if the second attribute information and first attribute information
Match, then after illustrating that first audio is transmitted directly to audio-frequence player device, which is able to carry out processing and plays.
If it does not match, illustrating that the audio-frequence player device cannot be handled and be played to the first audio, needed at this time in multimedia
Resource acquisition equipment end performs corresponding processing first audio, handles the sound for being capable of handling and playing for audio-frequence player device
Frequency is then forwarded to audio-frequence player device, and making the audio-frequence player device to treated, the first audio handled and played.
Specifically, described to judge whether second attribute information matches with first attribute information and include:
Judge in second audio format with the presence or absence of the target second of the grade not less than first audio format
Audio format, and first channel number is not more than the corresponding second sound channel number of the target second audio format;
If it is present determining that second attribute information is matched with first attribute information;
Otherwise, it determines second attribute information and first attribute information mismatch.
Since corresponding second audio format of power amplifier is generally there are a variety of in audio-frequence player device, i.e., the second attribute information is deposited
A variety of, multimedia resource obtains equipment needs and judge to whether there is at least one target second in these the second audio formats
Audio format is greater than or equal to the first audio format of the first audio to be output, if so, in order to more accurately judge sound
Whether frequency playback equipment can be handled first audio, then needs further to judge at least one existing target second
Whether the corresponding channel number of audio format is greater than the first channel number, if it is, the second attribute information of explanation and first attribute
Information matches;If it is not, then the second attribute information of explanation and first attribute information mismatch.
If the second attribute information is matched with first attribute information, the power amplifier in audio-frequence player device can be treated directly
First audio of output is decoded, and is not needed multimedia resource acquisition equipment and is carried out at encoding and decoding again to first audio
Reason, therefore, multimedia resource, which obtains equipment, to be directly sent to the power amplifier for first audio, by the power amplifier to first sound
Frequency exports after being decoded processing.
Specifically, after the power amplifier in audio-frequence player device receives first audio, first identify that first audio is corresponding
The first attribute information, i.e., first identify corresponding first audio format of first audio and channel number, then determine this first belong to
The property corresponding decoding process of information, is decoded output to first audio according to the decoding process.
For example, the first audio format of first audio is Dolby Digital Plus 5.1, first audio format
Corresponding channel number is 6 sound channels, and the second audio format of the power amplifier includes: Dolby Digital Plus 7.1, second sound
The corresponding channel number of frequency format is 8 sound channels, the grade ratio Dolby Digital Plus of Dolby Digital Plus 7.1
5.1 grade is high, and 8 sound channels are greater than 6 sound channels, and therefore, multimedia resource, which obtains equipment, to be directly Dolby by audio format
The first audio of Digital Plus 5.1 is sent to the power amplifier.After power amplifier receives first audio, first identify this first
First attribute information of audio knows that the audio format of first audio is 5.1,6 sound channel of Dolby Digital Plus, because
This is decoded first audio according to the corresponding decoding process of the audio format, and obtaining 6 channel formats is Dolby
The second audio of Digital Plus 5.1 simultaneously plays.
If the target second audio format in second audio format there is no grade not less than first audio format,
And/or first channel number is not more than the corresponding second sound channel number of the target second audio format, illustrates second attribute information
It is mismatched with first attribute information, multimedia resource obtains every kind of encoding and decoding processing mode that equipment needs to support according to itself
Corresponding third attribute information and corresponding second attribute information of the power amplifier determine the processing method to first audio.
In order to more accurately determine to the processing method of first audio, if second attribute information and described the
When one attribute information mismatches, the corresponding third attribute information of every kind of encoding and decoding processing mode supported according to itself and institute
The second attribute information is stated, determination includes: to the processing method of first audio
Judge to believe in the third attribute information with the presence or absence of with the matched target third attribute of second attribute information
Breath;
If it does, carrying out encoding and decoding processing to first audio according to the target third attribute information.
Since multimedia resource obtains the encoding and decoding processing mode that can support of equipment itself there are a variety of, so if needing
It wants multimedia resource to obtain equipment to handle the first audio to be output, then it can be to the audio of the first audio to be output
Format re-starts the encoding and decoding of various ways, so that a variety of coded formats and channel number are obtained treated the first audio,
That is treated that the corresponding third attribute information of the first audio is different for encoding and decoding.In order to preferably determine to first
The processing method of audio, multimedia resource obtain equipment and need to judge to whether there is and second attribute in the third attribute information
The target third attribute information of information matches.
Specifically, whether there is and the matched target of the second attribute information in the judgement third attribute information
Third attribute information includes:
Judge whether the grade of the third audio format of the target third attribute information is not higher than the second attribute letter
The grade of the second audio format of at least one in breath, and the corresponding channel number of the third audio format is no more than described at least one
A corresponding channel number of the second audio format;
Exist and the matched target third category of second attribute information if it is, determining in the third attribute information
Property information;
Otherwise, it is determined that be not present and the matched target third category of second attribute information in the third attribute information
Property information.
Specifically when judging whether third attribute information matches with the second attribute information, if it does, may third attribute
With the matched target third attribute information of the second attribute information there may be multiple in information, and because of each third attribute information
Corresponding code encoding/decoding mode all may be different.Multimedia resource obtains equipment can be any in these target third attribute informations
A target third attribute information is selected, encoding and decoding processing is carried out to first audio according to the target third attribute information, and
By treated, the first audio is sent to power amplifier, so that the power amplifier is to treated, the first audio is decoded output;Such as it is more
The audio format that media resource obtains the target third attribute information that equipment selects is PCM, and channel number 2, multimedia resource obtains
It takes equipment to carry out encoding and decoding to first audio and obtains channel number as 2 pcm audio, and the pcm audio is sent to power amplifier, it should
Power amplifier identifies the corresponding attribute information of the pcm audio, the corresponding decoding process of the attribute information is determined, according to the decoding process
After being decoded processing to the pcm audio, so that the audio-frequence player device for carrying the power amplifier can be with the normal play pcm audio.
It is described according to the target third attribute information in order to further increase the play quality of audio, to described first
Audio carries out encoding and decoding processing
Determine the corresponding target property information of the highest third audio format of target third attribute information middle grade;
According to the target property information, encoding and decoding processing is carried out to first audio.
Because target third attribute information is there may be multiple, and each target third attribute information corresponds to different volumes
Decoding process plays the quality of audio to further increase audio-frequence player device, and then user is made to obtain optimal sense of hearing body
It tests, multimedia resource obtains equipment and determines that the specific method of the target property information can be first to each target third attribute letter
The grade of third audio format in breath is compared, and the highest target third audio format of grade is determined, then by the grade
The corresponding target third attribute information of highest target third audio format is determined as target property information.Multimedia resource obtains
Equipment has determined the target property information, that is, the corresponding target encoding and decoding processing mode of the target property information has been determined, then
Encoding and decoding processing can be carried out to first audio according to the target encoding and decoding processing mode.
After the power amplifier receives above-mentioned encoding and decoding treated the first audio, the encoding and decoding are first identified treated the first sound
Frequently corresponding attribute information, the attribute information include the encoding and decoding treated the corresponding audio format of the first audio and sound channel
Number, so that treated that the first audio is decoded output to the encoding and decoding.
Assuming that the third audio format in target third attribute information includes Dolby Digital Plus 5.1, Dolby
Digital 5.1, Dolby Digital 2.0 these three, wherein the grade highest of Dolby Digital Plus 5.1, will
The corresponding target third attribute information of Dolby Digital Plus 5.1 is as target property information, and the of first audio
One audio format is Dolby Digital Plus 7.1, which is 8 or first audio
The first audio format be DTS5.1, the corresponding channel number of the first audio format be 6, therefore, multimedia resource obtain equipment
Can by audio format be Dolby Digital Plus 7.1 or DTS5.1 the first audio again encoding and decoding at audio format
For Dolby Digital Plus 5.1, channel number be 6 audio output to power amplifier, after which receives the audio, use
5.1 format of Dolby Digital Plus obtains third audio to the audio decoder, thus make audio-frequence player device play this
Three audios, to make user obtain optimal audio experience.
If third attribute information and the second attribute information mismatch, illustrate in third attribute information there is no with this
The matched target third attribute information of two attribute informations, multimedia resource obtain equipment and cannot be obtained by corresponding code encoding/decoding mode
The audio of encoding and decoding is able to carry out to power amplifier.At this point, multimedia resource, which obtains equipment, needs further to judge whether itself can be with
Processing is decoded to the first audio to be output and is played.
Specifically, if be not present and the matched target third category of second attribute information in the third attribute information
Property information, the method also includes:
Judge to whether there is and matched 4th attribute information of first attribute information in the third attribute information;
If so, first audio is decoded and is played according to the 4th attribute information.
Specifically when judging whether third attribute information matches with the first attribute information, if it does, illustrating that multimedia provides
Source, which obtains equipment, can be decoded processing to the first audio to be output.Specifically, multimedia resource obtains equipment according to upper
The 4th attribute information is stated, determines the corresponding decoding process of the 4th attribute information, and according to the decoding process to first audio
After being decoded processing, fifth audio is obtained, is broadcast so that multimedia resource be made to obtain the self-contained audio playing module of equipment
Put the fifth audio.Wherein, which can be the loudspeaker in multimedia resource acquisition equipment.
Fig. 4 is that a kind of multimedia resource provided in an embodiment of the present invention obtains between equipment and the power amplifier of audio-frequence player device
Information exchange schematic diagram, Fig. 5 be the embodiment of the invention also provides a kind of method flow diagram of audio output, be with TV below
Example, in conjunction with Fig. 4 and content shown in fig. 5, is further described the detailed process of audio-frequency inputting method:
First audio input to be output obtains the first attribute information of first audio to TV, TV automatic (Auto);When
After power amplifier in audio-frequence player device is connected to the TV, TV obtains the second attribute information of the power amplifier, specific to obtain the second category
The process of property information elaborates that details are not described herein in the above-described embodiments;And according to first attribute information and second category
Property information, or according to first attribute information, second attribute information and itself support every kind of encoding and decoding processing mode
Corresponding third attribute information determines to the processing method of first audio, will be using the processing method treated the first sound
It takes place frequently and gives power amplifier;Specific determination had illustrated the process of the processing method of first audio in the above-described embodiments
, details are not described herein;After power amplifier receives this treated the first audio, this is identified treated that the first audio is corresponding
Attribute information obtains the 6th audio so that treated that the first audio is decoded processing to this, enables the audio for carrying the power amplifier
Playback equipment plays the 6th audio.
The above method is a kind of method of dynamical output audio, and the attribute of the first audio to be output can be made full use of to believe
Breath and multimedia resource obtain the corresponding third attribute information of every kind of encoding and decoding processing mode of equipment itself support, power amplifier the
Relationship between two attribute informations so that user can obtain preferably audio experience, and is guaranteeing the first sound to be output
Under the premise of the quality of frequency, unnecessary encoding-decoding process can also be reduced.
Due to judging whether second attribute information matches with first attribute information in the embodiment of the present invention;If so,
It determines to first audio without processing;If not, according to the corresponding third of every kind of encoding and decoding processing mode itself supported
Attribute information and second attribute information determine to the processing method of first audio, can more accurately determine in this way pair
The processing method of first audio.
Embodiment 4:
On the basis of above-mentioned each embodiment, Fig. 6 is a kind of method stream of audio output provided in an embodiment of the present invention
Cheng Tu, which comprises
S601: audio-frequence player device obtains equipment to multimedia resource connected to it and sends in the audio-frequence player device
Second attribute information of power amplifier, wherein second attribute information includes that the power amplifier is able to carry out each of audio decoder
Two audio formats and the corresponding second sound channel number of each second audio format.
The audio-frequency inputting method provided in an embodiment of the present invention is applied to audio-frequence player device.
Most of user can usually obtain in multimedia resource in order to pursue better audio experience and connect sound in equipment
Frequency playback equipment.The place to the first audio to be output can more accurately be determined by obtaining equipment for the ease of multimedia resource
Reason method, audio-frequence player device receive multimedia resource and obtain obtain power amplifier in the audio-frequence player device that equipment is sent
After the request of two attribute informations, which can obtain equipment is sent including the power amplifier second to multimedia resource and belong to
The feedback information of property information, in order to subsequent operation.
Wherein, second attribute information may include the power amplifier be able to carry out the second audio format of each of audio decoder with
And the corresponding second sound channel number of each second audio format, it also may include other information, such as each second audio format
Corresponding frequency range.
Preferably, if the power amplifier has the function of ARC, it is described that the audio broadcasting that equipment is connect is obtained with multimedia resource
Equipment obtains the feedback information that equipment transmission includes second attribute information to the multimedia resource
Setting signal, Xiang Suoshu multimedia resource can be used by receiving the ARC connection that the multimedia resource acquisition equipment is sent
It obtains equipment and sends the available feedback signal of ARC function connects;
Receiving the ARC that the multimedia resource acquisition equipment is sent makes can request that, makes to can request that execution is corresponding according to described
Enabled movement, after having executed the enabled movement, Xiang Suoshu multimedia resource obtain equipment send enable signal;
It receives the multimedia resource and obtains the audio description request that equipment is sent, Xiang Suoshu multimedia resource obtains equipment
Send the feedback information including second attribute information.
The power amplifier of audio-frequence player device may have the function of ARC.Multimedia resource obtains equipment to utilize the ARC function
Can, power detection signal on power amplifier is sent to the audio-frequence player device, is connect if power amplifier obtains equipment with multimedia resource,
Power amplifier receives on the power amplifier after power detection signal, obtains equipment to multimedia resource and sends the signal powered on;Multimedia money
After source acquisition equipment receives the signal, setting signal can be used by sending ARC connection to the power amplifier;The power amplifier receives ARC connection
Can be with after setting signal, if the ARC function of the power amplifier is available, obtaining equipment transmission ARC function connects to multimedia resource can
Feedback signal;After multimedia resource acquisition equipment receives the feedback signal, the enabled operation of ARC, tool are carried out to the power amplifier
Body, multimedia resource obtains equipment and sends power amplifier initialization requests to the power amplifier, which receives power amplifier initialization and ask
It after asking, initializes, and corresponding to multimedia resource acquisition equipment feedback after initialization operation runs succeeded
Enable signal;Multimedia resource obtains after equipment receives the enable signal, according to the enable signal judge the power amplifier whether at
Function has executed the initialization operation, if so, sending audio description request to the power amplifier, which requests according to the audio description
Equipment, which is obtained, to the multimedia resource sends the feedback information including the second attribute information.The particular content of the process is in above-mentioned reality
It applies in example and illustrates, details are not described herein.
S602: it receives the multimedia resource and obtains equipment using corresponding processing method treated the first audio and broadcast
It puts.
In order to meet the better audio experience of user, multimedia resource, which obtains equipment, will can first use corresponding processing side
The power amplifier of method treated the first audio the is sent to audio-frequence player device, the power amplifier receive this treated the first audio
Afterwards, identify this treated the attribute information of the first audio, and according to the corresponding decoding process of the attribute information to the processing after
The first audio be decoded processing, so that audio-frequence player device be made to play the audio after the decoding process, multimedia resource is obtained
Equipment is taken to illustrate in the above-described embodiments using the detailed process that corresponding processing method handles the first audio, herein
It repeats no more.
The sound is sent since sound intermediate frequency of embodiment of the present invention playback equipment obtains equipment to multimedia resource connected to it
Second attribute information of power amplifier in frequency playback equipment, wherein second attribute information includes that the power amplifier is able to carry out audio decoder
Each of the second audio format and the corresponding second sound channel number of each second audio format;Multimedia resource acquisition is received to set
It is standby using corresponding processing method treated the first audio and to play, it is possible to prevente effectively from audio-frequence player device can not play sound
The case where frequency, occurs, and then improves the quality that audio-frequence player device plays audio.
Embodiment 5:
On the basis of above-mentioned each embodiment, Fig. 7 is that the embodiment of the invention provides a kind of knots of audio output device
Structure schematic diagram, described device include:
First obtains module 701, for obtaining the first attribute information of the first audio to be output, the first attribute letter
Breath includes the first audio format and the first channel number of first audio;
Second obtains module 702, for obtaining power amplifier in the audio-frequence player device connecting with the first acquisition module 701
The second attribute information, second attribute information includes that the power amplifier is able to carry out the second audio format of each of audio decoder
And the corresponding second sound channel number of each second audio format;
First sending module 703, for determining to described according to first attribute information and second attribute information
The processing method of first audio, and will treated that the first audio is sent to that the audio broadcasting is set using corresponding processing method
It is standby.
Further, described second module 702 is obtained, being specifically used for can to audio-frequence player device transmission ARC connection
With setting signal, the available feedback signal of ARC function connects that the audio-frequence player device is sent is received;It is played to the audio
Equipment, which sends ARC, to be made can request that, receives the enable signal that the audio-frequence player device is sent;It is sent to the audio-frequence player device
Audio description request receives the feedback information including second attribute information that the audio-frequence player device is sent.
Further, whether first sending module 703 is specifically used for judging second attribute information with described the
The matching of one attribute information;If so, determining to first audio without processing;If not, every kind supported according to itself
The corresponding third attribute information of encoding and decoding processing mode and second attribute information determine the processing side to first audio
Method.
Further, first sending module 703 is specifically used for judging in second audio format with the presence or absence of not
Lower than the target second audio format of the grade of first audio format, and first channel number is not more than the target second
The corresponding second sound channel number of audio format;If it is present determining second attribute information and first attribute information
Match;Otherwise, it determines second attribute information and first attribute information mismatch.
Further, first sending module 703, be specifically used for judge in the third attribute information whether there is with
The matched target third attribute information of second attribute information;If it does, according to the target third attribute information, to institute
It states the first audio and carries out encoding and decoding processing.
Further, first sending module 703, if being specifically used for being not present and institute in the third attribute information
The matched target third attribute information of the second attribute information is stated, judges to whether there is and described first in the third attribute information
Matched 4th attribute information of attribute information;If so, being decoded according to the 4th attribute information to first audio
And it plays.
Further, first sending module 703, specifically for judging the third sound of the target third attribute information
Whether the grade of frequency format is not higher than the grade of at least one the second audio format in second attribute information, and the third
The corresponding channel number of audio format is no more than at least one the corresponding channel number of the second audio format;If it is, really
Exist and the matched target third attribute information of second attribute information in the fixed third attribute information;Otherwise, it is determined that
It is not present and the matched target third attribute information of second attribute information in the third attribute information.
Further, first sending module 703 is specifically used for determining the target third attribute information middle grade most
The high corresponding target property information of third audio format;According to the target property information, first audio is compiled
Decoding process.
Since first obtains module 701 in the embodiment of the present invention, for obtaining the first attribute of the first audio to be output
Information, first attribute information include the first audio format and the first channel number of first audio;Second obtains module 702,
For obtaining the second attribute information of power amplifier in the audio-frequence player device connecting with the first acquisition module 701, second attribute
Information includes that the power amplifier is able to carry out the second audio format of each of audio decoder and each second audio format corresponding
Two channel numbers;First sending module 703, for according to first attribute information and second attribute information, determine to this first
The processing method of audio, and will treated that the first audio is sent to the audio-frequence player device using corresponding processing method;Into
And improve the quality that audio-frequence player device plays audio.
Embodiment 6:
On the basis of above-mentioned each embodiment, Fig. 8 is a kind of knot of audio output device provided in an embodiment of the present invention
Structure schematic diagram, described device include:
Second sending module 801 is sent in audio-frequence player device for obtaining equipment to multimedia resource connected to it
Second attribute information of power amplifier, wherein second attribute information includes that the power amplifier is able to carry out each of audio decoder
Two audio formats and the corresponding second sound channel number of each second audio format;
Receiving module 802, for receiving the multimedia resource acquisition equipment, using corresponding processing method, treated
First audio simultaneously plays.
Further, described device further include:
Setup module 803, the ARC connection that equipment transmission is obtained for receiving the multimedia resource can use setting signal,
Equipment, which is obtained, to the multimedia resource sends the available feedback signal of ARC function connects;
Enabled module 804, the ARC that equipment transmission is obtained for receiving the multimedia resource makes can request that, according to described
Make to can request that the corresponding enabled movement of execution, after having executed the enabled movement, Xiang Suoshu multimedia resource obtains equipment and sends
Enable signal;
Feedback module 805 obtains the audio description request that equipment is sent for receiving the multimedia resource, to described more
Media resource obtains equipment and sends the feedback information including second attribute information.
Embodiment 7:
On the basis of above-mentioned each embodiment, a kind of electronic equipment provided in an embodiment of the present invention, as shown in figure 9, institute
Stating electronic equipment includes processor 901, communication interface 902, memory 903 and communication bus 904, wherein processor 901 leads to
Believe that interface 902, memory 903 complete mutual communication by communication bus 904;
It is stored with computer program in the memory 903, when described program is executed by the processor 901, so that
The processor 901 executes following steps:
The first attribute information of the first audio to be output is obtained, first attribute information includes first audio
First audio format and the first channel number;
Obtain the second attribute information that power amplifier in the audio-frequence player device that equipment is connect is obtained with the multimedia resource, institute
Stating the second attribute information includes that the power amplifier is able to carry out the second audio format of each of audio decoder and each second audio
The corresponding second sound channel number of format;
According to first attribute information and second attribute information, the processing method to first audio is determined,
And it will treated that the first audio is sent to the audio-frequence player device using corresponding processing method.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface 902 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 903 may include random access memory (Random Access Memory, RAM), also may include
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory
It can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 901 can be general processor, including central processing unit, network processing unit (Network
Processor, NP) etc.;It can also be digital command processor (Digital Signal Processing, DSP), dedicated collection
At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard
Part component etc..
Further, the processor 901 is specifically used for sending ARC connection to the audio-frequence player device and can using being arranged
Signal receives the available feedback signal of ARC function connects that the audio-frequence player device is sent;It is sent out to the audio-frequence player device
It send ARC to make can request that, receives the enable signal that the audio-frequence player device is sent;Audio is sent to the audio-frequence player device to retouch
Request is stated, the feedback information including second attribute information that the audio-frequence player device is sent is received.
Further, the processor 901, be specifically used for judge second attribute information whether with first attribute
Information matches;If so, determining to first audio without processing;If not, according to the every kind of encoding and decoding itself supported
The corresponding third attribute information of processing mode and second attribute information determine the processing method to first audio.
Further, the processor 901 is specifically used for judging in second audio format with the presence or absence of not less than institute
The target second audio format of the grade of the first audio format is stated, and first channel number is not more than the target second audio lattice
The corresponding second sound channel number of formula;If it is present determining that second attribute information is matched with first attribute information;It is no
Then, determine that second attribute information and first attribute information mismatch.
Further, the processor 901 is specifically used for judge whether there is in the third attribute information and described the
The matched target third attribute information of two attribute informations;If it does, according to the target third attribute information, to described first
Audio carries out encoding and decoding processing.
Further, the processor 901, if being specifically used for being not present and described second in the third attribute information
The matched target third attribute information of attribute information judges to believe in the third attribute information with the presence or absence of with first attribute
Cease matched 4th attribute information;If so, first audio is decoded and is broadcast according to the 4th attribute information
It puts.
Further, the processor 901, specifically for judging the third audio format of the target third attribute information
Grade whether be not higher than the grade of at least one the second audio format in second attribute information, and the third audio lattice
The corresponding channel number of formula is no more than at least one the corresponding channel number of the second audio format;If it is, described in determining
Exist and the matched target third attribute information of second attribute information in third attribute information;Otherwise, it is determined that described
It is not present and the matched target third attribute information of second attribute information in three attribute informations.
Further, the processor 901 is specifically used for determining the target third attribute information middle grade highest the
The corresponding target property information of three audio formats;According to the target property information, first audio is carried out at encoding and decoding
Reason.
Embodiment 8:
On the basis of above-mentioned each embodiment, the embodiment of the invention provides a kind of electronic equipment, as shown in Figure 10, such as
Shown in Figure 10, the electronic equipment includes processor 1001, communication interface 1002, memory 1003 and communication bus 1004,
In, processor 1001, communication interface 1002, memory 1003 completes mutual communication by communication bus 1004;
It is stored with computer program in the memory 1003, when described program is executed by the processor 1001, is made
It obtains the processor 1001 and executes following steps:
The second attribute information that equipment sends power amplifier in audio-frequence player device is obtained to multimedia resource connected to it,
In, second attribute information includes that the power amplifier is able to carry out the second audio format of each of audio decoder and each second
The corresponding second sound channel number of audio format;
The multimedia resource is received to obtain equipment using corresponding processing method treated the first audio and play.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface 1002 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 1003 may include random access memory (Random Access Memory, RAM), also may include
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory
It can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 1001 can be general processor, including central processing unit, network processing unit (Network
Processor, NP) etc.;It can also be digital command processor (Digital Signal Processing, DSP), dedicated collection
At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard
Part component etc..
Further, the processor 1001 is also used to receive the multimedia resource and obtains the ARC connection that equipment is sent
Setting signal can be used, Xiang Suoshu multimedia resource obtains equipment and sends the available feedback signal of ARC function connects;It receives described more
Media resource, which obtains the ARC that equipment is sent, to be made can request that, is made to can request that the corresponding enabled movement of execution according to described, has been executed institute
After stating enabled movement, Xiang Suoshu multimedia resource obtains equipment and sends enable signal;It receives the multimedia resource and obtains equipment
The audio description of transmission is requested, and Xiang Suoshu multimedia resource obtains equipment and sends the feedback letter including second attribute information
Breath.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or an operation are distinguished with another entity or another operation, without necessarily requiring or implying these entities
Or there are any actual relationship or orders between operation.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, the reality of complete hardware embodiment, complete Application Example or connected applications and hardware aspect can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.If in this way, these of the invention modifications and variations belong to the claims in the present invention and its equivalent technologies range it
Interior, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of audio-frequency inputting method, which is characterized in that the described method includes:
Multimedia resource obtains the first attribute information that equipment obtains the first audio to be output, and first attribute information includes
The first audio format and the first channel number of first audio;
Obtain with the second attribute information of power amplifier in the audio-frequence player device that connect of multimedia resource acquisition equipment, described the
Two attribute informations include that the power amplifier is able to carry out the second audio format of each of audio decoder and each second audio format
Corresponding second sound channel number;
According to first attribute information and second attribute information, the processing method to first audio is determined, and will
Using corresponding processing method, treated that the first audio is sent to the audio-frequence player device.
2. the method as described in claim 1, which is characterized in that if the power amplifier has the function of audio return channel ARC,
The second attribute information of power amplifier includes: in the audio-frequence player device that the acquisition is connect with multimedia resource acquisition equipment
Setting signal can be used by sending ARC connection to the audio-frequence player device, receive the ARC function that the audio-frequence player device is sent
Available feedback signal can be connected;
Sending ARC to the audio-frequence player device makes can request that, receives the enable signal that the audio-frequence player device is sent;
Audio description request is sent to the audio-frequence player device, receive the audio-frequence player device transmission includes described second
The feedback information of attribute information.
3. the method as described in claim 1, which is characterized in that described according to first attribute information and second attribute
Information, determination include: to the processing method of first audio
Judge whether second attribute information matches with first attribute information;
If so, determining to first audio without processing;
If not, being believed according to the corresponding third attribute information of every kind of encoding and decoding processing mode and second attribute itself supported
Breath determines the processing method to first audio.
4. method as claimed in claim 3, which is characterized in that described to judge second attribute information whether with described first
Attribute information matches
Judge in second audio format with the presence or absence of the target second audio of the grade not less than first audio format
Format, and first channel number is not more than the corresponding second sound channel number of the target second audio format;
If it is present determining that second attribute information is matched with first attribute information;
Otherwise, it determines second attribute information and first attribute information mismatch.
5. method as claimed in claim 3, which is characterized in that the every kind of encoding and decoding processing mode pair supported according to itself
The third attribute information and second attribute information answered, determination include: to the processing method of first audio
Judge to whether there is and the matched target third attribute information of second attribute information in the third attribute information;
If it does, carrying out encoding and decoding processing to first audio according to the target third attribute information.
6. method as claimed in claim 5, which is characterized in that if be not present and described second in the third attribute information
The matched target third attribute information of attribute information, the method also includes:
Judge to whether there is and matched 4th attribute information of first attribute information in the third attribute information;
If so, first audio is decoded and is played according to the 4th attribute information.
7. method as claimed in claim 5, which is characterized in that whether there is and institute in the judgement third attribute information
Stating the matched target third attribute information of the second attribute information includes:
Judge whether the grade of the third audio format of the target third attribute information is not higher than in second attribute information
The grade of at least one the second audio format, and the corresponding channel number of the third audio format no more than it is described at least one
The corresponding channel number of second audio format;
Believe if it is, determining in the third attribute information and existing with the matched target third attribute of second attribute information
Breath;
Otherwise, it is determined that there is no believe with the matched target third attribute of second attribute information in the third attribute information
Breath.
8. the method for claim 7, which is characterized in that it is described according to the target third attribute information, to described the
One audio carries out encoding and decoding processing
Determine the corresponding target property information of the highest third audio format of target third attribute information middle grade;
According to the target property information, encoding and decoding processing is carried out to first audio.
9. a kind of audio-frequency inputting method, which is characterized in that the described method includes:
Audio-frequence player device obtain that equipment sends power amplifier in the audio-frequence player device to multimedia resource connected to it the
Two attribute informations, wherein second attribute information includes that the power amplifier is able to carry out each of audio decoder the second audio lattice
Formula and the corresponding second sound channel number of each second audio format;
The multimedia resource is received to obtain equipment using corresponding processing method treated the first audio and play.
10. method as claimed in claim 9, which is characterized in that if the power amplifier has the function of audio return channel ARC,
It includes institute that the audio-frequence player device connecting with multimedia resource acquisition equipment obtains equipment and send to the multimedia resource
The feedback information for stating the second attribute information includes:
Setting signal can be used by receiving the ARC connection that the multimedia resource acquisition equipment is sent, and Xiang Suoshu multimedia resource obtains
Equipment sends the available feedback signal of ARC function connects;
Receiving the ARC that the multimedia resource acquisition equipment is sent makes can request that, makes to can request that execution makes accordingly according to described
It can act, after having executed the enabled movement, Xiang Suoshu multimedia resource obtains equipment and sends enable signal;
It receives the multimedia resource and obtains the audio description request that equipment is sent, Xiang Suoshu multimedia resource obtains equipment and sends
Feedback information including second attribute information.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes that processor, communication interface, memory and communication are total
Line, wherein processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the processor
Perform claim requires the step of any one of 1-8 the method.
12. a kind of electronic equipment, which is characterized in that the electronic equipment includes that processor, communication interface, memory and communication are total
Line, wherein processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the processor
Perform claim requires the step of any one of 9-10 the method.
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 true CN110007893A (en) | 2019-07-12 |
CN110007893B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182315A (en) * | 2019-10-18 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Multimedia file splicing method, device, equipment and medium |
CN112243142A (en) * | 2020-10-14 | 2021-01-19 | 北京小米移动软件有限公司 | Method, device and storage medium for processing audio data |
CN112612443A (en) * | 2020-12-16 | 2021-04-06 | 青岛海信传媒网络技术有限公司 | Audio playing method, display device and server |
CN113727179A (en) * | 2021-08-31 | 2021-11-30 | Vidaa美国公司 | Display device and method for display device to be compatible with external device |
CN114501125A (en) * | 2021-12-21 | 2022-05-13 | 广州番禺巨大汽车音响设备有限公司 | Method and system for automatically matching Dolby panorama supporting sound frequency |
CN114650456A (en) * | 2020-12-17 | 2022-06-21 | 深圳Tcl新技术有限公司 | Configuration method, system, storage medium and configuration equipment of audio descriptor |
Citations (4)
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 |
-
2019
- 2019-03-13 CN CN201910189232.9A patent/CN110007893B/en active Active
Patent Citations (4)
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 |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182315A (en) * | 2019-10-18 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Multimedia file splicing method, device, equipment and medium |
CN112243142A (en) * | 2020-10-14 | 2021-01-19 | 北京小米移动软件有限公司 | Method, device and storage medium for processing audio data |
CN112612443A (en) * | 2020-12-16 | 2021-04-06 | 青岛海信传媒网络技术有限公司 | Audio playing method, display device and server |
CN112612443B (en) * | 2020-12-16 | 2023-02-17 | Vidaa(荷兰)国际控股有限公司 | Audio playing method, display device and server |
CN114650456A (en) * | 2020-12-17 | 2022-06-21 | 深圳Tcl新技术有限公司 | Configuration method, system, storage medium and configuration equipment of audio descriptor |
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 |
CN114501125A (en) * | 2021-12-21 | 2022-05-13 | 广州番禺巨大汽车音响设备有限公司 | Method and system for automatically matching Dolby panorama supporting sound frequency |
CN114501125B (en) * | 2021-12-21 | 2023-09-12 | 广州番禺巨大汽车音响设备有限公司 | Method and system for supporting dolby panoramic sound audio frequency by automatic matching |
Also Published As
Publication number | Publication date |
---|---|
CN110007893B (en) | 2022-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110007893A (en) | A kind of method and electronic equipment of audio output | |
CN203415228U (en) | Audio decoder using program information element data | |
CN108738006A (en) | Data transmission method based on bluetooth and device | |
CN110097897A (en) | A kind of Android device recording multiplexing method and system | |
CN107251009A (en) | Digital audio frequency filter for variable sample rates | |
CN111078930A (en) | Audio file data processing method and device | |
CN103327021B (en) | Method, devices and system of multi-device interaction | |
KR102179085B1 (en) | Non-contact based user authentification method | |
CN104834623A (en) | Audio playing method and audio playing device | |
CN103915086A (en) | Information processing method, device and system | |
US9900720B2 (en) | Using single bitstream to produce tailored audio device mixes | |
KR102423827B1 (en) | Transmission apparatus and method for controlling the transmission apparatus thereof | |
CN109495776A (en) | The method and intelligent terminal that a kind of audio sends, plays | |
TWI566173B (en) | Audio playback device and method | |
CN110602338B (en) | Audio processing method, device, system, storage medium and equipment | |
CN107783866A (en) | The method of testing and device of a kind of multimedia equipment | |
CN107943447A (en) | Method for playing music, system, readable storage medium storing program for executing and intelligent terminal | |
US8670852B2 (en) | Audio streaming system and method for performing distributed audio processing within the system | |
CN108132770A (en) | A kind of method and apparatus for carrying out audio frequency process | |
WO2020006699A1 (en) | Method and apparatus for voice processing | |
CN108628573A (en) | A kind of method and apparatus for supporting polymorphic type audio signal to input | |
CN109640190A (en) | Television interaction method, system and its medium | |
CN109448740A (en) | Processing method, device and the voice system of voice audio | |
CN111243594A (en) | Method and device for converting audio frequency into characters | |
KR20120002918A (en) | Method and apparatus for selecting video codec to be used between stations |
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. |