|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FMusicModule | |
---|---|
org.lwjgl.fmod3 | |
org.lwjgl.fmod3.callbacks |
Uses of FMusicModule in org.lwjgl.fmod3 |
---|
Methods in org.lwjgl.fmod3 that return FMusicModule | |
---|---|
static FMusicModule |
FMusic.FMUSIC_LoadSong(java.lang.String name)
To load a module or bank with a given filename. |
static FMusicModule |
FMusic.FMUSIC_LoadSongEx(java.nio.ByteBuffer data,
int mode,
java.nio.IntBuffer sampleList)
To load a module or bank with a given filename. |
static FMusicModule |
FMusic.FMUSIC_LoadSongEx(java.lang.String name,
int offset,
int length,
int mode,
java.nio.IntBuffer sampleList)
|
Methods in org.lwjgl.fmod3 with parameters of type FMusicModule | |
---|---|
static boolean |
FMusic.FMUSIC_FreeSong(FMusicModule module)
Frees memory allocated for a song and removes it from the FMUSIC system |
static int |
FMusic.FMUSIC_GetBPM(FMusicModule module)
Returns the song's current BPM. |
static int |
FMusic.FMUSIC_GetGlobalVolume(FMusicModule module)
Returns the song's current global volume Remarks GLOBAL volume is not the same as MASTER volume. |
static int |
FMusic.FMUSIC_GetMasterVolume(FMusicModule module)
Returns the song's current master volume |
static java.lang.String |
FMusic.FMUSIC_GetName(FMusicModule module)
Returns the name of the song set by the composer. |
static int |
FMusic.FMUSIC_GetNumChannels(FMusicModule module)
Returns the number of channels within this songs pattern data |
static int |
FMusic.FMUSIC_GetNumInstruments(FMusicModule module)
Returns the number of instruments contained in this song. |
static int |
FMusic.FMUSIC_GetNumOrders(FMusicModule module)
Returns the number of orders in this song |
static int |
FMusic.FMUSIC_GetNumPatterns(FMusicModule module)
Returns the number of patterns contained in this song. |
static int |
FMusic.FMUSIC_GetNumSamples(FMusicModule module)
Returns the number of samples contained in this song. |
static int |
FMusic.FMUSIC_GetOpenState(FMusicModule module)
If a mod is opened with FSOUND_NONBLOCKING, this function returns the state of the opening mod. |
static int |
FMusic.FMUSIC_GetOrder(FMusicModule module)
Returns the song's current order number |
static int |
FMusic.FMUSIC_GetPattern(FMusicModule module)
Returns the song's current pattern number |
static int |
FMusic.FMUSIC_GetPatternLength(FMusicModule module,
int orderno)
Returns the the length in rows of the pattern for the specified order number |
static boolean |
FMusic.FMUSIC_GetPaused(FMusicModule module)
Returns whether song is currently paused or not |
static int |
FMusic.FMUSIC_GetRealChannel(FMusicModule module,
int modchannel)
Returns the real FSOUND channel playing based on the mod's FMUSIC channel Remarks Note FMUSIC mod playback only allocates a real channel on a mod channel the first time an instrument is played. |
static int |
FMusic.FMUSIC_GetRow(FMusicModule module)
Returns the song's current row number Remarks This value is latency adjusted by default, and returns the number you are hearing, not the 'mix-time' value. |
static FSoundSample |
FMusic.FMUSIC_GetSample(FMusicModule module,
int sampno)
Returns a reference to a sample inside a module. |
static int |
FMusic.FMUSIC_GetSpeed(FMusicModule module)
Returns the song's current speed. |
static int |
FMusic.FMUSIC_GetTime(FMusicModule module)
Returns the time in milliseconds since the song was started. |
static int |
FMusic.FMUSIC_GetType(FMusicModule module)
Returns the format type a song |
static java.nio.ByteBuffer |
FMusic.FMUSIC_GetUserData(FMusicModule module,
int capacity)
Retrieves the data set by FMUSIC_SetUserData |
static boolean |
FMusic.FMUSIC_IsFinished(FMusicModule module)
Returns whether the song has completed playing, or when the last order has finished playing. |
static boolean |
FMusic.FMUSIC_IsPlaying(FMusicModule module)
Returns whether the song is currently playing or not. |
static boolean |
FMusic.FMUSIC_OptimizeChannels(FMusicModule module,
int maxchannels,
int minvolume)
This function helps with channel usage. |
static boolean |
FMusic.FMUSIC_PlaySong(FMusicModule module)
Starts a song playing |
static boolean |
FMusic.FMUSIC_SetInstCallback(FMusicModule module,
FMusicCallback callback,
int instrument)
Sets a user callback to occur every time a instrument is played, triggered from a MOD, S3M, XM or IT file. |
static boolean |
FMusic.FMUSIC_SetLooping(FMusicModule module,
boolean looping)
Sets looping mode for midi and mod files Remarks Defaults to TRUE. |
static boolean |
FMusic.FMUSIC_SetMasterSpeed(FMusicModule module,
float speed)
Sets a songs master speed scale, so that the song can be sped up or slowed down. |
static boolean |
FMusic.FMUSIC_SetMasterVolume(FMusicModule module,
int volume)
Sets a songs master volume. |
static boolean |
FMusic.FMUSIC_SetOrder(FMusicModule module,
int order)
Sets a songs order position / current playing position. |
static boolean |
FMusic.FMUSIC_SetOrderCallback(FMusicModule module,
FMusicCallback callback,
int orderstep)
Sets a user callback to occur on every order divisible by the orderstep parameter, played from a MOD, S3M, XM or IT file Remarks It is important to note that this callback will be called from directly WITHIN the mixer / music update thread, therefore it is imperative that whatever you do from this callback be extremely efficient. |
static boolean |
FMusic.FMUSIC_SetPanSeperation(FMusicModule module,
float pansep)
Sets the master pan seperation for a module |
static boolean |
FMusic.FMUSIC_SetPaused(FMusicModule module,
boolean pause)
Pauses a song |
static boolean |
FMusic.FMUSIC_SetRowCallback(FMusicModule module,
FMusicCallback callback,
int rowstep)
Sets a user callback to occur on every row divisible by the rowstep parameter, played from a MOD, S3M, XM or IT file. |
static boolean |
FMusic.FMUSIC_SetSample(FMusicModule module,
int sampno,
FSoundSample sptr)
Replaces a mod's sample with a sample definition specified. |
static boolean |
FMusic.FMUSIC_SetUserData(FMusicModule module,
java.nio.ByteBuffer userdata)
Sets a user defined value to store with the music file to be retrieved later. |
static boolean |
FMusic.FMUSIC_SetZxxCallback(FMusicModule module,
FMusicCallback callback)
Sets a user callback for any Zxx commands encountered in an S3M, XM or IT file. |
static boolean |
FMusic.FMUSIC_StopSong(FMusicModule module)
Stops a song from playing. |
Uses of FMusicModule in org.lwjgl.fmod3.callbacks |
---|
Methods in org.lwjgl.fmod3.callbacks with parameters of type FMusicModule | |
---|---|
void |
FMusicCallback.FMUSIC_CALLBACK(FMusicModule module,
int param)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |