play_mp3.h.bak

来自「An complete pmp solution for mattel juic」· BAK 代码 · 共 40 行

BAK
40
字号
/*
  Copyright (C) 2006 Andreas Schwarz <andreas@andreas-s.net>

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _PLAY_MP3_H_
#define _PLAY_MP3_H_

#include "ff.h"
#define dulFrameSize 2304
#define dulFrameNumber 32
#define dulFrameNumber2 33
typedef struct xTFrame
  {
  i16 a[dulFrameSize];
  } xTFrame;

i32 wMP3DecodeFrame(FIL *mp3file, i16 *iBuffer, u32 *ulBufferSize);
void wMP3Reset();
void wMP3Init(u08 *buffer, u32 buffer_size);
void wMP3Alloc();
void wMP3Free();

#endif /* _PLAY_MP3_H_ */

⌨️ 快捷键说明

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