org.jouvieje.fmoddesigner
Class MusicSystem

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmoddesigner.MusicSystem

public class MusicSystem
extends Pointer

'MusicSystem' API


Constructor Summary
MusicSystem()
           
 
Method Summary
static MusicSystem[] allocate(int length)
          Allocate and initialize a new MusicSystem[].
static MusicSystem asMusicSystem(Pointer pointer)
          Create a view of the Pointer object as a MusicSystem object.
 FMOD_RESULT freeSoundData(boolean waituntilready)
           
 FMOD_RESULT getCues(FMOD_MUSIC_ITERATOR it, java.lang.String filter)
           
 FMOD_RESULT getInfo(FMOD_MUSIC_INFO info)
           
 FMOD_RESULT getMemoryInfo(int memorybits, int event_memorybits, java.nio.IntBuffer memoryused, FMOD_MEMORY_USAGE_DETAILS memoryused_details)
           
 FMOD_RESULT getMute(java.nio.ByteBuffer mute)
           
 FMOD_RESULT getNextCue(FMOD_MUSIC_ITERATOR it)
           
 FMOD_RESULT getNextParameter(FMOD_MUSIC_ITERATOR it)
           
 FMOD_RESULT getParameters(FMOD_MUSIC_ITERATOR it, java.lang.String filter)
           
 FMOD_RESULT getParameterValue(int id, java.nio.FloatBuffer parameter)
           
 FMOD_RESULT getPaused(java.nio.ByteBuffer paused)
           
 FMOD_RESULT getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)
           
 FMOD_RESULT getVolume(java.nio.FloatBuffer volume)
           
 FMOD_RESULT loadSoundData(FMOD_EVENT_RESOURCE resource, int mode)
           
 FMOD_RESULT prepareCue(int id, MusicPrompt prompt)
           
 FMOD_RESULT promptCue(int id)
           
 FMOD_RESULT reset()
           
 FMOD_RESULT setCallback(FMOD_MUSIC_CALLBACK callback, Pointer userdata)
           
 FMOD_RESULT setMute(boolean mute)
           
 FMOD_RESULT setParameterValue(int id, float parameter)
           
 FMOD_RESULT setPaused(boolean paused)
           
 FMOD_RESULT setReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)
           
 FMOD_RESULT setVolume(float volume)
           
 
Methods inherited from class org.jouvieje.fmodex.utils.Pointer
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MusicSystem

public MusicSystem()
Method Detail

asMusicSystem

public static MusicSystem asMusicSystem(Pointer pointer)
Create a view of the Pointer object as a MusicSystem object.
This view is valid only if the memory holded by the Pointer holds a MusicSystem object.


allocate

public static MusicSystem[] allocate(int length)
Allocate and initialize a new MusicSystem[].

Parameters:
length - length of the array returned.

reset

public FMOD_RESULT reset()

setVolume

public FMOD_RESULT setVolume(float volume)

getVolume

public FMOD_RESULT getVolume(java.nio.FloatBuffer volume)

setReverbProperties

public FMOD_RESULT setReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)

getReverbProperties

public FMOD_RESULT getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)

setPaused

public FMOD_RESULT setPaused(boolean paused)

getPaused

public FMOD_RESULT getPaused(java.nio.ByteBuffer paused)

setMute

public FMOD_RESULT setMute(boolean mute)

getMute

public FMOD_RESULT getMute(java.nio.ByteBuffer mute)

getInfo

public FMOD_RESULT getInfo(FMOD_MUSIC_INFO info)

promptCue

public FMOD_RESULT promptCue(int id)

prepareCue

public FMOD_RESULT prepareCue(int id,
                              MusicPrompt prompt)

getParameterValue

public FMOD_RESULT getParameterValue(int id,
                                     java.nio.FloatBuffer parameter)

setParameterValue

public FMOD_RESULT setParameterValue(int id,
                                     float parameter)

getCues

public FMOD_RESULT getCues(FMOD_MUSIC_ITERATOR it,
                           java.lang.String filter)

getNextCue

public FMOD_RESULT getNextCue(FMOD_MUSIC_ITERATOR it)

getParameters

public FMOD_RESULT getParameters(FMOD_MUSIC_ITERATOR it,
                                 java.lang.String filter)

getNextParameter

public FMOD_RESULT getNextParameter(FMOD_MUSIC_ITERATOR it)

loadSoundData

public FMOD_RESULT loadSoundData(FMOD_EVENT_RESOURCE resource,
                                 int mode)

freeSoundData

public FMOD_RESULT freeSoundData(boolean waituntilready)

setCallback

public FMOD_RESULT setCallback(FMOD_MUSIC_CALLBACK callback,
                               Pointer userdata)

getMemoryInfo

public FMOD_RESULT getMemoryInfo(int memorybits,
                                 int event_memorybits,
                                 java.nio.IntBuffer memoryused,
                                 FMOD_MEMORY_USAGE_DETAILS memoryused_details)


NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/

(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)