Mobile phones audio frequency playing method
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 2 Figure 3
Abstract
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...