org.jouvieje.fmoddesigner
Class EventSystem

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

public class EventSystem
extends Pointer

'EventSystem' API


Constructor Summary
EventSystem()
           
 
Method Summary
static EventSystem asEventSystem(Pointer pointer)
          Create a view of the Pointer object as a EventSystem object.
 FMOD_RESULT createEventQueue(EventQueue queue)
           
 FMOD_RESULT createEventQueueEntry(Event event, EventQueueEntry entry)
           
 FMOD_RESULT createReverb(EventReverb reverb)
           
 FMOD_RESULT get3DListenerAttributes(int listener, FMOD_VECTOR pos, FMOD_VECTOR vel, FMOD_VECTOR forward, FMOD_VECTOR up)
           
 FMOD_RESULT get3DNumListeners(java.nio.IntBuffer numlisteners)
           
 FMOD_RESULT getCategory(java.lang.String name, EventCategory category)
           
 FMOD_RESULT getCategoryByIndex(int index, EventCategory category)
           
 FMOD_RESULT getEvent(java.lang.String name, int mode, Event event)
           
 FMOD_RESULT getEventByGUID(FMOD_GUID guid, int mode, Event event)
           
 FMOD_RESULT getEventByGUIDString(java.lang.String guid, int mode, Event event)
           
 FMOD_RESULT getEventBySystemID(int systemid, int mode, Event event)
           
 FMOD_RESULT getGroup(java.lang.String name, boolean cacheevents, EventGroup group)
           
 FMOD_RESULT getInfo(FMOD_EVENT_SYSTEMINFO info)
           
 FMOD_RESULT getMemoryInfo(int memorybits, int event_memorybits, java.nio.IntBuffer memoryused, FMOD_MEMORY_USAGE_DETAILS memoryused_details)
           
 FMOD_RESULT getMusicCategory(EventCategory category)
           
 FMOD_RESULT getMusicSystem(MusicSystem musicsystem)
           
 FMOD_RESULT getNumCategories(java.nio.IntBuffer numcategories)
           
 FMOD_RESULT getNumEvents(java.nio.IntBuffer numevents)
           
 FMOD_RESULT getNumProjects(java.nio.IntBuffer numprojects)
           
 FMOD_RESULT getNumReverbPresets(java.nio.IntBuffer numpresets)
           
 FMOD_RESULT getProject(java.lang.String name, EventProject project)
           
 FMOD_RESULT getProjectByIndex(int index, EventProject project)
           
 FMOD_RESULT getReverbAmbientProperties(FMOD_REVERB_PROPERTIES props)
           
 FMOD_RESULT getReverbPreset(java.lang.String name, FMOD_REVERB_PROPERTIES props, java.nio.IntBuffer index)
           
 FMOD_RESULT getReverbPresetByIndex(int index, FMOD_REVERB_PROPERTIES props, Pointer name)
           
 FMOD_RESULT getReverbProperties(FMOD_REVERB_PROPERTIES props)
           
 FMOD_RESULT getSystemObject(System system)
           
 FMOD_RESULT getUserData(Pointer userdata)
           
 FMOD_RESULT getVersion(java.nio.IntBuffer version)
           
 FMOD_RESULT init(int maxchannels, int flags, Pointer extradriverdata, int eventflags)
           
 FMOD_RESULT load(java.nio.ByteBuffer name_or_data, FMOD_EVENT_LOADINFO loadinfo, EventProject project)
           
 FMOD_RESULT load(java.lang.String name_or_data, FMOD_EVENT_LOADINFO loadinfo, EventProject project)
           
 FMOD_RESULT preloadFSB(java.lang.String filename, int streaminstance, Sound sound)
           
 FMOD_RESULT release()
           
 FMOD_RESULT set3DListenerAttributes(int listener, FMOD_VECTOR pos, FMOD_VECTOR vel, FMOD_VECTOR forward, FMOD_VECTOR up)
           
 FMOD_RESULT set3DNumListeners(int numlisteners)
           
 FMOD_RESULT setMediaPath(java.lang.String path)
           
 FMOD_RESULT setPluginPath(java.lang.String path)
           
 FMOD_RESULT setReverbAmbientProperties(FMOD_REVERB_PROPERTIES props)
           
 FMOD_RESULT setReverbProperties(FMOD_REVERB_PROPERTIES props)
           
 FMOD_RESULT setUserData(Pointer userdata)
           
 FMOD_RESULT unload()
           
 FMOD_RESULT unloadFSB(java.lang.String filename, int streaminstance)
           
 FMOD_RESULT update()
           
 
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

EventSystem

public EventSystem()
Method Detail

asEventSystem

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


init

public FMOD_RESULT init(int maxchannels,
                        int flags,
                        Pointer extradriverdata,
                        int eventflags)

release

