|
|||||||||||||||||||||||||||||||
You are here: Software » embedded MP2 audio decoder |
|||||||||||||||||||||||||||||||
|
Embedded MP2 decoder
Full Description MP2 Decoder is a high-quality MPEG-1 Layer II decoder optimised with integer arithmetic for Embedded Applications. The library was originally developed for a DVD playback system running on a c6000 DSP from Ti. Embedded MP2 Audio decoder Application Programming Interface 1. void init_mp2decoder ( ) This function needs to be called before using the MP2 Audio Decoder 2. int decode_audio(unsigned char *audioBuf, int iNumBytes); This function decoded MPEG-1 Layer II data and produce PCM output internally. Parameters: audioBuf - MPEG-1 Layer II data buffer iNumBytes - Number of bytes in the buffer Return Value: 1 successful 0 error Note: Decoded PCM samples will be saved to a global buffer called pcm_data which is defined as follows. unsigned short pcm_data[5376]; |
||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Phone: +44 (0) 1773 537631
Fax: +44 (0) 1773 537621
Email: sales@race-technology.com
|