async net init (dhewg)
[libogc.git] / gc / mp3player.h
blobbec666fc1d28fe4e09f0ec2f511292564ac7c81d
1 #ifndef __MP3PLAYER_H__
2 #define __MP3PLAYER_H__
4 #include <mad.h>
5 #include <gctypes.h>
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* __cplusplus */
11 void MP3Player_Init();
12 void MP3Player_Stop();
13 BOOL MP3Player_IsPlaying();
14 void MP3Player_Volume(u32 volume);
15 s32 MP3Player_PlayBuffer(const void *buffer,s32 len,void (*filterfunc)(struct mad_stream *,struct mad_frame *));
16 s32 MP3Player_PlayFile(void *cb_data,s32 (*reader)(void *,void *,s32),void (*filterfunc)(struct mad_stream *,struct mad_frame *));
18 #ifdef __cplusplus
20 #endif /* __cplusplus */
22 #endif