public FMOD_RESULT release()

update

public FMOD_RESULT update()

setMediaPath

public FMOD_RESULT setMediaPath(java.lang.String path)

setPluginPath

public FMOD_RESULT setPluginPath(java.lang.String path)

getVersion

public FMOD_RESULT getVersion(java.nio.IntBuffer version)

getInfo

public FMOD_RESULT getInfo(FMOD_EVENT_SYSTEMINFO info)

getSystemObject

public FMOD_RESULT getSystemObject(System system)

getMusicSystem

public FMOD_RESULT getMusicSystem(MusicSystem musicsystem)

load

public FMOD_RESULT load(java.lang.String name_or_data,
                        FMOD_EVENT_LOADINFO loadinfo,
                        EventProject project)

load

public FMOD_RESULT load(java.nio.ByteBuffer name_or_data,
                        FMOD_EVENT_LOADINFO loadinfo,
                        EventProject project)

unload

public FMOD_RESULT unload()

getProject

public FMOD_RESULT getProject(java.lang.String name,
                              EventProject project)

getProjectByIndex

public FMOD_RESULT getProjectByIndex(int index,
                                     EventProject project)

getNumProjects

public FMOD_RESULT getNumProjects(java.nio.IntBuffer numprojects)

getCategory

public FMOD_RESULT getCategory(java.lang.String name,
                               EventCategory category)

getCategoryByIndex

public FMOD_RESULT getCategoryByIndex(int index,
                                      EventCategory category)

getMusicCategory

public FMOD_RESULT getMusicCategory(EventCategory category)

getNumCategories

public FMOD_RESULT getNumCategories(java.nio.IntBuffer numcategories)

getGroup

public FMOD_RESULT getGroup(java.lang.String name,
                            boolean cacheevents,
                            EventGroup group)

getEvent

public FMOD_RESULT getEvent(java.lang.String name,
                            int mode,
                            Event event)

getEventBySystemID

public FMOD_RESULT getEventBySystemID(int systemid,
                                      int mode,
                                      Event event)

getEventByGUID

public FMOD_RESULT getEventByGUID(FMOD_GUID guid,
                                  int mode,
                                  Event event)

getEventByGUIDString

public FMOD_RESULT getEventByGUIDString(java.lang.String guid,
                                        int mode,
                                        Event event)

getNumEvents

public FMOD_RESULT getNumEvents(java.nio.IntBuffer numevents)

setReverbProperties

public FMOD_RESULT setReverbProperties(FMOD_REVERB_PROPERTIES props)

getReverbProperties

public FMOD_RESULT getReverbProperties(FMOD_REVERB_PROPERTIES props)

getReverbPreset

public FMOD_RESULT getReverbPreset(java.lang.String name,
                                   FMOD_REVERB_PROPERTIES props,
                                   java.nio.IntBuffer index)

getReverbPresetByIndex

public FMOD_RESULT getReverbPresetByIndex(int index,
                                          FMOD_REVERB_PROPERTIES props,
                                          Pointer name)

getNumReverbPresets

public FMOD_RESULT getNumReverbPresets(java.nio.IntBuffer numpresets)

createReverb

public FMOD_RESULT createReverb(EventReverb reverb)

setReverbAmbientProperties

public FMOD_RESULT setReverbAmbientProperties(FMOD_REVERB_PROPERTIES props)

getReverbAmbientProperties

public FMOD_RESULT getReverbAmbientProperties(FMOD_REVERB_PROPERTIES props)

createEventQueue

public FMOD_RESULT createEventQueue(EventQueue queue)

createEventQueueEntry

public FMOD_RESULT createEventQueueEntry(Event event,
                                         EventQueueEntry entry)

set3DNumListeners

public FMOD_RESULT set3DNumListeners(int numlisteners)

get3DNumListeners

public FMOD_RESULT get3DNumListeners(java.nio.IntBuffer numlisteners)

set3DListenerAttributes

public FMOD_RESULT set3DListenerAttributes(int listener,
                                           FMOD_VECTOR pos,
                                           FMOD_VECTOR vel,
                                           FMOD_VECTOR forward,
                                           FMOD_VECTOR up)

get3DListenerAttributes

public FMOD_RESULT get3DListenerAttributes(int listener,
                                           FMOD_VECTOR pos,
                                           FMOD_VECTOR vel,
                                           FMOD_VECTOR forward,
                                           FMOD_VECTOR up)

setUserData

public FMOD_RESULT setUserData(Pointer userdata)

getUserData

public FMOD_RESULT getUserData(Pointer userdata)

preloadFSB

public FMOD_RESULT preloadFSB(java.lang.String filename,
                              int streaminstance,
                              Sound sound)

unloadFSB

public FMOD_RESULT unloadFSB(java.lang.String filename,
                             int streaminstance)

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)