CN115729510A - Audio playing method, audio playing device and computer readable storage medium - Google Patents

Audio playing method, audio playing device and computer readable storage medium Download PDF

Info

Publication number
CN115729510A
CN115729510A CN202111019295.3A CN202111019295A CN115729510A CN 115729510 A CN115729510 A CN 115729510A CN 202111019295 A CN202111019295 A CN 202111019295A CN 115729510 A CN115729510 A CN 115729510A
Authority
CN
China
Prior art keywords
audio
audio data
source
format
sampling rate
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.)
Pending
Application number
CN202111019295.3A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111019295.3A priority Critical patent/CN115729510A/en
Publication of CN115729510A publication Critical patent/CN115729510A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present disclosure relates to an audio playing method, an audio playing apparatus, and a computer-readable storage medium. The audio playing method is applied to the terminal and comprises the following steps: and determining an audio decoding format supported by the audio playing equipment outputting the audio data by the playing terminal. And in response to the audio decoding format supporting the decoding of the first encoding format, controlling the terminal to output the audio data to the audio playing device in the first encoding format, wherein the first encoding format is the encoding format of the audio data played by the terminal. By the audio playing method provided by the disclosure, the terminal can play lossless audio data, the playing quality of the audio data is improved, the auditory experience of a user is enhanced, and the application and popularization of high-quality audio in the terminal are facilitated.

Description

