|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MixMusic | |
---|---|
sdljava.mixer | Provides all the functions which are defined in the SDL_mixer.h header |
Uses of MixMusic in sdljava.mixer |
---|
Methods in sdljava.mixer that return MixMusic | |
---|---|
static MixMusic |
SDLMixer.loadMUS(byte[] data)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.nio.ByteBuffer buf)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.io.InputStream in)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.lang.String path)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.net.URL url)
Load music file to use. |
Methods in sdljava.mixer with parameters of type MixMusic | |
---|---|
static void |
SDLMixer.fadeInMusic(MixMusic music,
int loops,
int ms)
Fade in over ms milliseconds of time, the loaded music, playing it loop times through from start to finish. |
static void |
SDLMixer.fadeInMusicPos(MixMusic music,
int loops,
int ms,
double position)
Fade in over ms milliseconds of time, the loaded music, playing it loop times through from start to finish. |
static void |
SDLMixer.freeMusic(MixMusic music)
Free the loaded music. |
static Mix_MusicType |
SDLMixer.getMusicType(MixMusic music)
Tells you the file format encoding of the music. |
static void |
SDLMixer.playMusic(MixMusic music,
int loops)
Play the loaded music loop times through from start to finish. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |