Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.575 kb
#ifndef __MP3PLAYER_H__
#define __MP3PLAYER_H__
#include <mad/mad.h>
#include <gctypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
void MP3Player_Init();
void MP3Player_Stop();
BOOL MP3Player_IsPlaying();
s32 MP3Player_PlayBuffer(const void *buffer,s32 len,void (*filterfunc)(struct mad_stream *,struct mad_frame *));
s32 MP3Player_PlayFile(void *cb_data,s32 (*reader)(void *,void *,s32),void (*filterfunc)(struct mad_stream *,struct mad_frame *));
void MP3Player_Volume(u32 volume); // 0 to 255
#ifdef __cplusplus
#endif /* __cplusplus */
Jump to Line
Something went wrong with that request. Please try again.