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.
CN101192203AInactive Publication Date: 2008-06-04ZTE CORP

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
ZTE CORP
Publication Date
2008-06-04
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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