Audio playing method, audio playing device and computer readable storage medium
Technical Field
The present disclosure relates to the field of audio playback control technologies, and in particular, to an audio playback method, an audio playback apparatus, and a computer-readable storage medium.
Background
In the related art, when a terminal plays audio data in a Direct Stream Digital (DSD) format through an audio playing device, the audio data needs to be decoded and converted from the DSD format into a Pulse Code Modulation (PCM) format, and then output to the audio playing device for playing through a Digital to Analog Converter (DAC). However, the audio playing is performed by adopting the above method, which causes poor sound quality of the played audio and influences the user experience.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an audio playing method, an audio playing apparatus, and a computer-readable storage medium.
According to a first aspect of the embodiments of the present disclosure, an audio playing method is provided, which is applied to a terminal, and the audio playing method includes: and determining an audio decoding format supported by an audio playing device for playing the audio data output by the terminal. And in response to the audio decoding format supporting decoding of a first encoding format, controlling the terminal to output the audio data to the audio playing device in the first encoding format, wherein the first encoding format is an encoding format for the terminal to play the audio data.
In an embodiment, the controlling the terminal to output the audio data to the audio playing device in the first encoding format includes: responding to that the first coding format is a direct bit stream digital coding (DSD) format, based on a Pulse Code Modulation (PCM) channel to transmit a DOP protocol of the DSD format, packaging the audio data of the DSD format into a pulse code modulation data code stream, and outputting the pulse code modulation data code stream to the audio playing device.
In another embodiment, the encapsulating the audio data in the DSD format into a pulse code modulation data code stream includes: and packaging the identification information of the audio data in a first number of bits, and packaging the audio data in a second number of bits to form a pulse code modulation data code stream. The first number of bits is higher than the second number of bits.
In a further embodiment, the method further comprises: and in response to the terminal detecting that a second audio source plays the audio data in the process of playing the audio data based on the first audio source, adjusting the audio data output to the audio playing device based on the type of the second audio source.
In another embodiment, the adjusting the audio data output to the audio playback device based on the type of the second audio source comprises: responding to the fact that the second audio source is a system sound source, keeping the original sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the second audio source to the original sampling rate of the audio data played by the first audio source, carrying out sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source, and outputting the audio data after sound mixing to the audio playing equipment in the first coding format.
In another embodiment, the adjusting the audio data output to the audio playback device based on the type of the second audio source comprises: responding to that the second audio source is a non-system sound source with the sampling rate same as that of the first audio source, outputting the audio data played by the first audio source and the audio data played by the second audio source to the audio playing device in the first coding format, and performing sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source by the audio playing device to play.
In another embodiment, the adjusting the audio data output to the audio playback device based on the type of the second audio source comprises: and in response to the second audio source being a non-system sound source with a sampling rate different from the sampling rate of the first audio source, re-determining the sampling rate of the audio data played by the first audio source, and outputting the audio data played by the first audio source based on the re-determined sampling rate and the audio data played by the second audio source to the audio playing device in a second encoding format. The second encoding format is different from the first encoding format.
In yet another embodiment, said re-determining the sampling rate of audio data played by said first audio source comprises: and if the audio data played by the second audio source needs to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, maintaining the sampling rate of the audio data played by the first audio source. And if the audio data played by the second audio source does not need to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the first audio source to be the sampling rate of the audio data played by the second audio source.
In yet another embodiment, the audio playing method further includes: and in response to the audio playing device being an external audio playing device and not supporting active noise reduction processing, outputting the audio data to the audio playing device in a second encoding format. The second encoding format is different from the first encoding format.
In another embodiment, the audio playing method further includes: and in response to the audio decoding format supporting decoding of a second encoding format, controlling the terminal to decode the audio data into the second encoding format and output the audio data to the audio playing device in the second encoding format.
In yet another embodiment, the audio data is output to the audio playing device through a USB interface.
According to a second aspect of the embodiments of the present disclosure, there is provided an audio playing apparatus applied to a terminal, the audio playing apparatus including: and the determining unit is used for determining the audio decoding format supported by the audio playing equipment for playing the audio data output by the terminal. And the transmission unit is used for responding to the audio decoding format supporting decoding of a first coding format, and controlling the terminal to output the audio data to the audio playing device in the first coding format, wherein the first coding format is a coding format for the terminal to play the audio data.
In an embodiment, the transmission unit controls the terminal to output the audio data to the audio playing device in the first encoding format by: responding to the first coding format being a direct bit stream digital coding (DSD) format, based on a Pulse Code Modulation (PCM) channel to transmit a DOP protocol of the DSD format, packaging the audio data of the DSD format into a pulse code modulation data code stream, and outputting the pulse code modulation data code stream to the audio playing device.
In another embodiment, the transmission unit encapsulates the DSD formatted audio data into a pulse code modulation data stream by: and packaging the identification information of the audio data in a first number of bits, and packaging the audio data in a second number of bits to form a pulse code modulation data code stream. The first number of bits is higher than the second number of bits.
In another embodiment, the audio playing apparatus further comprises: the adjusting unit is used for responding to the detection that a second audio source plays audio data in the process that the terminal plays the audio data based on the first audio source, and adjusting the audio data output to the audio playing device based on the type of the second audio source.
In yet another embodiment, the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner: responding to the fact that the second audio source is a system sound source, keeping the original sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the second audio source to the original sampling rate of the audio data played by the first audio source, carrying out sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source, and outputting the audio data after sound mixing to the audio playing equipment in the first coding format.
In yet another embodiment, the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner: responding to that the second audio source is a non-system sound source with the sampling rate being the same as that of the first audio source, outputting the audio data played by the first audio source and the audio data played by the second audio source to the audio playing device in the first coding format, and performing sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source by the audio playing device to play.
In yet another embodiment, the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner: in response to the second audio source being a non-system sound source having a sampling rate that is not the same as the sampling rate of the first audio source, re-determining the sampling rate of audio data played by the first audio source, and outputting, in a second encoding format, audio data played by the first audio source based on the re-determined sampling rate, and audio data played by the second audio source to the audio playback device. The second encoding format is different from the first encoding format.
In a further embodiment, the adjusting unit re-determines the sampling rate of the audio data played by the first audio source by: and if the audio data played by the second audio source needs to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, maintaining the sampling rate of the audio data played by the first audio source. And if the audio data played by the second audio source does not need to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the first audio source to be the sampling rate of the audio data played by the second audio source.
In another embodiment, the transmission unit is further configured to: and in response to the audio playing device being an external audio playing device and not supporting active noise reduction processing, outputting the audio data to the audio playing device in a second encoding format. The second encoding format is different from the first encoding format.
In another embodiment, the transmission unit is further configured to: and in response to the audio decoding format supporting decoding of a second encoding format, controlling the terminal to decode the audio data into the second encoding format and output the audio data to the audio playing device in the second encoding format.
In yet another embodiment, the audio data is output to the audio playing device through a USB interface.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: a memory to store instructions; and the processor is used for calling the instruction stored in the memory to execute any one of the audio playing methods.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium having stored therein instructions, which when executed by a processor, perform the audio playing method of any one of the above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the audio playing method provided by the disclosure, before the audio playing device is used for playing the audio data output by the terminal, the audio decoding format supported by the audio playing device can be predetermined, and then under the condition that the audio playing device is determined to be capable of supporting decoding of the coding format of the audio data output by the terminal, the audio data is output to the audio playing device in the coding format of the audio data played by the terminal, so that the audio playing device plays lossless audio data, the playing quality of the audio data is improved, and the audio playing method is beneficial to enhancing the auditory experience of a user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating an audio playback method according to an exemplary embodiment.
Fig. 2 is a diagram illustrating a data structure according to an example embodiment.
Fig. 3 is a flow chart illustrating another audio playback method according to an example embodiment.
Fig. 4 is a flow chart illustrating yet another audio playback method according to an exemplary embodiment.
Fig. 5 is a flow chart illustrating yet another audio playback method according to an exemplary embodiment.
Fig. 6 is a signal flow diagram shown in accordance with an example embodiment.
Fig. 7 is a block diagram illustrating an audio playback device according to an example embodiment.
Fig. 8 is a block diagram illustrating an audio playback device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
In the related art, when the terminal plays the audio data in the DSD format through the audio playing device, the audio data in the DSD format needs to be decoded and converted into the audio data in the PCM format, and then the DAC performs digital-to-analog conversion, and outputs the audio data converted into the PCM format to the audio playing device, and the audio playing device plays the audio data. However, when the audio data is decoded and converted in the PCM format and then output, the quality of the audio data is easily damaged, thereby affecting the hearing experience of the user.
In view of this, the present disclosure provides an audio playing method. When audio data output by a terminal is played by adopting audio playing equipment, an audio decoding format supported by the audio playing equipment is determined, and then when the decoding format supported by the audio playing equipment is determined to be capable of directly decoding the coding format of the audio data played by the terminal, the audio data is output to the audio playing equipment in the coding format of the audio data played by the terminal, so that the audio playing equipment plays lossless audio data, the playing quality of the audio data is improved, and the audio playing equipment is beneficial to enhancing the auditory experience of a user.
In an embodiment, the audio playing method provided by the present disclosure can be applied to any terminal. In one example, the category of terminals may include mobile terminals, such as: the mobile phone comprises a mobile phone body, a tablet, an intelligent television, an intelligent sound box with a screen, an intelligent watch with a screen, an ipod and the like. In another example, the structure of the terminal may include: a dual-screen terminal, a folding screen terminal, a full-screen terminal, etc. The audio playback may be any device capable of audio playback. For example: headphones, speakers, sound cards, etc., without limitation in this disclosure.
Fig. 1 is a flow chart illustrating an audio playback method according to an exemplary embodiment. As shown in fig. 1, the audio playing method is used in a terminal, and includes the following steps S11 to S12.
In step S11, an audio decoding format supported by an audio playback device that outputs audio data by the playback terminal is determined.
In the embodiment of the present disclosure, the audio data may be audio data of an external playback or audio data of an internal playback. The played-out audio data may include: requiring outgoing sounds, music, recorded files, etc. The audio data for internal discharge may include: in the recording process, the audio data and the like are played or output to a network through a recording channel in the terminal.
Before the control terminal outputs the audio data from the terminal to the audio playing device, whether the audio playing device can directly decode the audio data played by the terminal can be determined by determining the audio coding format supported by the audio playing device.
In step S12, in response to the audio decoding format supporting decoding of the first encoding format, the control terminal outputs the audio data in the first encoding format to the audio playback device.
In the embodiment of the present disclosure, the first encoding format is an encoding format for the terminal to play the Audio data, and may include a DSD format, a WAV format (a standard digital Audio file), an APE lossless compression music format, a microsoft Audio format (WMA) format, and other lossless Audio formats, which are not limited in the present disclosure.
If the audio decoding format supported by the audio playing device is determined to be the first encoding format of the audio data played by the terminal, the representation terminal can directly transmit the audio data in the first encoding format to the audio playing device, the audio playing device can automatically transcode and play the audio data without decoding and converting the audio data before transmission, and therefore the integrity of the audio data is favorably ensured, and the playing quality of the audio data can be ensured when the audio data is played.
Therefore, when the audio decoding format supported by the audio playing device is determined to be the first encoding format, the control terminal directly outputs the audio data to the audio playing device in the first encoding format, so that the audio data can be transmitted without loss, and the playing quality of the audio data is guaranteed.
Through the embodiment, before audio data transmission is carried out, whether the audio decoding format supported by the audio playing equipment is the same as the encoding format of the audio data played by the terminal is determined, so that the possibility of lossless transmission of the audio data is improved. When the audio decoding format of the audio playing device is determined to be capable of supporting the encoding format (first encoding format) of the audio data played by the terminal, the terminal is directly controlled to output the audio playing data to the audio playing device in the first encoding format, the process that the audio data is decoded and converted at the terminal is eliminated, and the quality of the audio data is prevented from being damaged before the audio data is input to the audio playing device, so that the terminal can play lossless audio data possibly, the playing quality of the audio data is improved, and the auditory experience of a user is enhanced.
In one embodiment, when the terminal performs audio data transmission, the audio data needs to be converted into a PCM format by default for transmission. Therefore, in the embodiment of the present disclosure, under the condition that the audio playing device can support decoding of audio data in the DSD format, and when the first coding format of the audio data played by the terminal is in the DSD format, in order to ensure lossless output of the audio data, the audio data in the DSD format may be encapsulated into a PCM data code stream based on a DOP protocol for transmitting the DSD format through a PCM channel, so that the audio data in the DSD format may occupy the PCM channel for transmission during transmission, and decoding conversion is not required, thereby avoiding occurrence of data loss and the like, and further outputting the PCM data code stream to the audio playing device to help ensure integrity of the audio data.
In one example, in the process of packaging the audio data in the DSD format into the PCM data code stream, according to the number of bits of the data structure of the PCM data code stream, the identification information of the audio data is packaged in the first number of bits, and the audio data is packaged in the second number of bits, so as to obtain the PCM data code stream. Wherein the first number of bits is higher than the second number of bits.
In an implementation scenario, the audio data in DSD format may be encapsulated into a 24-bit PCM data stream as shown in fig. 2. FIG. 2 is a diagram illustrating a data structure according to an example embodiment. Wherein, MSB represents the most significant bit (most significant bit) in the 24-bit PCM data code stream; the LSB represents the least significant bit (least significant bit) in the 24-bit PCM data stream. Taking fig. 2 as an example, the first 8 bits (i.e., the first number of bits) represent identification information of the DSD, and the last 16 bits (i.e., the second number of bits) represent audio data in the DSD format.
Fig. 3 is a flow chart illustrating another audio playback method according to an example embodiment. As shown in fig. 3, the audio playing method includes the following steps.
In step S21, an audio decoding format supported by the audio playback device that outputs audio data by the playback terminal is determined.
In step S22, in response to the audio decoding format supporting decoding of the first encoding format, the control terminal outputs the audio data in the first encoding format to the audio playback apparatus.
In step S23, in response to the terminal detecting that the second audio source plays the audio data during playing the audio data based on the first audio source, the audio data output to the audio playing device is adjusted based on the type of the second audio source.
In embodiments of the present disclosure, the first audio source and the second audio source may be understood as sources of audio data. For example: audio-like applications, system prompts, etc. The type of the second audio source may depend on the actual operation of the user. In the process that the terminal plays the first audio source through the audio playing device, whether the audio data output to the audio playing device needs to be adjusted or not can be determined by detecting whether the second audio source intervenes or not so as to ensure the quality of audio data playing and meet other use requirements of a user. Wherein the adjusting may comprise: and adjusting the coding format of the audio data played by the first audio source, the playing process of the audio data played by the first audio source or the output effect of the audio data played by the first audio source.
In one embodiment, the sampling rate may be different for different audio sources when audio data is being sampled. Therefore, when adjusting the audio data output to the audio playback device, the adjustment may be made based on the type of the second audio source. In the terminal, the sampling rate corresponding to the audio data of the system sound source is relatively high and can be adjusted. Therefore, in the detection process, if it is detected that the second audio source is the system sound source, the original sampling rate of the audio data played by the first audio source may be maintained, and the sampling rate of the audio data played by the second audio source may be adjusted to the same sampling rate as the original sampling rate of the audio data played by the first audio source. And after the audio data played by the first audio source and the audio data played by the second audio source are subjected to audio mixing processing, the audio data after audio mixing are output to audio playing equipment. When the terminal performs sound mixing, the terminal can perform sound mixing through an Audio Digital Single Processor (ADSP) inside the terminal, and further perform Digital-to-analog conversion on the Audio data after sound mixing by using the DAC and output the Audio data to the Audio playing device. Or, the audio mixing process can be performed through a DAC chip external to the terminal, and the audio data after audio mixing is output to the audio playing device after digital-to-analog conversion. The DAC chip has the function of decoding the DSD format, so that the mobile phone player and the ADSP can adjust and switch modes of concurrent sound scenes during playing.
In one implementation scenario, it is assumed that the encoding format of the audio data of the first sound source is the DSD format and the sampling rate of the audio data is 44.1KHz. The second sound source detected is system sound (e.g. key press sound) and the sampling rate is 48KHz. If the intervention of system sound is detected in the process of playing the audio data of the first sound source, the sampling rate of the audio data of the first sound source can be maintained, and the sampling rate of the audio data of the second sound source is adjusted to make the sampling rate of the audio data of the second sound consistent with the sampling rate of the audio data of the first sound source, so that the audio is mixed through ADSP inside the terminal, and the audio data after mixing is subjected to digital-to-analog conversion and then output to audio playing equipment. Or performing sound mixing processing through a DAC chip arranged outside the terminal, performing digital-to-analog conversion on the audio data after sound mixing, and outputting the audio data to audio playing equipment.
In another embodiment, in the detection process, if the second audio source is detected to be a non-systematic sound source with the same sampling rate as the first audio source, the audio data played by the second audio source may be output to the audio playing device in the first encoding format while the audio data played by the first audio source is output to the audio playing device in the first encoding format. And the audio playing device performs audio mixing processing on the audio data played by the first audio source and the audio data played by the second audio source and plays the audio data. In one example, the audio mixing process may be performed by a High fidelity (High fi) DAC of the audio playing device, so as to highly restore the sound or maximize the playback close to the original sound.
In another embodiment, in the detection process, if it is detected that the second audio source is a non-system sound source with a sampling rate different from that of the first audio source, when the second audio source is represented to play audio data, the sampling rate at which the terminal outputs the audio data played by the first audio source to the audio playing device in the first encoding format is affected. Therefore, to eliminate the effect, the sampling rate of the audio data played by the first audio source needs to be re-determined. That is, the encoding format of the audio data played by the first audio source is switched from a first encoding format to a second encoding format, the second encoding format being different from the first encoding format. For example: if the first encoding format is a DSD format, the second encoding format is a PCM format. And controlling the terminal to output the audio data played by the first audio source and the audio data played by the second audio source to the audio playing device in the second coding format.
In an implementation scenario, when a voice call (a second audio source) is involved in the process of outputting audio data played by a first audio source to an audio playing device at a frequency with a sampling rate of 44.1KHz, since an operating clock of a terminal audio subsystem in a call scenario is a clock system with a sampling rate of 48KHz, the sampling rate of the audio data played by the first audio source is determined again. And converting the coding format of the audio data played by the first audio source into a PCM format through ADSP, resampling to 48KHz, and then controlling the terminal to output the audio data played by the first audio source and the audio data played by the second audio source to the audio playing device in a second coding format.
In yet another embodiment, whether to re-determine the sampling rate of the audio data played by the first audio source may be determined in accordance with a need to perform an arithmetic process on the audio data played by the second audio source based on the sampling rate of the audio data played by the first audio source. The arithmetic processing may include processing that requires a correlation operation on the audio data quality, such as echo cancellation processing or noise reduction processing, which is not limited in this disclosure.
And if the audio data played by the second audio source needs to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, maintaining the sampling rate of the audio data played by the first audio source. In an example, the encoding format of the audio data played by the first audio source may change while the sampling rate of the audio data played by the first audio source remains unchanged.
In an implementation scenario, when the second audio source is voice wakeup, since the voice wakeup needs to perform echo cancellation operation processing, and the sampling rate of playing audio data based on the first audio source is required to be used as a reference signal in ADSP, the encoding format of the audio data played by the first audio source needs to be converted from the DSD format to the PCM under the condition that the sampling rate of the audio data played by the first audio source is unchanged, thereby ensuring stable output of the audio data.
And if the audio data played by the second audio source does not need to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the first audio source to the sampling rate of the audio data played by the second audio source.
In an implementation scenario, if the second audio source is a recording, and some operations such as echo cancellation and noise reduction are required in the recording process, since the sampling rate of the audio data played by the first audio source is required to be used as a reference signal in the ADSP, the encoding format of the audio data played by the first audio source needs to be converted from the DSD format to the PCM under the condition that the sampling rate of the audio data played by the first audio source is not changed, thereby ensuring stable output of the audio data.
In another implementation scenario, if no operation such as echo cancellation and noise reduction is required during recording, the sampling rate of the audio data played by the first audio source is maintained.
Fig. 4 is a flow chart illustrating yet another audio playback method according to an exemplary embodiment. As shown in fig. 4, the audio playing method includes the following steps.
In step S31, an audio decoding format supported by the audio playback device that outputs audio data by the playback terminal is determined.
In step S32, in response to the audio decoding format supporting decoding of the first encoding format, the control terminal outputs the audio data in the first encoding format to the audio playback device.
In step S33, in response to that the audio playing device is an external audio playing device and does not support active noise reduction processing, the audio data is output to the audio playing device in the second encoding format.
In this disclosure, if the audio playing device is an external audio playing device and the audio playing device does not support Active Noise Cancellation (ANC) processing, it is characterized that the external audio playing device does not have an ANC processing function when performing Noise reduction processing, and Noise reduction needs to be performed in the terminal. Therefore, to ensure the stability of the output of the audio data, the audio data is output to the audio playing device in the second encoding format.
In an implementation scenario, if the audio playing device is an external audio playing device and the audio playing device ANC processes the audio data, the audio data may be output in a first encoding format when the audio data is output to the audio playing device.
Fig. 5 is a flowchart illustrating yet another audio playback method according to an example embodiment. As shown in fig. 5, the audio playing method includes the following steps.
In step S41, an audio decoding format supported by the audio playback device from which the playback terminal outputs the audio data is determined.
In step S421, in response to the audio decoding format supporting decoding of the first encoding format, the control terminal outputs the audio data to the audio playing device in the first encoding format.
In step S422, in response to the audio decoding format supporting decoding of the second encoding format, the control terminal decodes the audio data into the second encoding format and outputs the audio data in the second encoding format to the audio playback apparatus.
In the embodiment of the present disclosure, if the audio decoding format supported by the audio playing device is the second encoding format, it is characterized that the audio playing device cannot decode the encoding format of the audio data played by the terminal, and needs to transform and convert the encoded format, so as to ensure that the audio data can be normally played through the audio playing device. Therefore, when it is determined that the audio playing device supports decoding of the second encoding format, the control terminal decodes the audio data into the second encoding format and outputs the audio data to the audio playing device in the second encoding format.
Through the embodiment, before the terminal outputs the audio data to the audio playing device, the output coding format of the audio data can be determined according to the audio decoding format supported by the audio playing device, so that the possibility of outputting lossless audio data is increased, the playing quality of the audio data is improved, and the hearing experience of a user is enhanced.
In an implementation scenario, when the audio is controlled to be played, the audio playing method is based on the connection established between the USB interface of the terminal and the USB interface of the audio playing device, so that the terminal can transmit the audio data to the audio playing device through the USB interface, and further, the user can easily and conveniently establish the connection between the terminal and the audio playing device, and the user can conveniently and autonomously select a proper audio playing device while the practicability of the USB interface of the terminal is enhanced, thereby facilitating the improvement of the auditory experience of the user in playing the DSD format audio through the audio playing device via the terminal.
For example: based on USB communication connection between the terminal and the audio playing device, the terminal can determine the audio decoding format supported by the audio playing device, and further can output the audio data by adopting the optimal coding format when outputting the audio data. In one example, if the audio playback device supports the DSD format, the optimal encoding format is the DSD format. If the audio playing device supports the PCM format, the optimal coding format is the PCM format.
In another implementation scenario, a signal flow chart for controlling the terminal to output the audio data to the audio playing device may be as shown in fig. 6. Fig. 6 is a signal flow diagram shown in accordance with an example embodiment. Take the example of a mobile phone playing audio data in a DSD format. After the terminal determines that an external USB earphone (headset) or a USB dongle (hardware on a USB port) supports DSD format decoding based on USB communication connection with the audio playing equipment, when the DSD audio data is played, the audio data in the DSD format is packaged into a PCM data code stream based on a DOP protocol, and is packaged through ADSP, the data code stream is output to a USB interface of the audio playing equipment through the USB interface of the terminal, and the data code stream is played after being decoded by a HiFi DAC in the USB earphone (headset) or the USB dongle.
Based on the same conception, the embodiment of the disclosure also provides an audio playing device applied to the terminal.
It is understood that, in order to implement the above functions, the audio playing apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module corresponding to the execution of each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 7 is a block diagram illustrating an audio playback device according to an example embodiment. Referring to fig. 7, the audio playback apparatus 100 includes a determination unit 101 and a transmission unit 102.
The determining unit 101 is configured to determine an audio decoding format supported by an audio playing device that outputs audio data by a playing terminal.
And the transmission unit 102 is configured to control the terminal to output the audio data to the audio playing device in the first encoding format in response to that the audio decoding format supports decoding of the first encoding format, where the first encoding format is an encoding format in which the terminal plays the audio data.
In an embodiment, the transmission unit 102 controls the terminal to output the audio data to the audio playing device in the first encoding format by the following method: responding to the first coding format being a direct bit stream digital coding (DSD) format, based on a Pulse Code Modulation (PCM) channel to transmit a DOP protocol of the DSD format, packaging audio data of the DSD format into a pulse code modulation data code stream, and outputting the pulse code modulation data code stream to an audio playing device.
In another embodiment, the transmission unit 102 encapsulates the audio data in the DSD format into a stream of pulse code modulation data in the following manner: and packaging the identification information of the audio data in the first number of bits, and packaging the audio data in the second number of bits to form a pulse code modulation data code stream. The first number of bits is higher than the second number of bits.
In another embodiment, the audio playback apparatus further includes: and the adjusting unit is used for responding to the detection that a second audio source plays the audio data in the process that the terminal plays the audio data based on the first audio source, and adjusting the audio data output to the audio playing equipment based on the type of the second audio source.
In a further embodiment, the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner: responding to the fact that the second audio source is a system sound source, keeping the original sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the second audio source to the original sampling rate of the audio data played by the first audio source, carrying out sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source, and outputting the audio data after sound mixing to audio playing equipment in a first coding format.
In a further embodiment, the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner: responding to a second audio source which is a non-system sound source with the sampling rate same as that of the first audio source, outputting audio data played by the first audio source and audio data played by the second audio source to an audio playing device in a first coding format, and performing sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source by the audio playing device to play.
In a further embodiment, the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner: and in response to the second audio source being a non-system sound source with a sampling rate different from the sampling rate of the first audio source, re-determining the sampling rate of the audio data played by the first audio source, and outputting the audio data played by the first audio source based on the re-determined sampling rate and the audio data played by the second audio source to the audio playing device in a second encoding format. The second encoding format is different from the first encoding format.
In a further embodiment, the adjustment unit is adapted to re-determine the sampling rate of the audio data played by the first audio source in the following way: and if the audio data played by the second audio source needs to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, maintaining the sampling rate of the audio data played by the first audio source. And if the audio data played by the second audio source does not need to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the first audio source to be the sampling rate of the audio data played by the second audio source.
In another embodiment, the transmission unit 102 is further configured to: and responding to the audio playing device being an external audio playing device and not supporting active noise reduction processing, and outputting the audio data to the audio playing device in a second coding format. The second encoding format is different from the first encoding format.
In another embodiment, the transmission unit 102 is further configured to: and responding to the audio decoding format supporting the decoding of the second encoding format, the control terminal decodes the audio data into the second encoding format and outputs the audio data to the audio playing device in the second encoding format.
In yet another embodiment, the audio data is output to the audio playback device through a USB interface.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 8 is a block diagram illustrating an audio playback device according to an example embodiment. For example, the audio playback device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the audio playback device 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls the overall operation of the audio playback device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the audio playback device 200. Examples of such data include instructions for any application or method operating on the audio playback device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 206 provides power to the various components of the audio playback device 200. Power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for audio playback device 200.
The multimedia component 208 includes a screen that provides an output interface between the audio playback device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front facing camera and/or a rear facing camera. When the audio playback device 200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive an external audio signal when the audio playback device 200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 214 includes one or more sensors for providing various aspects of status assessment for the audio playback device 200. For example, the sensor component 214 may detect an open/closed state of the audio playback device 200, the relative positioning of components, such as a display and keypad of the audio playback device 200, the sensor component 214 may also detect a change in the position of the audio playback device 200 or a component of the audio playback device 200, the presence or absence of user contact with the audio playback device 200, the orientation or acceleration/deceleration of the audio playback device 200, and a change in the temperature of the audio playback device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the audio playback device 200 and other devices. The audio playback device 200 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the audio playback apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 204 comprising instructions, executable by processor 220 of audio playback device 200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is further understood that the use of "a plurality" in this disclosure means two or more, as other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," etc. are used interchangeably throughout. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the scope of the appended claims.

