⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mp3dec.h

📁 本程序为ST公司开发的源代码
💻 H
字号:
/* * $Copyright:  * ---------------------------------------------------------------- * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited *   (C) COPYRIGHT 2002 ARM Limited *       ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * by a licensing agreement from ARM Limited. * ---------------------------------------------------------------- * File:     mp3dec.h,v * Revision: 1.2 * ---------------------------------------------------------------- * $ */ #ifndef _MP3_COMMON_API_#define _MP3_COMMON_API_ #include "audiodec.h" #ifdef __cplusplusextern "C" {#endif#ifdef __ARMCC_VERSION/* ARM compiler */__weak const AudioDecoder MP3DecoderHPQ;__weak const AudioDecoder MP3DecoderXP;#else/* GCC */AudioDecoder MP3DecoderHPQ __attribute__((weak));AudioDecoder MP3DecoderXP __attribute__((weak));#endif/* * Use function names directly in ROPI builds. * See the common audio API document for details. */eDecoderStatus MP3DecoderRequirements ( oDecoderReference decoderReference,                                        sDecoderRequirements *requirements,                                         sDecoderFormats *formats );oDecoderHandle MP3DecoderCreate ( oDecoderReference decoderReference,                                  void *state,                                  void *scratch,                                  const sDecoderFormats *formats );eDecoderStatus MP3DecoderOpenBitstream ( oDecoderHandle handle,                                         void *scratch,                                         sDecoderBitstream *bitstream,                                         const sDecoderFormats *formats );eDecoderStatus MP3DecodeHeader( oDecoderHandle handle,                                void *scratch,                                sDecoderBitstream *bitstream);eDecoderStatus MP3DecodeFrame ( oDecoderHandle handle,                                void *scratch,                                sDecoderOutput *output,                                sDecoderBitstream  *bitstream                               );                               eDecoderStatus MP3BitstreamSeekBytes( int                bytesToSkip,                                      oDecoderHandle     handle,                                      void               *scratch,                                      sDecoderBitstream  *bitstream                                    );                                    eDecoderStatus MP3BitstreamSeekTime( int                timeToSkip,                                     oDecoderHandle     handle,                                     void               *scratch,                                     sDecoderBitstream  *bitstream                                   );                                   eDecoderStatus MP3DecoderCloseBitstream ( oDecoderHandle handle,                                          void *scratch                                         );                                        eDecoderStatus MP3DecoderDestroy ( oDecoderHandle handle,                                   void *scratch                                  );        #ifdef __cplusplus}#endif#endif /* _MP3_COMMON_API_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -