Function InitMusicPlayer

From Uzebox Wiki
Revision as of 22:57, 4 March 2009 by Uze (talk | contribs) (New page: {{Function |prototype = void InitMusicPlayer(const struct PatchStruct *patchPointersParam); |description = Initializes the music engine and defines the patch set to use to play song and ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Prototype

void InitMusicPlayer(const struct PatchStruct *patchPointersParam);

Description

Initializes the music engine and defines the patch set to use to play song and sound effects. This function must be called before playing songs or effects.

Parameters
Returns

Void

Video Modes

All

Since

V1

Example:

#include "data/patches.inc"
#include "data/mariosong.inc"
...
InitMusicPlayer(mypatches);
StartSong(song_mario);