Claims (24)

1. An audio playing method is applied to a terminal, and the audio playing method comprises the following steps:
determining an audio decoding format supported by an audio playing device for playing the audio data output by the terminal;
and in response to the audio decoding format supporting decoding of a first encoding format, controlling the terminal to output the audio data to the audio playing device in the first encoding format, wherein the first encoding format is an encoding format for the terminal to play the audio data.
2. The audio playing method according to claim 1, wherein the controlling the terminal to output the audio data to the audio playing device in the first encoding format comprises:
responding to that the first coding format is a direct bit stream digital coding (DSD) format, based on a Pulse Code Modulation (PCM) channel to transmit a DOP protocol of the DSD format, packaging the audio data of the DSD format into a pulse code modulation data code stream, and outputting the pulse code modulation data code stream to the audio playing device.
3. The audio playing method according to claim 2, wherein said encapsulating the audio data in DSD format into a stream of pulse code modulation data comprises:
the identification information of the audio data is packaged in a first number of bits, and the audio data is packaged in a second number of bits to form a pulse code modulation data code stream;
the first number of bits is higher than the second number of bits.
4. The audio playback method according to any one of claims 1 to 3, wherein the method further comprises:
and in response to the terminal detecting that a second audio source plays the audio data in the process of playing the audio data based on the first audio source, adjusting the audio data output to the audio playing device based on the type of the second audio source.
5. The audio playback method of claim 4, wherein the adjusting the audio data output to the audio playback device based on the type of the second audio source comprises:
responding to the second audio source being a system sound source, keeping the original sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the second audio source to the original sampling rate of the audio data played by the first audio source, performing sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source, and outputting the audio data after sound mixing to the audio playing equipment in the first coding format.
6. The audio playback method of claim 4, wherein the adjusting the audio data output to the audio playback device based on the type of the second audio source comprises:
responding to that the second audio source is a non-system sound source with the sampling rate being the same as that of the first audio source, outputting the audio data played by the first audio source and the audio data played by the second audio source to the audio playing device in the first coding format, and performing sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source by the audio playing device to play.
7. The audio playback method of claim 4, wherein the adjusting the audio data output to the audio playback device based on the type of the second audio source comprises:
in response to the second audio source being a non-system sound source having a sampling rate that is not the same as the sampling rate of the first audio source, re-determining the sampling rate of audio data played by the first audio source and outputting, in a second encoding format, audio data played by the first audio source based on the re-determined sampling rate and audio data played by the second audio source to the audio playing device;
the second encoding format is different from the first encoding format.
8. The audio playback method of claim 7, wherein said re-determining the sampling rate of audio data played back by the first audio source comprises:
if the audio data played by the second audio source needs to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, the sampling rate of the audio data played by the first audio source is kept;
and if the audio data played by the second audio source does not need to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the first audio source to be the sampling rate of the audio data played by the second audio source.
9. The audio playback method according to any one of claims 1 to 3, further comprising:
responding to the fact that the audio playing device is an external audio playing device and does not support active noise reduction processing, and outputting the audio data to the audio playing device in a second coding format;
the second encoding format is different from the first encoding format.
10. The audio playing method according to claim 1, further comprising:
and in response to the audio decoding format supporting decoding of a second encoding format, controlling the terminal to decode the audio data into the second encoding format and output the audio data to the audio playing device in the second encoding format.
11. The audio playback method according to claim 1 or 10, wherein the audio data is output to the audio playback device via a USB interface.
12. An audio playing device, applied to a terminal, the audio playing device comprising:
a determining unit, configured to determine an audio decoding format supported by an audio playing device that plays the audio data output by the terminal;
and the transmission unit is used for responding to the audio decoding format supporting decoding of a first coding format, and controlling the terminal to output the audio data to the audio playing device in the first coding format, wherein the first coding format is a coding format for the terminal to play the audio data.
13. The audio playback apparatus of claim 12, wherein the transmission unit controls the terminal to output the audio data to the audio playback device in the first encoding format by:
responding to the first coding format being a direct bit stream digital coding (DSD) format, based on a Pulse Code Modulation (PCM) channel to transmit a DOP protocol of the DSD format, packaging the audio data of the DSD format into a pulse code modulation data code stream, and outputting the pulse code modulation data code stream to the audio playing device.
14. The audio playback apparatus of claim 13, wherein the transmission unit encapsulates the DSD formatted audio data into a stream of pulse code modulation data by:
the identification information of the audio data is packaged in a first number of bits, and the audio data is packaged in a second number of bits to form a pulse code modulation data code stream;
the first number of bits is higher than the second number of bits.
15. The audio playback device according to any one of claims 12 to 14, further comprising:
and the adjusting unit is used for responding to the detection that a second audio source plays audio data in the process that the terminal plays the audio data based on the first audio source, and adjusting the audio data output to the audio playing equipment based on the type of the second audio source.
16. The audio playback apparatus of claim 15, wherein the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner:
responding to the fact that the second audio source is a system sound source, keeping the original sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the second audio source to the original sampling rate of the audio data played by the first audio source, carrying out sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source, and outputting the audio data after sound mixing to the audio playing equipment in the first coding format.
17. The audio playback apparatus of claim 15, wherein the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner:
responding to that the second audio source is a non-system sound source with the sampling rate being the same as that of the first audio source, outputting the audio data played by the first audio source and the audio data played by the second audio source to the audio playing device in the first coding format, and performing sound mixing processing on the audio data played by the first audio source and the audio data played by the second audio source by the audio playing device to play.
18. The audio playback apparatus of claim 15, wherein the adjusting unit adjusts the audio data output to the audio playback device based on the type of the second audio source in the following manner:
in response to the second audio source being a non-system sound source with a sampling rate different from the first audio source sampling rate, re-determining the sampling rate of the audio data played by the first audio source, and outputting the audio data played by the first audio source based on the re-determined sampling rate and the audio data played by the second audio source to the audio playing device in a second encoding format;
the second encoding format is different from the first encoding format.
19. The audio playback device of claim 18, wherein the adjustment unit re-determines the sampling rate of the audio data played back by the first audio source by:
if the audio data played by the second audio source needs to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, the sampling rate of the audio data played by the first audio source is kept;
and if the audio data played by the second audio source does not need to be subjected to the operation processing based on the sampling rate of the audio data played by the first audio source, adjusting the sampling rate of the audio data played by the first audio source to be the sampling rate of the audio data played by the second audio source.
20. The audio playback device according to any one of claims 12 to 14, wherein the transmission unit is further configured to:
responding to that the audio playing equipment is external audio playing equipment and does not support active noise reduction processing, and outputting the audio data to the audio playing equipment in a second coding format;
the second encoding format is different from the first encoding format.
21. The audio playback device of claim 12, wherein the transmission unit is further configured to:
and in response to the audio decoding format supporting decoding of a second encoding format, controlling the terminal to decode the audio data into the second encoding format and output the audio data to the audio playing device in the second encoding format.
22. The audio playback apparatus of claim 12 or 21, wherein the audio data is output to the audio playback device through a USB interface.
23. An electronic device, characterized in that the electronic device comprises:
a memory to store instructions; and
a processor for invoking the memory-stored instructions to perform the audio playback method of any of claims 1-11.
24. A storage medium having stored therein instructions which, when executed by a processor, perform an audio playback method as claimed in any one of claims 1 to 11.
CN202111019295.3A 2021-09-01 2021-09-01 Audio playing method, audio playing device and computer readable storage medium Pending CN115729510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111019295.3A CN115729510A (en) 2021-09-01 2021-09-01 Audio playing method, audio playing device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111019295.3A CN115729510A (en) 2021-09-01 2021-09-01 Audio playing method, audio playing device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115729510A true CN115729510A (en) 2023-03-03

