Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of audio playing method of mobile terminal and mobile terminal

A mobile terminal, audio playback technology, applied in the direction of sound input/output, data processing input/output process, instruments, etc., can solve problems such as abnormal playback, and achieve the effect of avoiding abnormal states

Active Publication Date: 2018-09-04
VIVO MOBILE COMM CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide an audio playback method for a mobile terminal and the mobile terminal, so as to solve the problem that abnormal playback is likely to occur when the audio data obtained through software decoding and the audio data obtained through hardware decoding exist at the same time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A kind of audio playing method of mobile terminal and mobile terminal
  • A kind of audio playing method of mobile terminal and mobile terminal
  • A kind of audio playing method of mobile terminal and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0023] Embodiments of the present invention provide an audio playback method for a mobile terminal, such as figure 1 As shown, the method includes:

[0024] Step 101: Detect whether the first audio data obtained through hardware decoding and the second audio data obtained through software decoding need to be played.

[0025] Wherein, hardware decoding is DSD audio hardware decoding, and the first audio data obtained through hardware decoding is DSD data. The chip used for DSD audio hardware decoding is mainly integrated in the digital-to-analog converter (DAC) chip, and the data format required for DSD audio hardware decoding is the standard Dop (DSD over PCM) protocol.

[0026] Software decoding is the central processing unit (CPU) decoding, which converts files in various formats such as mp3, flac, ape, wav, dff, etc. into PCM data. Therefore, the second audio data is PCM data.

[0027] Step 102: When both the first audio data and the second audio data need to be played, ...

no. 2 example

[0034] Embodiments of the present invention provide an audio playback method for a mobile terminal, such as figure 2 As shown, the method includes:

[0035] Step 201: Detect whether the first audio data obtained through hardware decoding and the second audio data obtained through software decoding need to be played.

[0036] Wherein, hardware decoding is DSD audio hardware decoding, and the first audio data obtained through hardware decoding is DSD data. The chip used for DSD audio hardware decoding is mainly integrated in the digital-to-analog converter (DAC) chip, and the data format required for DSD audio hardware decoding is the standard Dop (DSD over PCM) protocol.

[0037] In addition, the Android system framework applied by the mobile terminal includes an application layer (Application), a framework layer (Framework), a hardware abstraction layer (HAL) and an audio driver layer (TinyAlsa). When audio data needs to be played, the audio data will be transmitted to the ...

no. 3 example

[0061] Embodiments of the present invention provide a mobile terminal, such as Figure 4 As shown, the mobile terminal 400 includes:

[0062] The first detection module 401 is used to detect whether there is the first audio data obtained by hardware decoding and the second audio data obtained by software decoding that need to be played;

[0063] The first playback control module 402 is configured to play the first audio data when the first detection module 401 detects that both the first audio data and the second audio data need to be played, and discard the audio data in the The second audio data needs to be played during the playing of the first audio data, and a message that the discarded second audio data has been played is returned to the application program used for playing the second audio data.

[0064] Preferably, as Figure 5 As shown, the mobile terminal 400 also includes:

[0065] The second detection module 403 is configured to detect whether there is second au...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an audio playing method of a mobile terminal and the mobile terminal. The method comprises the following steps: detecting whether first audio data obtained by hardware decoding and second audio data obtained by software decoding need to be played; when both of the first audio data and the second audio data need to be played, playing the first audio data, discarding the second audio data that needs to be played in a playing process of the first audio data, and returning a playing completion message of the second audio data to an application program used for playing the second audio data. Therefore, by adoption of the audio playing method provided by the embodiment of the invention, the problem that when the audio data obtained by hardware decoding and the audio data obtained by software decoding are present at the same time, playing abnormality is generated easily is effectively solved.

Description

technical field [0001] The present invention relates to the technical field of mobile terminals, in particular to an audio playing method for a mobile terminal and the mobile terminal. Background technique [0002] At present, there are relatively few chips supporting direct stream digital coding (Direct Stream Digital, DSD) audio hardware decoding of smartphones, and the chips used for DSD audio hardware decoding are mainly integrated in the digital-to-analog converter (DAC) chip. Among them, the data format required by DSD audio hardware decoding is the standard Dop (DSD over PCM) protocol. Therefore, in terms of data format, software decoding and hardware decoding are different. Therefore, software decoding and hardware decoding have different playback paths on the smartphone software processing. [0003] When multiple channels of audio data are played at the same time, if they are all Pulse Code Modulation (PCM) data, they can be superimposed directly, and then transmi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/16
CPCG06F3/165
Inventor 覃永露
Owner VIVO MOBILE COMM CO LTD