AS_lib


Functions

void KT_PlayMyMP3 (const char *name)
 Play a MP3.
void KT_PlayMyRaw (const char *name, u8 volume, u8 pan, u8 loop, u8 prio)
 Play a raw.
void KT_PlayMyVideo (char *filename, u8 screen, int speed, int enable_sound)
 Play a video (.EMC format). You must Init a 16bit BG before.

Detailed Description

Play MP3, raw, video...

Function Documentation

void KT_PlayMyMP3 ( const char *  name  ) 

Play a MP3.

Parameters:
name Name of the MP3 (ex : for "music.MP3", you should use : "music").

void KT_PlayMyRaw ( const char *  name,
u8  volume,
u8  pan,
u8  loop,
u8  prio 
)

Play a raw.

Parameters:
name Name of the raw (ex : for "music.raw", you should use : "music"). 1024 car max.
volume volume... (0 - 127).
pan pan (for stereo) (0 - 127).
loop loop : see AS_lib doc...
prio prio : see AS_lib doc...

void KT_PlayMyVideo ( char *  name,
u8  screen,
int  speed,
int  enable_sound 
)

Play a video (.EMC format). You must Init a 16bit BG before.

Parameters:
name Name of the video (ex : for "video.EMC", you should use : "video"). 1024 car max.
screen screen... (0-1)
speed with this param, you can change the speed of the video (not a lot) to sync video / sound...
enable_sound Play or not a sound with the video. (1 - Yes / 0 - No). Sound must be an MP3, with the same name as the video, and in the same folder. (ex : for "video.EMC", use "video.MP3")


Generated on Tue Aug 19 17:30:55 2008 for KT_Lib by  doxygen 1.5.6