Method and device for transmitting audio data

A technology for audio data and audio equipment, applied in the field of IIS-based audio data transmission methods and equipment, can solve problems such as complex caching, and achieve the effect of saving SRAM

Inactive Publication Date: 2009-06-03
VIMICRO CORP
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Although the current method of applying for two buffer areas to transmit a

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
  • Method and device for transmitting audio data
  • Method and device for transmitting audio data
  • Method and device for transmitting audio data

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0037] refer to figure 2 with image 3 , figure 2 Including steps: apply for a cache in SDRAM;

[0038] Divide the cache into at least two spaces, and set the data structure of the cache;

[0039] The cache data structure includes: cache start address, length, segmentation scheme, etc. The segmentation scheme can be divided equally or unequally according to the cache length. In this embodiment, it is assumed that a cache of 1536k is applied for, and it is equally divided into three spaces of 512k, namely spaces 1-3.

[0040] After setting the cache data structure, the CPU fills the cache with some data in the hard disk and other storage devices according to the cache start address, and judges whether all the data has been written into the cache. If so, the DMA writes the data written into the cache into In the audio device, if not, after the DMA starts to write data from the buffer to the audio device, it is judged whether the audio data in the current space of the buffe...

no. 2 example

[0052] The difference between the playback process of this embodiment and the first embodiment is that, during playback in this embodiment, first, only audio data is written into space 1, and then the audio data in space 1 is written to the audio device, and the audio data is written to space 1. 2Transfer stored audio data. Then write the audio data in space 2 to the audio device, and at the same time that the audio data in space 2 is written to the audio device, continue to transmit the audio data to space 3, and so on, until all the stored audio data is written to the audio device . Specifically include step reference Figure 5 shown, including:

[0053] Apply for a cache in SDRAM;

[0054] Divide the cache into at least two spaces, and set the data structure of the cache;

[0055] The cache data structure includes: cache start address, length, segmentation scheme, etc. The segmentation scheme can be divided equally or unequally according to the cache length.

[0056] 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 provides a method and a device for transmitting audio data, wherein, the method enables an audio device to conduct the audio transmission by utilizing a pre-applied cache, and the cache is divided into at least two spaces. The method comprises a data prewriting step, a data writing step and a data reading step, wherein, during data pre-writing step, the audio data coming from a source device is prewritten into the cache; during the data writing step, the residual audio data is written in to a first free space of the two spaces; during the data reading step, the written data is read from a second space according to the written sequence of the audio data, and sent to a target device. In the invention, only one cache is applied and divided into a plurality of spaces, so that the flexibility of data processing is enhanced; and an FIFO memory which is originally arranged on an SRAM of an external device is arranged in a DMA, so that the SRAM of an internal chip of the external device is saved.

Description

technical field [0001] The invention relates to the audio field, in particular to an audio data transmission method and device based on IIS (Inter-IC Sound Bus, integrated circuit internal audio bus). Background technique [0002] In order to solve the problem of audio delay, a double buffer design is adopted in the prior art, and data is transmitted between the memory and the audio device through the double buffer. refer to figure 1 , figure 1 Schematic diagram of the existing audio system. The SRAM (Static Random Access Memory, static random access memory) of the audio device includes a FIFO (First In First Out) memory, and all audio devices share a DMA (Direct Memory Access, memory direct access). DMA refers to a high-speed data transfer operation that allows direct reading and writing of data between external devices and memory. When DMA processes audio files from one buffer area, CPU (Central Processing Unit, central processing unit) can process another buffer area....

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/28
Inventor 艾国
Owner VIMICRO 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