Family

ID=85291964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111019295.3A Pending CN115729510A (en) 2021-09-01 2021-09-01 Audio playing method, audio playing device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115729510A (en)

Similar Documents

Publication Publication Date Title
JP5910846B2 (en) Control device, control method, and program
CN106454644B (en) Audio playing method and device
JP2012075039A (en) Control apparatus and control method
KR100684918B1 (en) Mobile communication terminal for playing music file and a method thereof
CN107329727B (en) Volume control method and device and computer storage readable storage medium
KR20120078813A (en) Apparatus and method for providing an etiquette call mode of a portable terminal
KR101731840B1 (en) Method and apparatus for a speaker phone call of a portable terminal
US8781138B2 (en) Method for outputting background sound and mobile communication terminal using the same
CN106293607B (en) Method and system for automatically switching audio output modes
CN115729510A (en) Audio playing method, audio playing device and computer readable storage medium
US11388281B2 (en) Adaptive method and apparatus for intelligent terminal, and terminal
US20070195962A1 (en) Apparatus and method for outputting audio data using wireless terminal
WO2018058331A1 (en) Method and apparatus for controlling volume
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
CN115811720A (en) Audio data processing method and device, storage medium and electronic equipment
JP6029626B2 (en) Control device and control method
CN111694539A (en) Method, apparatus and medium for switching between earpiece and speaker
KR100752294B1 (en) Method and apparatus for providing background sound in mobile phone
KR20050067865A (en) Mobile phone capable of playing multimedia contents with a telephone call
WO2023160204A1 (en) Audio processing method, and electronic device
CN111866226B (en) Terminal and sound production method
CN108494423B (en) Message decoding method and device
CN116074795A (en) Data transmission method and device, storage medium and electronic equipment
US20200098363A1 (en) Electronic device
KR20040058660A (en) Mobile phone for outputting stereo sound

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