Audio playing method, device and terminal

An audio playback and audio technology, applied in the fields of audio playback methods, devices and terminals, can solve problems such as output confusion and sound interference

Active Publication Date: 2012-11-07
TCL CORPORATION
View PDF2 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above problems, the object of the present invention is to provide an audio playback method, which aims to solve the problem that when multiple audio application programs

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
  • Audio playing method, device and terminal
  • Audio playing method, device and terminal
  • Audio playing method, device and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 A flow of an audio playing method provided by the first embodiment of the present invention is shown, and only parts related to the embodiment of the present invention are shown for convenience of description.

[0022] The audio playback method provided by this embodiment includes:

[0023] Step S101, creating an index table containing the corresponding relationship between sound files, audio track data, and audio track data process numbers of each audio application program.

[0024] The audio application program is an application program with audio output function, such as "qq music", "good listening and speaking", etc., usually when creating audio track data for the sound file in the audio application program, it will be assigned a process number , each audio track data is uniquely corresponding to an audio track data process number. In this step, it is necessary to save the audio track data process number of each audio application, the mapping relationship ...

Embodiment 2

[0031] figure 2 A flow of an audio playing method provided by the second embodiment of the present invention is shown, and only parts related to the embodiment of the present invention are shown for convenience of description.

[0032] This embodiment further refines each step on the basis of embodiment one, and makes preferred implementation steps, specifically as follows:

[0033] Step S201, analyzing the sound files included in the opened audio application program, creating audio track data corresponding to the sound files in the audio manager, and assigning a process number to each audio track data.

[0034] After starting the audio application program, analyze the sound file in the audio application program, record each sound file and create the audio track data corresponding to the sound file in the audio manager during the analysis process.

[0035] For example, in the Android system, the audio manager (AudioFlinger) is used to manage the input and output audio stream...

Embodiment 3

[0052] image 3 The structure of an audio playback device provided by the third embodiment of the present invention is shown, and only the parts related to the embodiment of the present invention are shown for convenience of description.

[0053] The audio playback device provided by this embodiment includes:

[0054] An index table creation module 301, used to create an index table that includes sound files, audio track data, and audio track data process numbers of each audio application program;

[0055] The data screening module 302 is used to query the index table according to the process number corresponding to the sound file of the currently activated audio application program, and filter out the audio track data corresponding to the process number;

[0056] The mixer output module 303 is configured to send the filtered audio track data to the mixer for mixing output in the mixing thread.

[0057] In this embodiment, the index table creation module 301 , t...

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 is applicable to the field of audio processing, and provides an audio playing method and an audio playing device. The method comprises the following steps of: establishing an index table comprising a corresponding relation of audio files of each audio application program, audio track data, audio track data process numbers; inquiring the index table according to a process number corresponding to an audio file of the audio application program in the current activated state, and screening out the audio track data corresponding to the process number; and sending the screened audio track data to an audio mixer in an audio mixing thread, and outputting a mixed audio. According to the method for inquiring the index table based on the process number corresponding to the audio file of the audio application program in the current activated state, finding the corresponding audio track data and outputting the audio track data in the audio mixer in the form of the mixed audio, only the audio file of the finally opened audio application is played, and the audios of other application programs are shielded; and therefore, an aim of separating an audio is fulfilled.

Description

technical field [0001] The invention belongs to the field of audio processing, and in particular relates to an audio playing method, device and terminal. Background technique [0002] Existing audio playback terminals, including mobile phones, music players, handheld computers, even smart TVs, personal computers, etc., can normally and smoothly play the sound files in the application if only one audio application program is running, but when multiple When the same type of audio applications (such as 'Kuwo Music Box' and 'Shan Hearing Book') run together, although they can also play normally and smoothly, the sounds in the various applications will be output at the same time, and there may be mutual conflicts. Interference and bring confusion to users. Not only that, these audio playback terminals may also have some sound files running in the background, such as message notification sounds, alarm sounds, and so on. At present, there is no control scheme that can separate th...

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
IPC IPC(8): G11B27/10
Inventor 吴琼
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products