org.jouvieje.fmoddesigner
Class Event

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

public class Event
extends Pointer

'Event' API


Constructor Summary
Event()
           
 
Method Summary
static Event[] allocate(int length)
          Allocate and initialize a new Event[].
static Event asEvent(Pointer pointer)
          Create a view of the Pointer object as a Event object.
 FMOD_RESULT get3DAttributes(FMOD_VECTOR position, FMOD_VECTOR velocity, FMOD_VECTOR orientation)
           
 FMOD_RESULT get3DOcclusion(java.nio.FloatBuffer directocclusion, java.nio.FloatBuffer reverbocclusion)
           
 FMOD_RESULT getCategory(EventCategory category)
           
 FMOD_RESULT getChannelGroup(ChannelGroup channelgroup)
           
 FMOD_RESULT getInfo(java.nio.IntBuffer index, Pointer name, FMOD_EVENT_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 getNumParameters(java.nio.IntBuffer numparameters)
           
 FMOD_RESULT getNumProperties(java.nio.IntBuffer numproperties)
           
 FMOD_RESULT getParameter(java.lang.String name, EventParameter parameter)
           
 FMOD_RESULT getParameterByIndex(int index, EventParameter parameter)
           
 FMOD_RESULT getParentGroup(EventGroup group)
           
 FMOD_RESULT getPaused(java.nio.ByteBuffer paused)
           
 FMOD_RESULT getPitch(java.nio.FloatBuffer pitch, FMOD_EVENT_PITCHUNITS units)
           
 FMOD_RESULT getProperty(java.lang.String propertyname, Pointer value, boolean this_instance)
           
 FMOD_RESULT getPropertyByIndex(int propertyindex, Pointer value, boolean this_instance)
           
 FMOD_RESULT getPropertyInfo(java.nio.IntBuffer propertyindex, Pointer propertyname, FMOD_EVENTPROPERTY_TYPE[] type)
           
 FMOD_RESULT getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)
           
 FMOD_RESULT getState(java.nio.IntBuffer state)
           
 FMOD_RESULT getUserData(Pointer userdata)
           
 FMOD_RESULT getVolume(java.nio.FloatBuffer volume)
           
 FMOD_RESULT release(boolean freeeventdata, boolean waituntilready)
           
 FMOD_RESULT set3DAttributes(FMOD_VECTOR position, FMOD_VECTOR velocity, FMOD_VECTOR orientation)
           
 FMOD_RESULT set3DOcclusion(float directocclusion, float reverbocclusion)
           
 FMOD_RESULT setCallback(FMOD_EVENT_CALLBACK callback, Pointer userdata)
           
 FMOD_RESULT setMute(boolean mute)
           
 FMOD_RESULT setPaused(boolean paused)
           
 FMOD_RESULT setPitch(float pitch, FMOD_EVENT_PITCHUNITS units)
           
 FMOD_RESULT setProperty(java.lang.String propertyname, Pointer value, boolean this_instance)
           
 FMOD_RESULT setPropertyByIndex(int propertyindex, Pointer value, boolean this_instance)
           
 FMOD_RESULT setReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)
           
 FMOD_RESULT setUserData(Pointer userdata)
           
 FMOD_RESULT setVolume(float volume)
           
 FMOD_RESULT start()
           
 FMOD_RESULT stop(boolean immediate)
           
 
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

Event

public Event()
Method Detail

asEvent

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


allocate

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

Parameters:
length - length of the array returned.

release

public FMOD_RESULT release(boolean freeeventdata,
                           boolean waituntilready)

start

public FMOD_RESULT start()

stop

public FMOD_RESULT stop(boolean immediate)

getInfo

public FMOD_RESULT getInfo(java.nio.IntBuffer index,
                           Pointer name,
                           FMOD_EVENT_INFO info)

getState

public FMOD_RESULT getState(java.nio.IntBuffer state)

getParentGroup

public FMOD_RESULT getParentGroup(EventGroup group)

getChannelGroup

public FMOD_RESULT getChannelGroup(ChannelGroup channelgroup)

setCallback

public FMOD_RESULT setCallback(FMOD_EVENT_CALLBACK callback,
                               Pointer userdata)

getParameter

public FMOD_RESULT getParameter(java.lang.String name,
                                EventParameter parameter)

getParameterByIndex

public FMOD_RESULT getParameterByIndex(int index,
                                       EventParameter parameter)

getNumParameters

public FMOD_RESULT getNumParameters(java.nio.IntBuffer numparameters)

getProperty

public FMOD_RESULT getProperty(java.lang.String propertyname,
                               Pointer value,
                               boolean this_instance)

getPropertyByIndex

public FMOD_RESULT getPropertyByIndex(int propertyindex,
                                      Pointer value,
                                      boolean this_instance)

setProperty

public FMOD_RESULT setProperty(java.lang.String propertyname,
                               Pointer value,
                               boolean this_instance)

setPropertyByIndex

public FMOD_RESULT setPropertyByIndex(int propertyindex,
                                      Pointer value,
                                      boolean this_instance)

getNumProperties

public FMOD_RESULT getNumProperties(java.nio.IntBuffer numproperties)

getPropertyInfo

public FMOD_RESULT getPropertyInfo(java.nio.IntBuffer propertyindex,
                                   Pointer propertyname,
                                   FMOD_EVENTPROPERTY_TYPE[] type)

getCategory

public FMOD_RESULT getCategory(EventCategory category)

setVolume

public FMOD_RESULT setVolume(float volume)

getVolume

public FMOD_RESULT getVolume(java.nio.FloatBuffer volume)

setPitch

public FMOD_RESULT setPitch(float pitch,
                            FMOD_EVENT_PITCHUNITS units)

getPitch

public FMOD_RESULT getPitch(java.nio.FloatBuffer pitch,
                            FMOD_EVENT_PITCHUNITS units)

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)

set3DAttributes

public FMOD_RESULT set3DAttributes(FMOD_VECTOR position,
                                   FMOD_VECTOR velocity,
                                   FMOD_VECTOR orientation)

get3DAttributes

public FMOD_RESULT get3DAttributes(FMOD_VECTOR position,
                                   FMOD_VECTOR velocity,
                                   FMOD_VECTOR orientation)

set3DOcclusion

public FMOD_RESULT set3DOcclusion(float directocclusion,
                                  float reverbocclusion)

get3DOcclusion

public FMOD_RESULT get3DOcclusion(java.nio.FloatBuffer directocclusion,
                                  java.nio.FloatBuffer reverbocclusion)

setReverbProperties

public FMOD_RESULT setReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)

getReverbProperties

public FMOD_RESULT getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES props)

setUserData

public FMOD_RESULT setUserData(Pointer userdata)

getUserData

public FMOD_RESULT getUserData(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)