Mobile phones audio frequency playing method

An audio playback and audio-driven technology, applied in the direction of telephone structure, multi-programming device, instruments, etc., can solve the problems of large data volume, inconvenient porting, and troublesome porting, so as to achieve the effect of simple program porting and avoiding inter-process communication.

Inactive Publication Date: 2008-06-04
ZTE CORP
View PDF0 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is applied to the embedded operating systems of terminals such as mobile phones and PDAs, and there are two obvious disadvantages: (1) the service program is complicated to implement, and multiple situations must be considered: simple ring tones can directly use the file name as the message parameter , the service program calls the codec to decompress, and directly operates the sound card to play; for MP3 music, since the MP3 player has already called the codec to decompress, the service program only needs to write the unpacked data directly to the sound card for playback, but it needs to cons

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
  • Mobile phones audio frequency playing method
  • Mobile phones audio frequency playing method
  • Mobile phones audio frequency playing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] First, the design idea of ​​the present invention is described: all sounds of the entire system are managed uniformly at the audio driver layer, and different applications or processes directly call the audio driver to realize the synchronization and coordination of multiple sounds without interfering with each other.

[0030] Secondly, illustrate the key of the present invention: increase the management module inside the audio driver program, mainly to increase a playlist, store and record the sound being played, the structure is as Figure 4 As shown, several sound records are included, and each record is provided with a priority item, a simultaneous playback attribute item, and a sound data buffer unit item, and the sound data buffer unit item corresponds to the DMA data buffer created by the audio driver program, and the playlist is also Other items can be included, such as allow pause items, and so on.

[0031] The audio driver manages sound playback, such as Fig...

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 relates to a mobile phone audio play method which adopts an audio driver of multi audio play. The method includes the following steps: an application program or process is directly called; the application program or process controls the write in of corresponding sound data and the priority of the sound data inside a play list set up by the audio driver; the audio driver transmits the sound data to a play buffer area according to the priority; finally, the sound data is transmitted to audio equipment through the play buffer area to be played. The method, which adds a play list recording a plurality of parallel sound data inside the audio driver, selects the sound data of higher priority to play; moreover, the method can also select the sound data needing to be played at the same time to be played after being mixed with the sound data of higher priority; therefore, the method avoids the complicated interprocess communication, synchronization and mass data transmission caused by single sound service program management; meanwhile, adopting an extended universal standard interface function ensures relatively simple program portability and fully meets the requirements of sound play management of a mobile phone.

Description

technical field [0001] The invention relates to sound management of an embedded operating system, in particular to an audio playing method in a wireless mobile terminal. Background technique [0002] At present, the most typical embedded operating systems on mobile phones and PDA terminals are Linux and WinCE. Taking Linux as an example, the general application program plays sound, and usually calls the sound interface functions such as open(), ioctl(), write(), read(), close() in the Linux operating system, and the audio driver operates the audio device to complete the specific play. [0003] When the audio driver is called by the application, it can create a DMA data buffer in memory, such as figure 1 , including several buffer units. Play sound methods for existing audio drivers such as figure 2 , including: 210) start; 220) judge whether there is sound data in the DMA data buffer; yes, proceed to step 230); no, enter the next step; 221) wait for data, return to step...

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): G06F13/10G06F13/12G06F9/46H04M1/21H04Q7/32
Inventor 刘亮
Owner ZTE CORP
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