org.jouvieje.fmodex
Class Init

java.lang.Object
  extended byorg.jouvieje.fmodex.Init

public class Init
extends java.lang.Object

Initialization of NativeFmodEx / FMOD Ex.
You should call Init.loadLibraries before using NativeFmodEx & FmodEx.


Field Summary
static boolean DEBUG
          Display errors when loading libraries
 
Method Summary
static boolean isLibrariesLoaded()
          You can use this method to know if all libraries needed for the INIT_MODES choosen.
static void loadLibraries()
          This is the first thing to do before trying to use FMOD Ex.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Display errors when loading libraries

Method Detail

loadLibraries

public static void loadLibraries()
                          throws InitException
This is the first thing to do before trying to use FMOD Ex.

This method loads all requiered libraries.
If all libraries are not loaded an exception occures. Then, you can decide what should be done.

This is equivalent to the call loadLibraries(INIT_MODES.INIT_DEFAULT).

If you want to use FMOD Designer, you will need to use :
   InitFmodDesigner.loadLibraries()

Throws:
InitException - exception that occures when all libraries are not properly loaded.
See Also:
#loadLibraries(int), org.jouvieje.FmodDesigner.InitFmodDesigner#loadLibraries(int), INIT_MODES

isLibrariesLoaded

public static boolean isLibrariesLoaded()
You can use this method to know if all libraries needed for the INIT_MODES choosen.

Returns:
true if all libraries requiered are loaded.


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)